Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
add: use struct argv_array in run_add_interactive()
[gitweb.git]
/
git.c
diff --git
a/git.c
b/git.c
index bba4378458e715a70f5e58a32a33b9baba7ca3bd..7cf2953eff47ca91b9a134e2e810fea1fc53e386 100644
(file)
--- a/
git.c
+++ b/
git.c
@@
-162,7
+162,7
@@
static int handle_options(const char ***argv, int *argc, int *envchanged)
} else if (!strcmp(cmd, "--shallow-file")) {
(*argv)++;
(*argc)--;
- set_alternate_shallow_file((*argv)[0]);
+ set_alternate_shallow_file((*argv)[0]
, 1
);
if (envchanged)
*envchanged = 1;
} else if (!strcmp(cmd, "-C")) {