X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=refs.c;h=1b0050eee4e037aec8396edd0ff6c14bda5985a2;hb=4c414e2e09607d53141573710ef6d79db2aa64ae;hp=c979fb1d9507309785909a8d714ab28b1efd2e88;hpb=42dd2cd3a3f5228db77826d4d6a8490a9a710e45;p=git.git diff --git a/refs.c b/refs.c index c979fb1d9..1b0050eee 100644 --- a/refs.c +++ b/refs.c @@ -1033,7 +1033,7 @@ int rename_ref(const char *oldref, const char *newref, const char *logmsg) return 1; } -static int close_ref(struct ref_lock *lock) +int close_ref(struct ref_lock *lock) { if (close_lock_file(lock->lk)) return -1; @@ -1041,7 +1041,7 @@ static int close_ref(struct ref_lock *lock) return 0; } -static int commit_ref(struct ref_lock *lock) +int commit_ref(struct ref_lock *lock) { if (commit_lock_file(lock->lk)) return -1;