aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git-parse-remote.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-02-14 12:40:20 -0800
committerJunio C Hamano <junkio@cox.net>2006-02-14 14:48:22 -0800
commitbba319b5cecacaccef85ce3c4cf9e3593532e328 (patch)
treee9b0fd57d6793b381b3208084212c282545fa682 /Documentation/git-parse-remote.txt
parent9ece7169a434d69a942b71dc49f507da37bbdbc3 (diff)
downloadgit-bba319b5cecacaccef85ce3c4cf9e3593532e328.tar.gz
git-bba319b5cecacaccef85ce3c4cf9e3593532e328.tar.xz
commit: detect misspelled pathspec while making a partial commit.
When you say "git commit Documentaiton" to make partial commit for the files only in that directory, we did not detect that as a misspelled pathname and attempted to commit index without change. If nothing matched, there is no harm done, but if the index gets modified otherwise by having another valid pathspec or after an explicit update-index, a user will not notice without paying attention to the "git status" preview. This introduces --error-unmatch option to ls-files, and uses it to detect this common user error. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-parse-remote.txt')
0 files changed, 0 insertions, 0 deletions