Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2006-02-21 23:48:30 +0300
committerJunio C Hamano <junkio@cox.net>2006-02-22 05:37:36 +0300
commitc8af25ca0157146de59b992c1f961f1af8465995 (patch)
treef5d8bcaea15f8dbd89b82c9ba5187a0e9bf0a50c /ls-files.c
parentd0080b3cdab3a309385ad3fb3b4d2f6a08212985 (diff)
git-ls-files: Fix, document, and add test for --error-unmatch option.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'ls-files.c')
-rw-r--r--ls-files.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ls-files.c b/ls-files.c
index df93cf2263..27059e204d 100644
--- a/ls-files.c
+++ b/ls-files.c
@@ -758,6 +758,7 @@ int main(int argc, const char **argv)
continue;
error("pathspec '%s' did not match any.",
pathspec[num] + prefix_offset);
+ errors++;
}
return errors ? 1 : 0;
}