smart-http: support shallow fetch/clone
[gitweb.git] / send-pack.c
index 14005faefc523578d83e9f468063c48530d1dacd..cd536b4ed5436b9bd63e0649618508f5fdf7ec4e 100644 (file)
@@ -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!
         */