stagit

change order of commits in log from most recent to old to applied order

Hiltjo Posthuma contact@arjunchoudhary.com

commit: 88c65a4 parent: 6398888
4 files changed, 4 insertions(+), 7 deletions(-)
MLICENSE+1-1
Mstagit-index.c+0-1
Mstagit.1+3-3
Mstagit.c+0-2
M · LICENSE +1, -1
1@@ -1,6 +1,6 @@
2 MIT/X Consortium License
3 
4-(c) 2015-2018 Hiltjo Posthuma <hiltjo@codemadness.org>
5+(c) 2015-2019 Hiltjo Posthuma <hiltjo@codemadness.org>
6 (c) 2015-2016 Dimitris Papastamos <sin@2f30.org>
7 
8 Permission is hereby granted, free of charge, to any person obtaining a
M · stagit-index.c +0, -1
1@@ -105,7 +105,6 @@ writelog(FILE *fp)
2 
3 	git_revwalk_new(&w, repo);
4 	git_revwalk_push_head(w);
5-	git_revwalk_sorting(w, GIT_SORT_TIME);
6 	git_revwalk_simplify_first_parent(w);
7 
8 	if (git_revwalk_next(&id, w) ||
M · stagit.1 +3, -3
 1@@ -1,4 +1,4 @@
 2-.Dd Januari 21, 2018
 3+.Dd February 6, 2019
 4 .Dt STAGIT 1
 5 .Os
 6 .Sh NAME
 7@@ -46,8 +46,8 @@ Atom XML feed
 8 .It files.html
 9 List of files in the latest tree, linking to the file.
10 .It log.html
11-List of commits in order of most recent to old of the commits (top to bottom),
12-each commit links to a page with a diffstat and diff of the commit.
13+List of commits in reverse chronological applied commit order, each commit
14+links to a page with a diffstat and diff of the commit.
15 .It refs.html
16 Lists references of the repository such as branches and tags.
17 .El
M · stagit.c +0, -2
 1@@ -606,7 +606,6 @@ writelog(FILE *fp, const git_oid *oid)
 2 
 3 	git_revwalk_new(&w, repo);
 4 	git_revwalk_push(w, oid);
 5-	git_revwalk_sorting(w, GIT_SORT_TIME);
 6 	git_revwalk_simplify_first_parent(w);
 7 
 8 	while (!git_revwalk_next(&id, w)) {
 9@@ -736,7 +735,6 @@ writeatom(FILE *fp)
10 
11 	git_revwalk_new(&w, repo);
12 	git_revwalk_push_head(w);
13-	git_revwalk_sorting(w, GIT_SORT_TIME);
14 	git_revwalk_simplify_first_parent(w);
15 
16 	for (i = 0; i < m && !git_revwalk_next(&id, w); i++) {