about summary refs log tree commit diff
path: root/Functions/VCS_Info/VCS_INFO_set-patch-format
Commit message (Collapse)AuthorAgeFilesLines
* 49727 (+ comment): vcs_info quilt: Pass the patches dir path to the ↵Daniel Shahaf2022-02-201-1/+7
| | | | | | gen-applied-string, gen-unapplied-string, and set-patch-format hooks I use that in my gen-applied-string hook.
* unposted: vcs_info: Add Vim modelinesDaniel Shahaf2022-01-291-0/+2
| | | | ... for consistency with all other vcs_info function files.
* 47303: vcs_info hg: Fix changing the expansion of %g (hook_com[guards]) in ↵Daniel Shahaf2020-08-091-2/+4
| | | | | | | | | | | | | | | | | | the set-patch-format hook (regression from workers/40480). To reproduce, go to a hg repository with active mq guards and configure vcs_info as follows: zstyle '*' get-unapplied true zstyle ':vcs_info:*set-patch-format*' hooks f zstyle '*' patch-format '[%g : %G]' zstyle '*' nopatch-format '[%g : %G]' zstyle '*' formats '%m' +vi-f () { hook_com[guards]+=XXX } The regression was first released in 5.3.1-test-2, over three years ago.
* 43620 (tweaked): vcs_info git: Reverse the order patches are passed to ↵Daniel Shahaf2018-10-081-0/+2
| | | | | | | | gen-unapplied-string in. This is an incompatible change; see README for details. Tweaks (relative to posted version): tweaked README, removed scalpel (debug print).
* 40492: vcs_info: Escape '%' signs in payloads.Daniel Shahaf2017-02-091-0/+14
| | | | | Test case: a patch whose subject is '%Sfoo%sbar'. ('S' and 's' are expandos both in prompts and in the 'formats' style.)
* 40480: vcs_info set-patch-format: Eliminate the remaining code duplication.Daniel Shahaf2017-02-031-1/+12
|
* 40479: vcs_info set-patch-format: Prepare for more code sharing between the ↵Daniel Shahaf2017-02-031-0/+3
| | | | | | callers. This changes hook invocation order in the hg backend.
* 40478: vcs_info set-patch-format: Guard against empty variable elision.Daniel Shahaf2017-02-031-2/+2
|
* 40403/0004: vcs_info set-patch-format helper: Part #4.Daniel Shahaf2017-01-251-0/+12
| | | | | 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-0/+9
|
* 40403/0002: vcs_info set-patch-format helper: Part #2.Daniel Shahaf2017-01-251-0/+10
| | | | | 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-0/+20