about summary refs log tree commit diff
path: root/Functions/VCS_Info/VCS_INFO_quilt
Commit message (Collapse)AuthorAgeFilesLines
* 49727 (+ comment): vcs_info quilt: Pass the patches dir path to the ↵Daniel Shahaf2022-02-201-1/+6
| | | | | | gen-applied-string, gen-unapplied-string, and set-patch-format hooks I use that in my gen-applied-string hook.
* 49723: vcs_info quilt: Use quilt-patch-dir and ${QUILT_PATCHES} even when ↵Daniel Shahaf2022-01-291-21/+24
| | | | | | | | | | | | get-unapplied hasn't been set This affects the post-quilt hook. Before this patch, if no patches have been applied and get-unapplied hasn't been set, the second argument to that hook would undergo null elision. The generation of patch subjects for the gen-applied-string, gen-unapplied-string, and set-patch-format hooks was unaffected since it was guarded by [[ -n $patches ]].
* 49722: vcs_info quilt: Refactor for readability. No functional change.Daniel Shahaf2022-01-291-6/+7
|
* unposted: vcs_info quilt: Remove a no-op variable assignmentDaniel Shahaf2022-01-271-1/+0
|
* 45543: vcs_info quilt: Allow quiltcommand to be a function.Daniel Shahaf2020-03-151-2/+3
| | | | Before this commit, it could only be an external command.
* 44958: vcs_info quilt: Avoid forksDaniel Shahaf2019-11-291-5/+5
|
* 43618: vcs_info: Don't redefine helper functions on every execution of the ↵Daniel Shahaf2018-10-081-2/+5
| | | | | | | autoloadable outer function. This allows enabling tracing of the helper functions without fned'ing the outer function.
* 40480: vcs_info set-patch-format: Eliminate the remaining code duplication.Daniel Shahaf2017-02-031-8/+2
|
* 40479: vcs_info set-patch-format: Prepare for more code sharing between the ↵Daniel Shahaf2017-02-031-1/+2
| | | | | | callers. This changes hook invocation order in the hg backend.
* 40476: vcs_info $backend_misc: Document at the right point, provide in quilt ↵Daniel Shahaf2017-02-031-0/+1
| | | | 'standalone' mode.
* 40403/0004: vcs_info set-patch-format helper: Part #4.Daniel Shahaf2017-01-251-7/+2
| | | | | This also fixes the %a (${hook_com[all-n]}) expando in the hg backend: before this change, it counted only unapplied changes.
* 40403/0003: vcs_info set-patch-format helper: Part #3.Daniel Shahaf2017-01-251-6/+2
|
* 40403/0002: vcs_info set-patch-format helper: Part #2.Daniel Shahaf2017-01-251-6/+2
| | | | | Not all callers reset ${hook_com}, but those that don't, immediately overwrite it a few lines later.
* 40403/0001: vcs_info set-patch-format helper: Part #1.Daniel Shahaf2017-01-251-10/+1
|
* unposted: vcs_info: Break out VCS_INFO_quilt-patch2subject into ↵Daniel Shahaf2016-12-011-48/+1
| | | | | | VCS_INFO_patch2subject ... so other places can use it; compare 40030 in the 39990 thread.
* 39046 + 39061: New :P history modifier.Daniel Shahaf2016-08-221-1/+1
|
* 38610: vcs_info quilt: Extract a patch subject, 2.0.Daniel Shahaf2016-06-061-4/+38
|
* 38609: vcs_info quilt: Factor out a helper function. No functional change.Daniel Shahaf2016-06-061-13/+22
|
* 36913 + 36945: vcs_info quilt: Pass patch subject lines to gen-applied-stringDaniel Shahaf2015-10-241-0/+30
| | | | The format used is '${patchname} ${subject}', which is analogous to the git backend.
* 36912: vcs_info quilt: Tolerate being in child of .pc's parentDaniel Shahaf2015-10-241-0/+1
| | | | | Without this, gen-applied-string would only be set when .pc is a child of cwd, not when it is a child of an ancestor of cwd.
* 36077: vcs_info: stop exporting everythingMikael Magnusson2015-08-121-3/+3
|
* PATCH: 34333: vcs_info quilt: fix unapplied detection in subdirMarc Finet2015-01-221-13/+17
| | | | | | | | | | | | | When patches are applied, let quilt use .pc without forcing the patch directory, this will fix the unapplied detection when being in subdir. When no patches are applied, use zstyle quilt-patch-dir then QUILT_PATCHES then "patches" for path to search for patches. Note: prefer setting quilt-patch-dir rather than QUILT_PATCHES for absolute path because when patches are applied, quilt unapplied will not return the correct list (i.e. the whole list rather that the one specified by .pc/.quilt_series).
* 33148: vcs_info quilt: refactor standalone detectionMarc Finet2014-09-141-5/+3
| | | | | | Since VCS_INFO_bydir_detect always uses the vcs_comm[detect_need_file], it should be cleared when querying it without file.
* Stepan Koltsov: vcs_info: %a to output number of all patches in ↵Frank Terbeck2012-08-171-3/+5
| | | | (no)?patch-format styles
* Seth House, Simon Ruderich and myself: 27948: various vcs_info changesFrank Terbeck2010-05-101-0/+190
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.