diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2018-09-18 02:55:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-18 02:55:31 +0100 |
commit | 2dd88a5fafc5af02abfd9a234a43e58f885f2c30 (patch) | |
tree | 5fb19bb1c33d6d9793a9b91274ac3c4e652f0a6b | |
parent | bc34cb63ff5b2bc51bcdec7dfc41202dfc34e97f (diff) | |
parent | 330b10ca97febedff0f6622d57815605764235f3 (diff) | |
download | libgit2-2dd88a5fafc5af02abfd9a234a43e58f885f2c30.tar.gz |
Merge pull request #4811 from libgit2/cmn/sorting-modes
revwalk: refer the sorting modes more to git's options
-rw-r--r-- | include/git2/revwalk.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/git2/revwalk.h b/include/git2/revwalk.h index d9376ceea..bbc3b2b00 100644 --- a/include/git2/revwalk.h +++ b/include/git2/revwalk.h @@ -25,15 +25,15 @@ GIT_BEGIN_DECL */ typedef enum { /** - * Sort the output with the same default time-order method from git. - * This is the default sorting for new walkers. + * Sort the output with the same default method from `git`: reverse + * chronological order. This is the default sorting for new walkers. */ GIT_SORT_NONE = 0, /** - * Sort the repository contents in topological order (parents before - * children); this sorting mode can be combined with time sorting to - * produce git's "time-order". + * Sort the repository contents in topological order (no parents before + * all of its children are shown); this sorting mode can be combined + * with time sorting to produce `git`'s `--date-order``. */ GIT_SORT_TOPOLOGICAL = 1 << 0, |