~ubuntu-branches/debian/sid/git/sid

« back to all changes in this revision

Viewing changes to contrib/git-jump/git-jump

  • Committer: Package Import Robot
  • Author(s): Jonathan Nieder
  • Date: 2013-06-12 07:50:53 UTC
  • mfrom: (1.2.19) (2.1.31 experimental)
  • Revision ID: package-import@ubuntu.com-20130612075053-uue9xe0dq0rvm44y
Tags: 1:1.8.3.1-1
* merge branch debian-experimental
* new upstream point release (see RelNotes/1.8.3.1.txt).
* debian/watch: use xz-compressed tarballs from kernel.org.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
}
22
22
 
23
23
mode_diff() {
24
 
        git diff --relative "$@" |
 
24
        git diff --no-prefix --relative "$@" |
25
25
        perl -ne '
26
 
        if (m{^\+\+\+ b/(.*)}) { $file = $1; next }
 
26
        if (m{^\+\+\+ (.*)}) { $file = $1; next }
27
27
        defined($file) or next;
28
28
        if (m/^@@ .*\+(\d+)/) { $line = $1; next }
29
29
        defined($line) or next;