diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-09-10 17:03:07 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-09-10 17:03:07 +0900 |
commit | 02a19e9a48fab8782760f133c2a0e8c764788f3c (patch) | |
tree | bc4bb31e4c4cdabdbc6b6674443c500d4717e091 | |
parent | d2ef4bedf9f0d31c5f7357f232d99b4cc29dc35c (diff) | |
parent | 24da8a26a983eb55279c729f5da63d92b45ee066 (diff) | |
download | git-02a19e9a48fab8782760f133c2a0e8c764788f3c.tar.gz |
Merge branch 'rs/commit-h-single-parent-cleanup' into maint
Code clean-up.
* rs/commit-h-single-parent-cleanup:
commit: remove unused inline function single_parent()
-rw-r--r-- | commit.h | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -313,11 +313,6 @@ extern int interactive_add(int argc, const char **argv, const char *prefix, int extern int run_add_interactive(const char *revision, const char *patch_mode, const struct pathspec *pathspec); -static inline int single_parent(struct commit *commit) -{ - return commit->parents && !commit->parents->next; -} - struct commit_list *reduce_heads(struct commit_list *heads); struct commit_extra_header { |