Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
fetch, upload-pack: --deepen=N extends shallow boundary by N commits
[gitweb.git]
/
builtin
/
fetch-pack.c
diff --git
a/builtin/fetch-pack.c
b/builtin/fetch-pack.c
index 07570bee2d367937cba1023156f64b04b9095bdd..82653487f8ac5ff1e4f44532f2c0bb278f65b554 100644
(file)
--- a/
builtin/fetch-pack.c
+++ b/
builtin/fetch-pack.c
@@
-113,6
+113,10
@@
int cmd_fetch_pack(int argc, const char **argv, const char *prefix)
string_list_append(&deepen_not, arg);
continue;
}
+ if (!strcmp(arg, "--deepen-relative")) {
+ args.deepen_relative = 1;
+ continue;
+ }
if (!strcmp("--no-progress", arg)) {
args.no_progress = 1;
continue;