diff-tree -r -t: include added/removed directories in the output
[gitweb.git] / builtin-send-pack.c
index 8fdeaa398933be3788c9d6a796d32ee5b2a61484..e428eace2b2213750d4dfa0fe4da9c07bd656892 100644 (file)
@@ -232,7 +232,7 @@ static void update_tracking_ref(struct remote *remote, struct ref *ref)
                if (args.verbose)
                        fprintf(stderr, "updating local tracking ref '%s'\n", rs.dst);
                if (ref->deletion) {
-                       delete_ref(rs.dst, NULL);
+                       delete_ref(rs.dst, NULL, 0);
                } else
                        update_ref("update by push", rs.dst,
                                        ref->new_sha1, NULL, 0, 0);