summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e3a6003)
raw | patch | inline | side by side (parent: e3a6003)
author | Jonas Fonseca <fonseca@diku.dk> | |
Wed, 5 Nov 2008 17:01:35 +0000 (18:01 +0100) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Wed, 5 Nov 2008 17:01:35 +0000 (18:01 +0100) |
tigrc.5.txt | patch | blob | history |
diff --git a/tigrc.5.txt b/tigrc.5.txt
index 471aab3a3fb82d6cf49762aed493818b64f75a67..46656499b89c64788f072ac422eaec77d1254519 100644 (file)
--- a/tigrc.5.txt
+++ b/tigrc.5.txt
bind main Q none
# An external command to update from upstream
bind generic F !git fetch
-# Cherry-pick current commit unto current branch
+# Cherry-pick current commit onto current branch
bind generic C !git cherry-pick %(commit)
--------------------------------------------------------------------------
Apart from the action names listed below, all actions starting with a '!' will
be available as an external command. External commands can contain variable
names that will be substituted before the command is run. Valid variable names
-are "%(head)", "%(commit)", and "%(blob)".
+are:
+
+ifdef::backend-xhtml11[]
+[frame="none"]
+`-----------------------`-----------------------------------------------------
+endif::backend-xhtml11[]
+Browsing state variables
+------------------------------------------------------------------------------
+%(head) The currently viewed 'head' ID. Defaults to HEAD
+%(commit) The currently selected commit ID.
+%(blob) The currently selected blob ID.
+------------------------------------------------------------------------------
As an example, the following external command will save the current commit as
-a patch file: "!git format-patch %(commit)^..%(commit)".
+a patch file: "!git format-patch -1 %(commit)".
ifdef::backend-xhtml11[]
[frame="none"]