summaryrefslogtreecommitdiff
path: root/refs/refs-internal.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2017-03-26 02:42:15 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-03-27 17:23:39 (GMT)
commit11f8457fb9b787f350e176fd28ee8c01fd2b82d5 (patch)
tree404f67fd706fc1ffb4ade2b9a7a69f9d618afd47 /refs/refs-internal.h
parent504c4d42db8f597b2d151b8b52321cd6130b5363 (diff)
downloadgit-11f8457fb9b787f350e176fd28ee8c01fd2b82d5.zip
git-11f8457fb9b787f350e176fd28ee8c01fd2b82d5.tar.gz
git-11f8457fb9b787f350e176fd28ee8c01fd2b82d5.tar.bz2
files-backend: make files_log_ref_write() static
Created in 5f3c3a4e6f (files_log_ref_write: new function - 2015-11-10) but probably never used outside refs-internal.c Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs/refs-internal.h')
-rw-r--r--refs/refs-internal.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/refs/refs-internal.h b/refs/refs-internal.h
index fa93c9a..f732473 100644
--- a/refs/refs-internal.h
+++ b/refs/refs-internal.h
@@ -228,10 +228,6 @@ struct ref_transaction {
enum ref_transaction_state state;
};
-int files_log_ref_write(const char *refname, const unsigned char *old_sha1,
- const unsigned char *new_sha1, const char *msg,
- int flags, struct strbuf *err);
-
/*
* Check for entries in extras that are within the specified
* directory, where dirname is a reference directory name including