Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
branch: fix branch renaming not updating HEADs correctly
[gitweb.git]
/
worktree.c
diff --git
a/worktree.c
b/worktree.c
index c1ec334b06f8b8d55b4087d1208d85731fd46543..7bc36f4343283704ca1c7918419b6be6a0bd6750 100644
(file)
--- a/
worktree.c
+++ b/
worktree.c
@@
-29,7
+29,7
@@
static void add_head_info(struct worktree *wt)
target = refs_resolve_ref_unsafe(get_worktree_ref_store(wt),
"HEAD",
-
RESOLVE_REF_READING
,
+
0
,
wt->head_sha1, &flags);
if (!target)
return;