diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-06-07 10:35:54 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-06-11 15:15:21 -0700 |
commit | 81c6b38b67019eff48e8e5c324bb77f6c796c0b5 (patch) | |
tree | df64e27cad14932b531c7e28a4638c885739ac52 /commit.h | |
parent | da24b1044f7dc85cda52d6423f5a794a7074fbf8 (diff) | |
download | git-81c6b38b67019eff48e8e5c324bb77f6c796c0b5.tar.gz git-81c6b38b67019eff48e8e5c324bb77f6c796c0b5.tar.xz |
log: --author-date-order
Sometimes people would want to view the commits in parallel
histories in the order of author dates, not committer dates.
Teach "topo-order" sort machinery to do so, using a commit-info slab
to record the author dates of each commit, and prio-queue to sort
them.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
-rw-r--r-- | commit.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -142,7 +142,8 @@ void clear_commit_marks_for_object_array(struct object_array *a, unsigned mark); enum rev_sort_order { REV_SORT_IN_GRAPH_ORDER = 0, - REV_SORT_BY_COMMIT_DATE + REV_SORT_BY_COMMIT_DATE, + REV_SORT_BY_AUTHOR_DATE }; /* |