summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2020-03-26 02:43:41 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2020-03-27 01:14:42 +0000
commitd13d6afb2e788fac8eefeff47e889a54498eea9a (patch)
tree9aca14e4ec17b79e577c4b87d0d4f3521011ba7d
parent45625: vcs_info svn: Detect the "working copy format is too new" error. (diff)
downloadzsh-d13d6afb2e788fac8eefeff47e889a54498eea9a.tar
zsh-d13d6afb2e788fac8eefeff47e889a54498eea9a.tar.gz
zsh-d13d6afb2e788fac8eefeff47e889a54498eea9a.tar.bz2
zsh-d13d6afb2e788fac8eefeff47e889a54498eea9a.tar.lz
zsh-d13d6afb2e788fac8eefeff47e889a54498eea9a.tar.xz
zsh-d13d6afb2e788fac8eefeff47e889a54498eea9a.tar.zst
zsh-d13d6afb2e788fac8eefeff47e889a54498eea9a.zip
45627: vcs_info git: Under git-am(1) conflicts, pass to the gen-applied-string hook information on already-applied patches.
The hook already receives information about the current (topmost applied) patch and, if the get-unapplied style is set, about future (unapplied) patches. Tested in the Functions/VCS_Info/test-repo-git-rebase-apply scenario, after manually converting the rebase to a «git am». (Specifically, I ran: mkdir d git rebase --abort git format-patch rebase_from_this..HEAD -o d git checkout rebase_onto_this git am d/* .)
-rw-r--r--ChangeLog4
-rw-r--r--Functions/VCS_Info/Backends/VCS_INFO_get_data_git14
2 files changed, 15 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index b21bdefed..0d81ea3b9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2020-03-26 Daniel Shahaf <d.s@daniel.shahaf.name>
+ * 45627: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
+ vcs_info git: Under git-am(1) conflicts, pass to the
+ gen-applied-string hook information on already-applied patches.
+
* 45625: Functions/VCS_Info/Backends/VCS_INFO_get_data_svn:
vcs_info svn: Detect the "working copy format is too new" error.