Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
perf/run: add GIT_PERF_DIRS_OR_REVS
[gitweb.git]
/
refs.c
diff --git
a/refs.c
b/refs.c
index a2b97fba780debe440203ff78f8203b5d140d3c2..c30f4c36be57d9304464bf96e54e9b38742ffdaf 100644
(file)
--- a/
refs.c
+++ b/
refs.c
@@
-594,7
+594,7
@@
static int write_pseudoref(const char *pseudoref, const unsigned char *sha1,
if (fd < 0) {
strbuf_addf(err, "could not open '%s' for writing: %s",
filename, strerror(errno));
-
return -1
;
+
goto done
;
}
if (old_sha1) {