logo

etc_portage

Unnamed repository; edit this file 'description' to name the repository. git clone https://hacktivis.me/git/etc_portage.git

0002-change-order-of-commits-in-log-from-most-recent-to-o.patch (2352B)


  1. From 3fbef5c9b0dee2106537a6718e2380eaa6e27f15 Mon Sep 17 00:00:00 2001
  2. From: Hiltjo Posthuma <hiltjo@codemadness.org>
  3. Date: Thu, 7 Feb 2019 21:00:06 +0100
  4. Subject: [PATCH 02/22] change order of commits in log from most recent to old
  5. to applied order
  6. ---
  7. LICENSE | 2 +-
  8. stagit-index.c | 1 -
  9. stagit.1 | 6 +++---
  10. stagit.c | 2 --
  11. 4 files changed, 4 insertions(+), 7 deletions(-)
  12. diff --git a/LICENSE b/LICENSE
  13. index 3dc99fe..1305e35 100644
  14. --- a/LICENSE
  15. +++ b/LICENSE
  16. @@ -1,6 +1,6 @@
  17. MIT/X Consortium License
  18. -(c) 2015-2018 Hiltjo Posthuma <hiltjo@codemadness.org>
  19. +(c) 2015-2019 Hiltjo Posthuma <hiltjo@codemadness.org>
  20. (c) 2015-2016 Dimitris Papastamos <sin@2f30.org>
  21. Permission is hereby granted, free of charge, to any person obtaining a
  22. diff --git a/stagit-index.c b/stagit-index.c
  23. index ab47e48..accb1a5 100644
  24. --- a/stagit-index.c
  25. +++ b/stagit-index.c
  26. @@ -105,7 +105,6 @@ writelog(FILE *fp)
  27. git_revwalk_new(&w, repo);
  28. git_revwalk_push_head(w);
  29. - git_revwalk_sorting(w, GIT_SORT_TIME);
  30. git_revwalk_simplify_first_parent(w);
  31. if (git_revwalk_next(&id, w) ||
  32. diff --git a/stagit.1 b/stagit.1
  33. index 3e9a77a..360f716 100644
  34. --- a/stagit.1
  35. +++ b/stagit.1
  36. @@ -1,4 +1,4 @@
  37. -.Dd Januari 21, 2018
  38. +.Dd February 6, 2019
  39. .Dt STAGIT 1
  40. .Os
  41. .Sh NAME
  42. @@ -46,8 +46,8 @@ Atom XML feed
  43. .It files.html
  44. List of files in the latest tree, linking to the file.
  45. .It log.html
  46. -List of commits in order of most recent to old of the commits (top to bottom),
  47. -each commit links to a page with a diffstat and diff of the commit.
  48. +List of commits in reverse chronological applied commit order, each commit
  49. +links to a page with a diffstat and diff of the commit.
  50. .It refs.html
  51. Lists references of the repository such as branches and tags.
  52. .El
  53. diff --git a/stagit.c b/stagit.c
  54. index c2b2f2c..b8abea3 100644
  55. --- a/stagit.c
  56. +++ b/stagit.c
  57. @@ -606,7 +606,6 @@ writelog(FILE *fp, const git_oid *oid)
  58. git_revwalk_new(&w, repo);
  59. git_revwalk_push(w, oid);
  60. - git_revwalk_sorting(w, GIT_SORT_TIME);
  61. git_revwalk_simplify_first_parent(w);
  62. while (!git_revwalk_next(&id, w)) {
  63. @@ -736,7 +735,6 @@ writeatom(FILE *fp)
  64. git_revwalk_new(&w, repo);
  65. git_revwalk_push_head(w);
  66. - git_revwalk_sorting(w, GIT_SORT_TIME);
  67. git_revwalk_simplify_first_parent(w);
  68. for (i = 0; i < m && !git_revwalk_next(&id, w); i++) {
  69. --
  70. 2.26.2