<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/contrib/git-jump, branch v2.32.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.32.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.32.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2018-06-22T19:59:02Z</updated>
<entry>
<title>contrib/git-jump/git-jump: jump to exact location</title>
<updated>2018-06-22T19:59:02Z</updated>
<author>
<name>Taylor Blau</name>
<email>me@ttaylorr.com</email>
</author>
<published>2018-06-22T15:49:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=240cf2a25744b45c514fe850363721615a1c4b8c'/>
<id>urn:sha1:240cf2a25744b45c514fe850363721615a1c4b8c</id>
<content type='text'>
Take advantage of 'git-grep(1)''s new option, '--column' in order to
teach Peff's 'git-jump' script how to jump to the correct column for any
given match.

'git-grep(1)''s output is in the correct format for Vim's jump list, so
no additional cleanup is necessary.

Signed-off-by: Taylor Blau &lt;me@ttaylorr.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-jump: give contact instructions in the README</title>
<updated>2017-11-21T02:01:02Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2017-11-20T19:18:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f5da077b1f9e28a473f8219d8b8391450b794abf'/>
<id>urn:sha1:f5da077b1f9e28a473f8219d8b8391450b794abf</id>
<content type='text'>
Let's make it clear how patches should flow into
contrib/git-jump. The normal Git maintainer does not
necessarily care about things in contrib/, and authors of
individual components should be the ones giving the final
review/ack for a patch. Ditto for bug reports, which are
likely to get more attention from the area expert.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Reviewed-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>contrib/git-jump: allow to configure the grep command</title>
<updated>2017-11-21T02:00:27Z</updated>
<author>
<name>Beat Bolli</name>
<email>dev+git@drbeat.li</email>
</author>
<published>2017-11-19T23:05:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=007d06aa57e673c95da583d2afa30bb14fb69e28'/>
<id>urn:sha1:007d06aa57e673c95da583d2afa30bb14fb69e28</id>
<content type='text'>
Add the configuration option "jump.grepCmd" that allows to configure the
command that is used to search in grep mode. This allows the users of
git-jump to use ag(1) or ack(1) as search engines.

Signed-off-by: Beat Bolli &lt;dev+git@drbeat.li&gt;
Reviewed-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>contrib/git-jump: fix typo in README</title>
<updated>2016-07-22T19:34:51Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2016-07-22T16:30:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a91e6925f66f6c08bc6e27aa1278c1df0dfffac8'/>
<id>urn:sha1:a91e6925f66f6c08bc6e27aa1278c1df0dfffac8</id>
<content type='text'>
Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>contrib/git-jump: add whitespace-checking mode</title>
<updated>2016-07-22T19:33:58Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2016-07-22T16:35:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1af9c6096a7ec6cba3a5f7d359cb1caf2152496a'/>
<id>urn:sha1:1af9c6096a7ec6cba3a5f7d359cb1caf2152496a</id>
<content type='text'>
If you have whitespace errors in lines you've introduced, it
can be convenient to be able to jump directly to them for
fixing.  You can't quite use "git jump diff" for this,
because though it passes arbitrary options to "git diff", it
expects to see an actual unified diff in the output.

Whereas "git diff --check" actually produces lines that look
like compiler quickfix lines already, meaning we just need
to run it and feed the output directly to the editor.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>contrib/git-jump: fix greedy regex when matching hunks</title>
<updated>2016-07-22T19:33:45Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2016-07-22T16:28:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=74a7fa44d36c3e93febccdea5f44ff78555463d0'/>
<id>urn:sha1:74a7fa44d36c3e93febccdea5f44ff78555463d0</id>
<content type='text'>
The hunk-header regex looks for "\+\d+" to find the
post-image line numbers, but it skips the pre-image line
numbers with a simple ".*". That means we may greedily eat
the post-image numbers and match a "\+\d" further on, in the
funcname text.

For example, commit 6b9c38e has this hunk header:

  diff --git a/t/t0006-date.sh b/t/t0006-date.sh
  [...]
  @@ -50,8 +50,8 @@ check_show iso-local "$TIME" '2016-06-15 14:13:20 +0000'

If you run:

  git checkout 6b9c38e
  git jump diff HEAD^ t/

it will erroneously match "+0000" as the starting line
number and jump there, rather than line 50.

We can fix it by just making the "skip" regex non-greedy,
taking the first "+" we see, which should be the post-image
line information.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-jump: ignore (custom) prefix in diff mode</title>
<updated>2012-09-17T19:31:57Z</updated>
<author>
<name>Mischa POSLAWSKY</name>
<email>git@shiar.nl</email>
</author>
<published>2012-09-17T01:21:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6108b04b708f6aa5d4a9349a240b5261fdab0cdf'/>
<id>urn:sha1:6108b04b708f6aa5d4a9349a240b5261fdab0cdf</id>
<content type='text'>
Matching the default file prefix b/ does not yield any results if config
option diff.noprefix or diff.mnemonicprefix is enabled.

Signed-off-by: Mischa POSLAWSKY &lt;git@shiar.nl&gt;
Acked-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>contrib: add git-jump script</title>
<updated>2011-10-21T20:55:59Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2011-10-21T17:28:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=21e4631c076f4b7defcdbe3876873486352310f1'/>
<id>urn:sha1:21e4631c076f4b7defcdbe3876873486352310f1</id>
<content type='text'>
This is a small script for helping your editor jump to
specific points of interest. See the README for details.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
