summaryrefslogtreecommitdiff
path: root/src/checkout.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-06-25 12:48:44 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2015-06-25 12:48:44 +0200
commitc2418f461374a618504c261a4c71cdb01bab9f68 (patch)
treebd608906dc1244c19de052166ee6931abb2f9c98 /src/checkout.c
parentdaacf96d101b9d2100a5028090b5af5249d8893d (diff)
downloadlibgit2-cmn/rename-unspecified.tar.gz
Rename FALLBACK to UNSPECIFIEDcmn/rename-unspecified
Fallback describes the mechanism, while unspecified explains what the user is thinking.
Diffstat (limited to 'src/checkout.c')
-rw-r--r--src/checkout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/checkout.c b/src/checkout.c
index 351e8b0ef..a94d509d3 100644
--- a/src/checkout.c
+++ b/src/checkout.c
@@ -180,7 +180,7 @@ static bool checkout_is_workdir_modified(
return true;
}
- if (git_submodule_status(&sm_status, data->repo, wditem->path, GIT_SUBMODULE_IGNORE_FALLBACK) < 0 ||
+ if (git_submodule_status(&sm_status, data->repo, wditem->path, GIT_SUBMODULE_IGNORE_UNSPECIFIED) < 0 ||
GIT_SUBMODULE_STATUS_IS_WD_DIRTY(sm_status))
rval = true;
else if ((sm_oid = git_submodule_wd_id(sm)) == NULL)