Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
clone: fix progress-regression
[gitweb.git]
/
builtin
/
commit.c
diff --git
a/builtin/commit.c
b/builtin/commit.c
index e1af9b19f0be71484ae9341762dc2bf89cabb70c..9679a99f9902583094ddc1e31d44d119203482a9 100644
(file)
--- 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)