Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
commit-graph: add repo arg to graph readers
[gitweb.git]
/
refs
/
files-backend.c
diff --git
a/refs/files-backend.c
b/refs/files-backend.c
index a9a066dcfb60d83a10e27d1c0d1131faf2ae97a4..55c2ae0bd591f01760cc3824edebf8893689f152 100644
(file)
--- a/
refs/files-backend.c
+++ b/
refs/files-backend.c
@@
-1660,7
+1660,7
@@
static int write_ref_to_lockfile(struct ref_lock *lock,
struct object *o;
int fd;
- o = parse_object(oid);
+ o = parse_object(
the_repository,
oid);
if (!o) {
strbuf_addf(err,
"trying to write ref '%s' with nonexistent object %s",