Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
tag.c: allow deref_tag to handle arbitrary repositories
[gitweb.git]
/
git.c
diff --git
a/git.c
b/git.c
index 9dbe6ffaa7f04ceba22b215a221b9a389d0cad97..3fded745195a603d15da399823e060bb75fb26ef 100644
(file)
--- a/
git.c
+++ b/
git.c
@@
-267,7
+267,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], 1);
+ set_alternate_shallow_file(
the_repository,
(*argv)[0], 1);
if (envchanged)
*envchanged = 1;
} else if (!strcmp(cmd, "-C")) {