Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'master' of git://repo.or.cz/git-gui
[gitweb.git]
/
exec_cmd.c
diff --git
a/exec_cmd.c
b/exec_cmd.c
index 3996bce33fe11b8f0bae120fabd40a74c66de342..9b74ed2f42ad9a452f5a1d9ab55d5ca1e1de2594 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++;