summary refs log tree commit diff
path: root/Src/parse.c
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2015-11-18 23:15:41 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2015-12-05 10:15:40 +0000
commite14540ac023451a53586b4d2fad00d22c4e98166 (patch)
tree99b6d98a31762cfa73fb1235a28ea95e2a3b2620 /Src/parse.c
parent6a3de994afdb4fe93b0967f1534e3ee31bc7f357 (diff)
downloadzsh-e14540ac023451a53586b4d2fad00d22c4e98166.tar.gz
zsh-e14540ac023451a53586b4d2fad00d22c4e98166.tar.xz
zsh-e14540ac023451a53586b4d2fad00d22c4e98166.zip
37150: _git: Autocomplete .. for commit ranges
This patch makes three changes:

- Enable 'git diff o/m<TAB>' to complete to 'origin/master..' with the
  ".." being autoremovable.

  This is implemented by the first hunk.  That hunk is a functional
  subset of Oliver's users/20705, however, the latter hasn't been
  committed.

- Make typing "^" remove the "..", in light of the syntax "foo^..bar".

- Make typing "." _not_ remove the ".." but simply append it, since
  "foo...bar" is a valid and useful syntax.
Diffstat (limited to 'Src/parse.c')
0 files changed, 0 insertions, 0 deletions