Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
revision.c: --all adds HEAD from all worktrees
[gitweb.git]
/
builtin
/
receive-pack.c
diff --git
a/builtin/receive-pack.c
b/builtin/receive-pack.c
index 136c44def778fa64a4a79074413d08aeedcb7991..14b6e09b42f1d423307c98275f5b203078b82445 100644
(file)
--- a/
builtin/receive-pack.c
+++ b/
builtin/receive-pack.c
@@
-1138,7
+1138,7
@@
static const char *update(struct command *cmd, struct shallow_info *si)
}
if (ref_transaction_delete(transaction,
namespaced_name,
- old_oid
->hash
,
+ old_oid
? old_oid->hash : NULL
,
0, "push", &err)) {
rp_error("%s", err.buf);
strbuf_release(&err);