Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jn/maint-test-return'
[gitweb.git]
/
builtin
/
commit.c
diff --git
a/builtin/commit.c
b/builtin/commit.c
index cb738574f729e91ff239f12db3f3f1ef1ef9570c..776fa81f7484e2bc54651006097f52e0e0f740a8 100644
(file)
--- a/
builtin/commit.c
+++ b/
builtin/commit.c
@@
-274,7
+274,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)