summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2015-06-22 14:02:52 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-06-22 20:17:08 (GMT)
commitfc1c21689d6d82551f6136a3116876005b4e00a4 (patch)
tree44bbe126fb0c3835bd4d6e71726cfcec5ae40bca /cache.h
parenta5fe66802f8c4036badd54ff36ff327d43236e7e (diff)
downloadgit-fc1c21689d6d82551f6136a3116876005b4e00a4.zip
git-fc1c21689d6d82551f6136a3116876005b4e00a4.tar.gz
git-fc1c21689d6d82551f6136a3116876005b4e00a4.tar.bz2
delete_ref(): move declaration to refs.h
Also * Add a docstring * Rename the second parameter to "old_sha1", to be consistent with the convention used elsewhere in the refs module Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/cache.h b/cache.h
index 571c98f..be92121 100644
--- a/cache.h
+++ b/cache.h
@@ -585,8 +585,6 @@ extern void update_index_if_able(struct index_state *, struct lock_file *);
extern int hold_locked_index(struct lock_file *, int);
extern void set_alternate_index_output(const char *);
-extern int delete_ref(const char *, const unsigned char *sha1, unsigned int flags);
-
/* Environment bits from configuration mechanism */
extern int trust_executable_bit;
extern int trust_ctime;