Skip to content

Commit 46428f5

Browse files
committed
don't write FETCH_HEAD
1 parent 688d534 commit 46428f5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/git-remote-gitopia/gitopia.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ func (h *GitopiaHandler) Fetch(remote *core.Remote, refsToFetch []core.RefToFetc
151151
if !remote.Force {
152152
args := []string{
153153
"fetch",
154+
"--no-write-fetch-head",
154155
remoteURL,
155156
}
156157
for _, ref := range refsToFetch {
@@ -177,6 +178,7 @@ func (h *GitopiaHandler) Fetch(remote *core.Remote, refsToFetch []core.RefToFetc
177178

178179
args := []string{
179180
"fetch",
181+
"--no-write-fetch-head",
180182
remoteURL,
181183
ref.Ref,
182184
}

0 commit comments

Comments
 (0)