Skip to contentSkip to conversation

Document "git log --simplify-by-decoration"

PATCH In review Nanako Shiraishi 2 participants 2 messages Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 Document "git log --simplify-by-decoration"

---
 Documentation/rev-list-options.txt |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
Documentation/rev-list-options.txt +7 -0
index 966276b..977290c 100644
@@ -456,6 +456,13 @@ Note the major differences in `N` and `P` over '\--full-history':
   removed completely, because it had one parent and is TREESAME.
 --
 
+The '\--simplify-by-decoration' option can be used to treat commits that
+are not referenced by tags as TREESAME, and treat commits that are tagged
+as !TREESAME (even when they have exactly the same tree as their parents).
+This can be used when you are only interested in the big picture of the
+topology of the history.
+
+
 ifdef::git-rev-list[]
 Bisection Helpers
 ~~~~~~~~~~~~~~~~~
Signature · 5 lines
1.6.0.2

-- 
Nanako Shiraishi
http://ivory.ap.teacup.com/nanako3/
#1 lore raw
Quoted 10 lines · Nanako Shiraishi
---
 Documentation/rev-list-options.txt |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
Documentation/rev-list-options.txt +0 -0
index 966276b..977290c 100644

Documentation/rev-list-options.txt Note the major differences in `N` and `P` over '\--full-history': · line 465

Quoted 10 lines
Documentation/rev-list-options.txt +7 -0
@@ -456,6 +456,13 @@ Note the major differences in `N` and `P` over '\--full-history':
  removed completely, because it had one parent and is TREESAME.
 --
 
+The '\--simplify-by-decoration' option can be used to treat commits that
+are not referenced by tags as TREESAME, and treat commits that are tagged
+as !TREESAME (even when they have exactly the same tree as their parents).
+This can be used when you are only interested in the big picture of the
+topology of the history.
+
+

I prefer the other way around, first what it does, and then how it does it (but it is a general comment about the help in "History Simplification", at least when viewing the help for "git log"). And you should rewrite the line 416:

Finally, there is a fourth simplification mode available

as it is no longer "Finally".

Santi