projects
/
git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add test to check recent fix to "git add -u"
[git]
/
exec_cmd.c
diff --git
a/exec_cmd.c
b/exec_cmd.c
index
3996bce
..
9b74ed2
100644
(file)
--- a/
exec_cmd.c
+++ b/
exec_cmd.c
@@
-56,7
+56,7
@@
int execv_git_cmd(const char **argv)
len = strlen(git_command);
/* Trivial cleanup */
- while (!
strncmp(exec_dir, "./", 2
)) {
+ while (!
prefixcmp(exec_dir, "./"
)) {
exec_dir += 2;
while (*exec_dir == '/')
exec_dir++;