<feed xmlns='http://www.w3.org/2005/Atom'>
<title>zsh/Functions/VCS_Info/VCS_INFO_set-patch-format, branch declarednull</title>
<subtitle>[no description]</subtitle>
<id>http://git.sudomsg.com/mirror/zsh/atom?h=declarednull</id>
<link rel='self' href='http://git.sudomsg.com/mirror/zsh/atom?h=declarednull'/>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/'/>
<updated>2020-08-09T08:07:01Z</updated>
<entry>
<title>47303: vcs_info hg: Fix changing the expansion of %g (hook_com[guards]) in the set-patch-format hook (regression from workers/40480).</title>
<updated>2020-08-09T08:07:01Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>d.s@daniel.shahaf.name</email>
</author>
<published>2020-08-08T07:29:34Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=5448e1611d2cc4cb436fedfc3e7ff0f1ebfc766b'/>
<id>urn:sha1:5448e1611d2cc4cb436fedfc3e7ff0f1ebfc766b</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>43620 (tweaked): vcs_info git: Reverse the order patches are passed to gen-unapplied-string in.</title>
<updated>2018-10-08T13:44:40Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>d.s@daniel.shahaf.name</email>
</author>
<published>2018-10-07T17:46:43Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=e38f15f8ff23651a8c4ef9fc394de7be93eb620f'/>
<id>urn:sha1:e38f15f8ff23651a8c4ef9fc394de7be93eb620f</id>
<content type='text'>
This is an incompatible change; see README for details.

Tweaks (relative to posted version): tweaked README, removed scalpel (debug print).
</content>
</entry>
<entry>
<title>40492: vcs_info: Escape '%' signs in payloads.</title>
<updated>2017-02-09T15:24:04Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>d.s@daniel.shahaf.name</email>
</author>
<published>2017-02-05T08:28:13Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=ecd88284f358cbcd787757184bbf8704779cab1a'/>
<id>urn:sha1:ecd88284f358cbcd787757184bbf8704779cab1a</id>
<content type='text'>
Test case: a patch whose subject is '%Sfoo%sbar'.  ('S' and 's' are
expandos both in prompts and in the 'formats' style.)
</content>
</entry>
<entry>
<title>40480: vcs_info set-patch-format: Eliminate the remaining code duplication.</title>
<updated>2017-02-03T18:14:01Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>d.s@daniel.shahaf.name</email>
</author>
<published>2017-02-01T19:05:45Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=33c0a104482a0299d5d065b88c180ea6975269c0'/>
<id>urn:sha1:33c0a104482a0299d5d065b88c180ea6975269c0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>40479: vcs_info set-patch-format: Prepare for more code sharing between the callers.</title>
<updated>2017-02-03T18:14:00Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>d.s@daniel.shahaf.name</email>
</author>
<published>2017-02-01T19:05:44Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=9211d7f2777abaedfacf98812104d579c3b861f3'/>
<id>urn:sha1:9211d7f2777abaedfacf98812104d579c3b861f3</id>
<content type='text'>
This changes hook invocation order in the hg backend.
</content>
</entry>
<entry>
<title>40478: vcs_info set-patch-format: Guard against empty variable elision.</title>
<updated>2017-02-03T18:13:58Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>d.s@daniel.shahaf.name</email>
</author>
<published>2017-02-01T19:05:42Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=3a1756b7280e42d14de58ad90990cf4b04731b3b'/>
<id>urn:sha1:3a1756b7280e42d14de58ad90990cf4b04731b3b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>40403/0004: vcs_info set-patch-format helper: Part #4.</title>
<updated>2017-01-25T04:22:32Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>d.s@daniel.shahaf.name</email>
</author>
<published>2017-01-23T18:15:35Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=2854a67e09748a2e6f4e1d8a73bc463bad4cbd4e'/>
<id>urn:sha1:2854a67e09748a2e6f4e1d8a73bc463bad4cbd4e</id>
<content type='text'>
This also fixes the %a (${hook_com[all-n]}) expando in the hg backend:
before this change, it counted only unapplied changes.
</content>
</entry>
<entry>
<title>40403/0003: vcs_info set-patch-format helper: Part #3.</title>
<updated>2017-01-25T04:22:32Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>d.s@daniel.shahaf.name</email>
</author>
<published>2017-01-23T18:15:35Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=edd9798de765049a904e0afa830b191d1932087d'/>
<id>urn:sha1:edd9798de765049a904e0afa830b191d1932087d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>40403/0002: vcs_info set-patch-format helper: Part #2.</title>
<updated>2017-01-25T04:22:31Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>d.s@daniel.shahaf.name</email>
</author>
<published>2017-01-23T18:15:35Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=270285733442a46cd157ade4600e4073e255a563'/>
<id>urn:sha1:270285733442a46cd157ade4600e4073e255a563</id>
<content type='text'>
Not all callers reset ${hook_com}, but those that don't, immediately
overwrite it a few lines later.
</content>
</entry>
<entry>
<title>40403/0001: vcs_info set-patch-format helper: Part #1.</title>
<updated>2017-01-25T04:22:30Z</updated>
<author>
<name>Daniel Shahaf</name>
<email>d.s@daniel.shahaf.name</email>
</author>
<published>2017-01-23T18:15:35Z</published>
<link rel='alternate' type='text/html' href='http://git.sudomsg.com/mirror/zsh/commit/?id=0ea1957608a6b496fc244078ce9e24f00327aba9'/>
<id>urn:sha1:0ea1957608a6b496fc244078ce9e24f00327aba9</id>
<content type='text'>
</content>
</entry>
</feed>
