1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-08 21:51:15 +02:00
zsh/Functions
Peter Grayson ca7c42e1ee 51138: Updated StGit patch detection in vcs_info
The vcs_info patch detection code attempted to interrogate StGit patch
stack state by inspecting .git/patches/applied and
.git/patches/unapplied.

As of StGit 0.15 (2009), patch stack metadata is captured in the repo's
object database. And as of StGit 1.0 (2021), no stack or patch state is
maintained in any files in the .git/ directory.

Zsh's approach for interrogating StGit patch state is thus obsoleted.

This patch updates vcs_info to determine whether StGit is initialized on a
branch by looking at the appropriate git refs and uses StGit's prescribed
interface for interrogating applied and unapplied patch state via the `stg
series` command. This approach will work with all versions of StGit >=0.15.

Signed-off-by: Peter Grayson <pete@jpgrayson.net>
2022-12-08 21:27:35 +00:00
..
Calendar unposted: Fix broken case condition and "qualifer" typo 2015-09-28 02:24:54 +02:00
Chpwd github : Fix typos 2021-11-12 23:54:34 +01:00
Compctl 33047: use git to simplify massively source distribution file selection 2014-08-23 21:01:58 +01:00
Example 45180: clarify doc for POSIX EREs, fix an issue with PCRE when the replacement was empty or generated more than one element 2021-09-06 14:43:01 -07:00
Exceptions 33047: use git to simplify massively source distribution file selection 2014-08-23 21:01:58 +01:00
Math 48606 + 48607 + unposted test: zmathfunc: Force arguments to be numbers and catch errors. 2021-04-21 22:05:00 +00:00
MIME 39046 + 39061: New :P history modifier. 2016-08-22 03:34:30 +00:00
Misc 51088: fix standards reference in comment 2022-12-06 20:40:21 -08:00
Newuser github : Fix typos 2021-11-12 23:54:34 +01:00
Prompts promptinit: only exclude current theme from preview if no arguments are given 2022-03-08 19:37:21 +01:00
TCP 36754: Functions/TCP: Tweak some usage output in the tcp_* functions 2015-10-03 00:05:40 +02:00
VCS_Info 51138: Updated StGit patch detection in vcs_info 2022-12-08 21:27:35 +00:00
Zftp 45269: Fix misspellings in completions and elsewhere. 2020-01-09 13:42:02 +00:00
Zle 50323: create helper for shadowing builtins or existing functions and use it when redefining compadd et al. 2022-06-04 14:19:42 -07:00
.cvsignore unposted: cvsignore VIM *.swp files 2003-05-05 06:14:49 +00:00
.distfiles 33047: use git to simplify massively source distribution file selection 2014-08-23 21:01:58 +01:00
README.zftp Initial revision 1999-06-08 09:26:01 +00:00

The Zftp directory contains a set of functions acting as a front end to the
zftp command, provided as an add-on module.  They allow you to perform FTP
tasks from within the shell using as many of the shell's own facilities
as possible.  For more information, see the zshzftpsys manual page.