- commit
- 3fbef5c9b0dee2106537a6718e2380eaa6e27f15
- parent
- 583c44395ccc0e052c8db5217bd51fc21f7ffbb7
- Author
- Hiltjo Posthuma <hiltjo@codemadness.org>
- Date
- 2019-02-07 20:00
change order of commits in log from most recent to old to applied order
Diffstat
M | LICENSE | 2 | +- |
M | stagit-index.c | 1 | - |
M | stagit.1 | 6 | +++--- |
M | stagit.c | 2 | -- |
4 files changed, 4 insertions, 7 deletions
diff --git a/LICENSE b/LICENSE
@@ -1,6 +1,6 @@ 1 1 MIT/X Consortium License 2 23 -1 (c) 2015-2018 Hiltjo Posthuma <hiltjo@codemadness.org>-1 3 (c) 2015-2019 Hiltjo Posthuma <hiltjo@codemadness.org> 4 4 (c) 2015-2016 Dimitris Papastamos <sin@2f30.org> 5 5 6 6 Permission is hereby granted, free of charge, to any person obtaining a
diff --git a/stagit-index.c b/stagit-index.c
@@ -105,7 +105,6 @@ writelog(FILE *fp) 105 105 106 106 git_revwalk_new(&w, repo); 107 107 git_revwalk_push_head(w);108 -1 git_revwalk_sorting(w, GIT_SORT_TIME);109 108 git_revwalk_simplify_first_parent(w); 110 109 111 110 if (git_revwalk_next(&id, w) ||
diff --git a/stagit.1 b/stagit.1
@@ -1,4 +1,4 @@1 -1 .Dd Januari 21, 2018-1 1 .Dd February 6, 2019 2 2 .Dt STAGIT 1 3 3 .Os 4 4 .Sh NAME @@ -46,8 +46,8 @@ Atom XML feed 46 46 .It files.html 47 47 List of files in the latest tree, linking to the file. 48 48 .It log.html49 -1 List of commits in order of most recent to old of the commits (top to bottom),50 -1 each commit links to a page with a diffstat and diff of the commit.-1 49 List of commits in reverse chronological applied commit order, each commit -1 50 links to a page with a diffstat and diff of the commit. 51 51 .It refs.html 52 52 Lists references of the repository such as branches and tags. 53 53 .El
diff --git a/stagit.c b/stagit.c
@@ -606,7 +606,6 @@ writelog(FILE *fp, const git_oid *oid) 606 606 607 607 git_revwalk_new(&w, repo); 608 608 git_revwalk_push(w, oid);609 -1 git_revwalk_sorting(w, GIT_SORT_TIME);610 609 git_revwalk_simplify_first_parent(w); 611 610 612 611 while (!git_revwalk_next(&id, w)) { @@ -736,7 +735,6 @@ writeatom(FILE *fp) 736 735 737 736 git_revwalk_new(&w, repo); 738 737 git_revwalk_push_head(w);739 -1 git_revwalk_sorting(w, GIT_SORT_TIME);740 738 git_revwalk_simplify_first_parent(w); 741 739 742 740 for (i = 0; i < m && !git_revwalk_next(&id, w); i++) {