Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
smart-http: support shallow fetch/clone
[gitweb.git]
/
send-pack.c
diff --git
a/send-pack.c
b/send-pack.c
index 14005faefc523578d83e9f468063c48530d1dacd..cd536b4ed5436b9bd63e0649618508f5fdf7ec4e 100644
(file)
--- a/
send-pack.c
+++ b/
send-pack.c
@@
-214,6
+214,9
@@
int send_pack(struct send_pack_args *args,
return 0;
}
+ if (!args->dry_run)
+ advertise_shallow_grafts(out);
+
/*
* Finally, tell the other end!
*/