Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-mv: succeed even if source is a prefix of destination
[gitweb.git]
/
builtin-help.c
diff --git
a/builtin-help.c
b/builtin-help.c
index 7a7f7759e592208b4604b6987bce8be46c936882..6484cb9df2651de7430ee608ef7d14a4d3ac4c99 100644
(file)
--- a/
builtin-help.c
+++ b/
builtin-help.c
@@
-140,7
+140,7
@@
static void list_commands(const char *exec_path, const char *pattern)
continue;
entlen = strlen(de->d_name);
- if (has_extension(de->d_name,
entlen,
".exe"))
+ if (has_extension(de->d_name, ".exe"))
entlen -= 4;
if (longest < entlen)