diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-09-18 11:59:05 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-09-18 11:59:05 -0700 |
commit | 6930cd10de930b09639e1dad7ae8d74f9128e404 (patch) | |
tree | d3cee943976b69449b939a6aa359c9c4dc8c0f34 /commit.h | |
parent | 1e93c28f53e19945f059fd709729d724f8c06446 (diff) | |
parent | 838f9a15667cfefa9e645c26627ce81ce7599915 (diff) | |
download | git-6930cd10de930b09639e1dad7ae8d74f9128e404.tar.gz |
Merge branch 'tr/log-full-diff-keep-true-parents' into maint
Output from "git log --full-diff -- <pathspec>" looked strange,
because comparison was done with the previous ancestor that touched
the specified <pathspec>, causing the patches for paths outside the
pathspec to show more than the single commit has changed.
* tr/log-full-diff-keep-true-parents:
log: use true parents for diff when walking reflogs
log: use true parents for diff even when rewriting
Diffstat (limited to 'commit.h')
-rw-r--r-- | commit.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -62,6 +62,9 @@ struct commit_list *commit_list_insert_by_date(struct commit *item, struct commit_list **list); void commit_list_sort_by_date(struct commit_list **list); +/* Shallow copy of the input list */ +struct commit_list *copy_commit_list(struct commit_list *list); + void free_commit_list(struct commit_list *list); /* Commit formats */ |