about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2017-02-04 05:42:31 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2017-02-04 05:55:46 +0000
commitbb6c08b51a0798700b6fdd0b75581dca21dc4e5b (patch)
treebf567f935ff0af3ff31092d862f17cc5bd3d00f0
parent33c0a104482a0299d5d065b88c180ea6975269c0 (diff)
downloadzsh-bb6c08b51a0798700b6fdd0b75581dca21dc4e5b.tar.gz
zsh-bb6c08b51a0798700b6fdd0b75581dca21dc4e5b.tar.xz
zsh-bb6c08b51a0798700b6fdd0b75581dca21dc4e5b.zip
unposted: vcs_info git: Fix typo in manual.
-rw-r--r--ChangeLog6
-rw-r--r--Doc/Zsh/contrib.yo4
-rw-r--r--Functions/VCS_Info/Backends/VCS_INFO_get_data_git1
3 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 69984887b..1b88bfd25 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-02-04  Daniel Shahaf  <d.s@daniel.shahaf.name>
+
+	* unposted: Doc/Zsh/contrib.yo,
+	Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git:
+	Fix typo in manual.
+
 2017-02-03  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
 	* 40480: Functions/VCS_Info/Backends/VCS_INFO_get_data_git,
diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index 79e02628a..a454f60a3 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -1279,8 +1279,8 @@ A "misc" replacement. It is at the discretion of the backend to
 decide what this replacement expands to.
 
 The tt(hg) and tt(git) backends use this expando to display patch information.
-tt(hg) sources patch information from the tt(mq) extensions; tt(git) from the
-tt(rebase) command and from the and tt(stgit) extension.  The tt(patch-format)
+tt(hg) sources patch information from the tt(mq) extensions; tt(git) from in-progress
+tt(rebase) and tt(cherry-pick) operations and from the tt(stgit) extension.  The tt(patch-format)
 and tt(nopatch-format) styles control the generated string.  The former is used
 when at least one patch from the patch queue has been applied, and the latter
 otherwise.
diff --git a/Functions/VCS_Info/Backends/VCS_INFO_get_data_git b/Functions/VCS_Info/Backends/VCS_INFO_get_data_git
index 1b25b1c7c..192b0a10d 100644
--- a/Functions/VCS_Info/Backends/VCS_INFO_get_data_git
+++ b/Functions/VCS_Info/Backends/VCS_INFO_get_data_git
@@ -179,6 +179,7 @@ local patchdir=${gitdir}/patches/${gitbranch}
 if [[ -d $patchdir ]] && [[ -f $patchdir/applied ]] \
    && [[ -f $patchdir/unapplied ]]
 then
+    # stgit
     git_patches_applied=(${(f)"$(< "${patchdir}/applied")"})
     git_patches_unapplied=(${(f)"$(< "${patchdir}/unapplied")"})
     VCS_INFO_git_handle_patches