summaryrefslogtreecommitdiff
path: root/stagit.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2019-02-07 21:00:06 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2019-02-16 21:17:45 +0100
commit3fbef5c9b0dee2106537a6718e2380eaa6e27f15 (patch)
treed39a2c8590b1bedc2f49088aa3979f8c4693f820 /stagit.c
parent583c44395ccc0e052c8db5217bd51fc21f7ffbb7 (diff)
change order of commits in log from most recent to old to applied order
Diffstat (limited to 'stagit.c')
-rw-r--r--stagit.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/stagit.c b/stagit.c
index c2b2f2c..b8abea3 100644
--- a/stagit.c
+++ b/stagit.c
@@ -606,7 +606,6 @@ writelog(FILE *fp, const git_oid *oid)
git_revwalk_new(&w, repo);
git_revwalk_push(w, oid);
- git_revwalk_sorting(w, GIT_SORT_TIME);
git_revwalk_simplify_first_parent(w);
while (!git_revwalk_next(&id, w)) {
@@ -736,7 +735,6 @@ writeatom(FILE *fp)
git_revwalk_new(&w, repo);
git_revwalk_push_head(w);
- git_revwalk_sorting(w, GIT_SORT_TIME);
git_revwalk_simplify_first_parent(w);
for (i = 0; i < m && !git_revwalk_next(&id, w); i++) {