summaryrefslogtreecommitdiff
path: root/refs.h
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2015-06-22 14:03:00 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-06-22 20:17:11 (GMT)
commit79e4d8a9b839ed18816e78ed52f0ff5a5f6e9a63 (patch)
tree0483f9e8ea6adde686035ebd80ebd5c800931694 /refs.h
parenta087b432a79f85b34e8582219a0bdec73c5821f5 (diff)
downloadgit-79e4d8a9b839ed18816e78ed52f0ff5a5f6e9a63.zip
git-79e4d8a9b839ed18816e78ed52f0ff5a5f6e9a63.tar.gz
git-79e4d8a9b839ed18816e78ed52f0ff5a5f6e9a63.tar.bz2
repack_without_refs(): make function private
It is no longer called from outside of the refs module. Also move its docstring and change it to imperative voice. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.h')
-rw-r--r--refs.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/refs.h b/refs.h
index 1a5d44a..5f3bea7 100644
--- a/refs.h
+++ b/refs.h
@@ -154,17 +154,6 @@ extern void rollback_packed_refs(void);
*/
int pack_refs(unsigned int flags);
-/*
- * Rewrite the packed-refs file, omitting any refs listed in
- * 'refnames'. On error, packed-refs will be unchanged, the return
- * value is nonzero, and a message about the error is written to the
- * 'err' strbuf.
- *
- * The refs in 'refnames' needn't be sorted. `err` must not be NULL.
- */
-extern int repack_without_refs(struct string_list *refnames,
- struct strbuf *err);
-
extern int ref_exists(const char *);
extern int is_branch(const char *refname);