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 /commit.h | |
| parent | Merge branch 'mg/format-ref-doc-fix' into maint (diff) | |
| parent | commit: remove unused inline function single_parent() (diff) | |
| download | git-02a19e9a48fab8782760f133c2a0e8c764788f3c.tar.gz git-02a19e9a48fab8782760f133c2a0e8c764788f3c.zip | |
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()
Diffstat (limited to 'commit.h')
| -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 { |
