Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
show-branch: show all local heads when only giving one rev along --topics
[gitweb.git]
/
refs.c
diff --git
a/refs.c
b/refs.c
index 5fcacc6c41e6c7033367cc9c4cf7c18b33eea286..ed3b2cb405cc576f16e5b94d83683953b94e1e89 100644
(file)
--- a/
refs.c
+++ b/
refs.c
@@
-2334,7
+2334,7
@@
static struct ref_lock *lock_ref_sha1_basic(const char *refname,
struct strbuf err = STRBUF_INIT;
unable_to_lock_message(ref_file, errno, &err);
error("%s", err.buf);
- strbuf_re
set
(&err);
+ strbuf_re
lease
(&err);
goto error_return;
}
}