diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-09-23 14:30:49 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-09-23 14:30:49 -0700 |
commit | a0b1cb60ab296476084b3d4766a943e2d62719b8 (patch) | |
tree | 76ae24f6eb6c2c7488e0c9ae7851ae378d614c3d /builtin/commit.c | |
parent | 85b3c75f4fd3aa4da976bac702827dc8d7d1bf15 (diff) | |
parent | 385ceec1cb46f8a476fa11ffc853dedba512fd52 (diff) | |
download | git-a0b1cb60ab296476084b3d4766a943e2d62719b8.tar.gz |
Merge branch 'cb/maint-ls-files-error-report' into maint
* cb/maint-ls-files-error-report:
t3005: do not assume a particular order of stdout and stderr of git-ls-files
ls-files: fix pathspec display on error
Diffstat (limited to 'builtin/commit.c')
-rw-r--r-- | builtin/commit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/commit.c b/builtin/commit.c index e1af9b19f0..9679a99f99 100644 --- a/builtin/commit.c +++ b/builtin/commit.c @@ -272,7 +272,7 @@ static int list_paths(struct string_list *list, const char *with_tree, item->util = item; /* better a valid pointer than a fake one */ } - return report_path_error(m, pattern, prefix ? strlen(prefix) : 0); + return report_path_error(m, pattern, prefix); } static void add_remove_files(struct string_list *list) |