diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-07-21 22:18:57 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-07-21 22:18:57 +0400 |
commit | 528396a463e4030e19f150e8fddd8d911063e77e (patch) | |
tree | 5eac35b8c38fb8c12007ee3c88d37aedd21dfcf3 /builtin | |
parent | fb0166c674efbc940ac14453129ab81823badf3d (diff) | |
parent | e7e0f26eb64de205acaac63da89f47aab78ba229 (diff) |
Merge branch 'rs/unify-is-branch'
* rs/unify-is-branch:
refs.c: add a public is_branch function
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/fsck.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/builtin/fsck.c b/builtin/fsck.c index 8aadca160e..d42a27da89 100644 --- a/builtin/fsck.c +++ b/builtin/fsck.c @@ -481,11 +481,6 @@ static int fsck_handle_reflog(const char *logname, const unsigned char *sha1, in return 0; } -static int is_branch(const char *refname) -{ - return !strcmp(refname, "HEAD") || starts_with(refname, "refs/heads/"); -} - static int fsck_handle_ref(const char *refname, const unsigned char *sha1, int flag, void *cb_data) { struct object *obj; |