Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 33405: vcs_info: Make sure maxexports is set when VCS_INFO_set is called | Frank Terbeck | 2014-10-09 | 1 | -0/+1 |
| | | | | Reported-by: From: Marco Hinz <mh.codebro@gmail.com> | ||||
* | 33391: vcs_info git: fix applied patch detection on git am | Marc Finet | 2014-10-09 | 1 | -10/+7 |
| | | | | | | | | | git-am also uses .git/rebase-apply for patch list but the file original-commit does not exist (as no commit exist). This patch handles both git rebase and git am. Also: - get the first line (rather than the first char) when the message contains only one line; - remove unused function (ironically that should have been used here). | ||||
* | 33277: Fix VCS_INFO_reposub's command expansion | Frank Terbeck | 2014-09-29 | 1 | -3/+4 |
| | | | | Reported-by: Marco Hinz <mh.codebro@gmail.com> | ||||
* | 33217: vcs_info: use `--ignore-submodules=dirty` with diff/diff-index | Daniel Hahler | 2014-09-22 | 1 | -3/+3 |
| | | | | | | | | | | | This will detect changes to submodules from the superproject's perspective, e.g. after `git rm submodule`. >From GIT-DIFF-INDEX(1)/GIT-DIFF(1): Using "dirty" ignores all changes to the work tree of submodules, only changes to the commits stored in the superproject are shown (this was the behavior until 1.7.0). | ||||
* | 33184: vcs_info git: consider patches for rebase | Marc Finet | 2014-09-16 | 1 | -42/+74 |
| | | | | | | | | Since a rebase contains a list of patches to re-apply, re-use the facility for stgit to have the same mechanism. The patch list given to the gen-{un,}applied-string hooks is an array with the sha1 and the subject of the commit. On rebase merge, the applied patches prior to current contains only a number and "?". | ||||
* | 33188: vcs_info git: set rrn before using it | Marc Finet | 2014-09-16 | 1 | -2/+2 |
| | | | | | This would fix handling get-revision, check-for-changes or check-for-staged-changes when set per repository. | ||||
* | 33145: vcs_info git: fix applied-string name | Marc Finet | 2014-09-14 | 1 | -1/+1 |
| | | | | | Documentation and hg backend use applied-string. patch-string does not appear anywhere. | ||||
* | 33148: vcs_info quilt: refactor standalone detection | Marc Finet | 2014-09-14 | 1 | -5/+3 |
| | | | | | | Since VCS_INFO_bydir_detect always uses the vcs_comm[detect_need_file], it should be cleared when querying it without file. | ||||
* | 33147: vcs_info git: detect revert or cherry-pick with multiple commits | Marc Finet | 2014-09-14 | 1 | -0/+5 |
| | | | | | When revert or cherry-pick involve many commits the .git/sequencer directory holds context for the action and no CHERRY_PICK_HEAD exist. | ||||
* | 33047: use git to simplify massively source distribution file selection | Peter Stephenson | 2014-08-23 | 2 | -44/+0 |
| | |||||
* | 32662: vcs_info git: Fix stagedstr for empty repos | Daniel Shahaf | 2014-06-02 | 1 | -4/+10 |
| | | | | | | In empty repositories, HEAD is an unresolvable symbolic ref. Start computing stagedstr/unstagedstr in that case; for the former, use a different method than the non-empty-repository case. | ||||
* | 32621: vcs_info svn: 'Fix set-branch-format' when in subdirs | Daniel Shahaf | 2014-05-29 | 1 | -7/+15 |
| | | | | | | | The previous code would fail to detect the wcroot with Subversion 1.7+ when cwd is at least two levels below the root (i.e., ../../.svn exists and ../.svn doesn't), and would then pass to the hook the revision and basename of cwd rather than of the wcroot. | ||||
* | 32619: vcs_info svn: Use the revision of cwd | Daniel Shahaf | 2014-05-29 | 1 | -3/+5 |
| | | | | | | | Previously, the value of the wc root would be used. In Subversion, it makes more sense to use the revision of cwd, since all commands (e.g., 'svn ci', 'svnversion') operate only on cwd and below, not on wcroot and below. | ||||
* | 32597: vcs_info git: Describe detached heads symbolically. | Daniel Shahaf | 2014-05-06 | 1 | -1/+1 |
| | | | | | | | This makes %b expand to a refname rather than a sha1 when HEAD is detached but happens to match some ref (branch, tag, etc). The resulting output will typically contain a slash (e.g., "tags/v1.0.2", "heads/mybranch"), which helps distinguish it from the output in the "HEAD is a symbolic ref" case. | ||||
* | 32528: vcs_info: Add check-for-staged-changes | Daniel Shahaf | 2014-04-05 | 1 | -5/+16 |
| | |||||
* | 32264: vcs_info, hg: Support detecting repos using ShareExtension | Frank Terbeck | 2014-01-17 | 1 | -1/+1 |
| | |||||
* | 32089: tweak to detect Subversion repository | Daniel Shahaf | 2013-12-05 | 1 | -1/+1 |
| | |||||
* | 32066: fix %r and %S in vcs_info formats when a repository subdirectory is ↵ | Barton E. Schaefer | 2013-11-29 | 2 | -3/+3 |
| | | | | | | accessed via a symlink 31985 Clemens Hammacher and 32064 Hong Xu | ||||
* | 31485: vcs_info, git: Avoid error messages for `guilt' users | Frank Terbeck | 2013-06-18 | 1 | -1/+3 |
| | | | | | | | | | | Guilt uses the same internal directory for keeping state as stgit, but it doesn't use the same files (not surprisingly). This caused error messages due to missing files. This fixes that by making the "stgit-active?" test stricter. Reported-by: Axel Beckert <abe@debian.org> | ||||
* | 31136: vcs_info: just set parameters instead of passing over a pipe | Mikael Magnusson | 2013-03-10 | 1 | -12/+9 |
| | |||||
* | 30639: Add support for showing the current action is cherry-pick to vcs_info ↵ | Mikael Magnusson | 2013-03-10 | 1 | -0/+11 |
| | | | | git backend | ||||
* | Baptiste Daroussin: 30703: VCS_INFO_detect_fossil: Fix fossil detection on unix | Frank Terbeck | 2012-09-28 | 1 | -1/+1 |
| | |||||
* | Seth House: 30702: contrib.yo, VCS_INFO_get_data_hg: Removed --debug flag ↵ | Frank Terbeck | 2012-09-28 | 1 | -3/+6 |
| | | | | from the hg vcs_info backend | ||||
* | Stepan Koltsov: vcs_info: %a to output number of all patches in ↵ | Frank Terbeck | 2012-08-17 | 3 | -8/+11 |
| | | | | (no)?patch-format styles | ||||
* | Juliano Ravasi: VCS_INFO_get_data_git: Fix initialisation of `$stgit_unapplied' | Frank Terbeck | 2012-05-23 | 1 | -1/+1 |
| | |||||
* | 30461, 30462 (tweaked): add missing local for match, mbegin and mend | Mikael Magnusson | 2012-05-02 | 1 | -0/+1 |
| | |||||
* | 30114: VCS_INFO_check_com: Remove a superfluous stat() | Frank Terbeck | 2012-01-19 | 1 | -1/+1 |
| | |||||
* | 30046: VCS_INFO_get_data_svn: Fix support for subversion version 1.7 | Frank Terbeck | 2011-12-30 | 1 | -1/+17 |
| | |||||
* | Akinori MUSHA: 29900: Backends/VCS_INFO_detect_svn: Adjust detection to ↵ | Frank Terbeck | 2011-11-09 | 1 | -2/+2 |
| | | | | support subversion 1.7. | ||||
* | 29526: vcs_info: Set `max-exports' early after certain `start-up' hooks. | Frank Terbeck | 2011-06-30 | 1 | -0/+3 |
| | |||||
* | Jan Pobrislo: 29411: vcs_info: Major bzr backend update. | Frank Terbeck | 2011-05-31 | 1 | -6/+83 |
| | |||||
* | 28959: Make the nvcsformats style be used if vcs_info is disabled. | Frank Terbeck | 2011-03-30 | 2 | -7/+3 |
| | |||||
* | 28961: Add `no-vcs' hook. | Frank Terbeck | 2011-03-30 | 1 | -0/+1 |
| | |||||
* | 28960: Add functions to add/remove static hooks. | Frank Terbeck | 2011-03-30 | 4 | -0/+71 |
| | |||||
* | 28958: Support registering hooks independent of the context. | Frank Terbeck | 2011-03-30 | 1 | -3/+15 |
| | |||||
* | Add new vcs_info backend files to corresponding `.distfiles' file. | Frank Terbeck | 2011-03-30 | 1 | -0/+2 |
| | |||||
* | Mike Meyer: 28956, 28957: Add fossil support to vcs_info. | Frank Terbeck | 2011-03-30 | 2 | -0/+37 |
| | |||||
* | 28776: Let vcs_info detect very old mercurial repositories. | Frank Terbeck | 2011-02-19 | 3 | -6/+8 |
| | |||||
* | Lennart Weller: 28739: Fix svn detection in vcs_info | Frank Terbeck | 2011-02-11 | 1 | -1/+1 |
| | |||||
* | Seth House: 28114: vcs_info, git: Fix revision lookup with packed repositories. | Frank Terbeck | 2010-08-02 | 1 | -5/+2 |
| | |||||
* | 28095: Fix two hard-coded invocations of the "git" command. | Frank Terbeck | 2010-07-19 | 1 | -2/+2 |
| | |||||
* | 28093, based on Michel Lespinasse: 28090: Fix a problem with ↵ | Frank Terbeck | 2010-07-19 | 1 | -2/+2 |
| | | | | `check-for-changes' and freshly initialised repositories. | ||||
* | Seth House: 27971: vcs_info: Fix a bug that caused the mercurial backend to ↵ | Frank Terbeck | 2010-05-27 | 1 | -2/+3 |
| | | | | always return `default' as the branch name. | ||||
* | Simon Ruderich: 27953: vcs_info: changed default formats and actionformats. | Frank Terbeck | 2010-05-14 | 1 | -2/+2 |
| | |||||
* | Seth House, Simon Ruderich and myself: 27948: various vcs_info changes | Frank Terbeck | 2010-05-10 | 8 | -126/+475 |
| | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | 27908: Functions/VCS_Info/vcs_info: Avoid locale related problems | Frank Terbeck | 2010-04-26 | 1 | -1/+7 |
| | |||||
* | Simon Ruderich: 27779: Fix mistakes in vcs_info's documentation. | Frank Terbeck | 2010-03-11 | 1 | -1/+1 |
| | |||||
* | Frank: 27768: shut up cd some more | Peter Stephenson | 2010-03-04 | 1 | -12/+3 |
| | |||||
* | 27731: Frank: turn off WARN_CREATE_GLOBAL in VCS_INFO | Peter Stephenson | 2010-02-21 | 1 | -1/+1 |
| | |||||
* | Frank: 27717: option terminators in VCS Info | Peter Stephenson | 2010-02-17 | 1 | -3/+3 |
| |