1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-24 17:21:08 +02:00
Commit graph

21 commits

Author SHA1 Message Date
dana
faa07d064b 43030: Replace VCS_INFO_realpath() by :P 2018-06-16 12:03:23 -05:00
Daniel Shahaf
0ea1957608 40403/0001: vcs_info set-patch-format helper: Part #1. 2017-01-25 04:22:30 +00:00
Daniel Shahaf
8891f5a33d unposted: vcs_info: Break out VCS_INFO_quilt-patch2subject into VCS_INFO_patch2subject
... so other places can use it; compare 40030 in the 39990 thread.
2016-12-01 17:13:37 +00:00
Daniel Shahaf
74aa45910b 39786: vcs_info (hg): Use native hexdump implementation instead of external command.
Fixes issue whereby the external command would print "*" for repeated
octets.

Includes comment change, cf 39790.
2016-10-31 18:35:47 +00:00
Frank Terbeck
dab6e7c231 37451: vcs_info: Declare "msgs" in early context
The parameter *is* being declared with the redefinition of the
function, but not in its initial form, which gets you a warning
about the parameter being defined globally. This fixes it.
2015-12-30 15:23:08 +01:00
Frank Terbeck
2e600b432a 36888: vcs_info: Prevent warn_create_global warning with '-preinit-' state
This is related to 33405. Turns out that not all other calls to
VCS_INFO_set are okay: With recent zsh versions the early call to that
function with the '-preinit-' argument causes a warning like this:

  VCS_INFO_set:9: math parameter maxexports created globally
                  in function VCS_INFO_set

This fixes it.
2015-10-18 20:40:18 +02:00
Mikael Magnusson
c5abf2bcff 36077: vcs_info: stop exporting everything 2015-08-12 04:31:22 +02:00
Frank Terbeck
a03227de23 33405: vcs_info: Make sure maxexports is set when VCS_INFO_set is called
Reported-by: From: Marco Hinz <mh.codebro@gmail.com>
2014-10-09 18:36:13 +02:00
Frank Terbeck
f028b97e8f 29526: vcs_info: Set max-exports' early after certain start-up' hooks. 2011-06-30 07:43:53 +00:00
Frank Terbeck
eb46727d3a 28959: Make the nvcsformats style be used if vcs_info is disabled. 2011-03-30 21:24:42 +00:00
Frank Terbeck
abe0ee3936 28960: Add functions to add/remove static hooks. 2011-03-30 21:17:07 +00:00
Frank Terbeck
0501efc54a Seth House, Simon Ruderich and myself: 27948: various vcs_info changes
Here's a diff-stat:

 Doc/Zsh/contrib.yo                                |  506 ++++++++++++++-------
 Functions/VCS_Info/.distfiles                     |    1 +
 Functions/VCS_Info/Backends/VCS_INFO_detect_hg    |   14 +-
 Functions/VCS_Info/Backends/VCS_INFO_get_data_git |   35 +-
 Functions/VCS_Info/Backends/VCS_INFO_get_data_hg  |  295 +++++++++----
 Functions/VCS_Info/VCS_INFO_formats               |   26 +-
 Functions/VCS_Info/VCS_INFO_hook                  |   10 +-
 Functions/VCS_Info/VCS_INFO_quilt                 |  190 ++++++++
 Functions/VCS_Info/vcs_info                       |   30 +-
 Misc/.distfiles                                   |    1 +
 Misc/vcs_info-examples                            |  496 ++++++++++++++++++++
 11 files changed, 1303 insertions(+), 301 deletions(-)

The major changes are vast improvements for the mercurial (hg) backend
(which was done almost entirely by Seth); improved documentation (mostly
done by Simon and again Seth); quilt support (as an addon and stand
alone, see the manual for details); a number of new hooks and a fair
share of bugfixes.
2010-05-10 10:46:48 +00:00
Frank Terbeck
4277121662 27908: Functions/VCS_Info/vcs_info: Avoid locale related problems 2010-04-26 18:58:33 +00:00
Peter Stephenson
8a0629c12b 27731: Frank: turn off WARN_CREATE_GLOBAL in VCS_INFO 2010-02-21 18:41:41 +00:00
Peter Stephenson
94777f64e8 Frank Terbeck, Seth House: 27712, 22713, 27714:
VCS Info hooks and Mercurial improvements
2010-02-16 10:09:15 +00:00
Peter Stephenson
d6c4e4c692 Frank Terbeck: 27353: more VCS_Info sanity checks 2009-11-06 14:35:33 +00:00
Peter Stephenson
76dc71f882 Frank Terbeck: 26215: VCS_Info disable-patterns style 2009-01-03 18:40:17 +00:00
Peter Stephenson
b4a2d51e57 Frank Terbeck: 26125: add "command" style to VCS_INFO 2008-12-11 09:53:12 +00:00
Peter Stephenson
708999149b 25710: various minor consistency tweaks for VCS_Info 2008-09-22 16:56:32 +00:00
Clint Adams
8dbf2a5bfa 25713: ensure that vcs_info functions immediately after autoloading. 2008-09-22 16:30:49 +00:00
Peter Stephenson
23f2b4503c users/13252 and elsewhere: Frank Terbeck plus tweaks:
add VCS_Info function system
2008-09-19 12:58:46 +00:00