Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2263)

Unified Diff: docs/src/git-map.txt

Issue 184253003: Add git-reup and friends (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@freeze_thaw
Patch Set: fix pylint Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « docs/src/git-freeze.txt ('k') | docs/src/git-map-branches.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: docs/src/git-map.txt
diff --git a/docs/src/git-map.txt b/docs/src/git-map.txt
index 8b22f3a19041201342e17b04b3f0fea59b8e0c0f..a5b498bac5bcdb462799086411f0c9883f38e31e 100644
--- a/docs/src/git-map.txt
+++ b/docs/src/git-map.txt
@@ -20,6 +20,7 @@ Git map formats the output of `git log --graph` from all refs such that:
* Local branches are [green]#green#.
* Remote branches are [red]#red#.
* Tags are [fuchsia]#magenta#.
+* Merge Base markers are [black-background white]#white#.
* The currently checked out commit is highlighted with a [yellow blue-background]#blue background#.
The output is automatically piped through the `less` pager command, even on
@@ -28,47 +29,47 @@ windows.
OPTIONS
-------
<extra_args>...::
- Extra parameters to pass to the internal linkgit:git-log[1] invocation. This
- can be used to restrict what refs 'git map' operates on, etc.
+ Extra parameters to pass to the internal linkgit:git-log[1] invocation. This
+ can be used to restrict what refs 'git map' operates on, etc.
+
If you run git map with a series of fixed arguments frequently, you can use
-the depot_tools.map_extra configuration variable to pre-set arguments (See
+the depot-tools.map-extra configuration variable to pre-set arguments (See
`CONFIGURATION VARIABLES`)
CONFIGURATION VARIABLES
-----------------------
-depot_tools.map_extra
+depot-tools.map-extra
~~~~~~~~~~~~~~~~~~~~~
-Each value of the 'depot_tools.map_extra' config variable is applied as an
+Each value of the 'depot-tools.map-extra' config variable is applied as an
additional argument to `git log` during the execution of git map. If you wish to
-configure this, use git `config --add depot_tools.map_extra <value>` to do so.
+configure this, use git `config --add depot-tools.map-extra <value>` to do so.
EXAMPLE
-------
Running 'git map' would result in an output something like:
-[subs="quotes,attributes"]
+[subs="specialcharacters,quotes,attributes"]
----
[white]**$ git map**
[white blue-background]##*##{zwsp}[blue-background red]** 7dcfe47 ** [green]##(##{zwsp}[aqua]**frozen_changes**{zwsp}[green]##)## [yellow]##2014-03-12## \~ FREEZE.unindexed
* [red]**4b0c180** [yellow]##2014-03-12## \~ modfile
* [red]**59a7cca** [yellow]##2014-03-12## \~ a deleted file
-* [red]**6bec695** [green]##(##{zwsp}[red]##origin/master##{zwsp}[green]##)## [yellow]##2014-03-11## \~ Add neat feature
+* [red]**6bec695** [green]##(##{zwsp}[red]##origin/master##{zwsp}[green]##)## [yellow]##2014-03-11## \~ Add neat feature [white]**<(frozen_changes)**
* [red]**d15a38a** [yellow]##2014-03-11## \~ Epic README update
* [red]**d559894** [green]##(##{zwsp}[lime]**master**{zwsp}[green]##)## [yellow]##2014-03-11## \~ Important upstream change
[red]##|## * [red]**9c311fd** [green]##(##{zwsp}[lime]**cool_feature**{zwsp}[green]##)## [yellow]##2014-03-11## \~ Respond to CL comments
[red]##|## [green]##|## * [red]**2a1eeb2** [green]##(##{zwsp}[lime]**subfeature**{zwsp}[green]##)## [yellow]##2014-03-11## \~ integrate with CoolService
[red]##|## [green]##|## * [red]**d777af6** [yellow]##2014-03-11## \~ slick commenting action
[red]##|## [green]##|/##
-[red]##|## * [red]**265803a** [yellow]##2014-03-11## \~ another improvement
+[red]##|## * [red]**265803a** [yellow]##2014-03-11## \~ another improvement [white]**<(subfeature)**
[red]##|## * [red]**6d831ac** [green]##(##{zwsp}[fuchsia]**spleen_tag**{zwsp}[green]##)## [yellow]##2014-03-11## \~ Refactor spleen
[red]##|## * [red]**82e74ab** [yellow]##2014-03-11## \~ Add widget
[red]##|/##
-* [red]**d08c5b3** [green]##(##{zwsp}[lime]**bogus_noparent**{zwsp}[green]##)## [yellow]##2014-03-11## ~ Wonderful beginnings
+* [red]**d08c5b3** [green]##(##{zwsp}[lime]**bogus_noparent**{zwsp}[green]##)## [yellow]##2014-03-11## ~ Wonderful beginnings [white]**<(cool_feature)**
----
As you can see, the structure of the commit history is visible, particularly
@@ -82,4 +83,4 @@ linkgit:git-map-branches[1]
include::_footer.txt[]
-// vim: ft=asciidoc noexpandtab:
+// vim: ft=asciidoc:
« no previous file with comments | « docs/src/git-freeze.txt ('k') | docs/src/git-map-branches.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698