commit | 5dbd767601812209273ae007a97b7c9305dc6cfd | [log] [tgz] |
---|---|---|
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | Thu Dec 05 20:02:44 2013 +0700 |
committer | Junio C Hamano <gitster@pobox.com> | Tue Dec 10 16:14:17 2013 -0800 |
tree | e17d9738c8084dc2ba7e47f58e8d6eb5e99ee623 | |
parent | 31c42bff35ffc0a99ca77947389749d1397e1079 [diff] [blame] |
receive/send-pack: support pushing from a shallow clone Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff --git a/send-pack.c b/send-pack.c index 14005fa..cd536b4 100644 --- a/send-pack.c +++ b/send-pack.c
@@ -214,6 +214,9 @@ return 0; } + if (!args->dry_run) + advertise_shallow_grafts(out); + /* * Finally, tell the other end! */