Øystein Walle
7872a5becd
31854: _git: Make git-show accept diff arguments
2013-10-21 17:39:48 +02:00
Øystein Walle
34ba14e1ec
31853: _git: Add missing column.* config variables
2013-10-21 17:39:46 +02:00
m0viefreak
8a70a98577
31754: _git: git rm: make git rm --cached work as intended
...
While limiting the completion to __git_changed-in-index_files
makes perfect sense for "git diff", it is wrong to use for
"git rm", because it prevents it from completing files present in
HEAD. Giving --cached to git rm is supposed to
"just remove it from the index, keep the working tree copy"
and is in no way related to the file needing to be
modified in the index in the first place.
2013-09-22 14:01:16 +02:00
Øystein Walle
2025b05bcf
31752: _git: change completion text for consistency
2013-09-22 14:01:15 +02:00
m0viefreak
128de883bd
31753: _git: correct some "undocumented" options
...
diff options:
--cumulative is deprecated --> remove
-G / -S: reword -S to emphase the difference to -G
revision options:
--abbrev: reword, to emphase the --abbrev-commit requirement
2013-09-22 14:01:15 +02:00
Øystein Walle
cf0eae5d96
31751: _git: remove TODOs of actually documented options
...
No functional changes.
2013-09-22 14:01:14 +02:00
Øystein Walle
ab05a3d6d4
31749: _git: fix some typos in description texts
2013-09-22 14:01:13 +02:00
m0viefreak
735e7becb9
31748: _git: support completing remote branches without <remote>/ prefix
...
this is used in git 1.8's
git checkout <branch>
as a shorthand for
git checkout -b <branch> --track <remote>/<branch>
in case <branch> exists on exactly one remote and is not a local branch
2013-09-22 14:01:12 +02:00
m0viefreak
e45f685d4a
31746: _git: reword _git-config TODO
...
Support for merge drivers, filter drivers, and diff drivers is
missing.
2013-09-22 14:01:12 +02:00
Øystein Walle
5ec6a1510a
31750: _git: add new configuration options to match latest git v1.8.3
2013-09-22 14:01:11 +02:00
Øystein Walle
6c4c11929c
31747: _git: completion updates to match latest git v1.8.3 part 2
2013-09-22 14:01:10 +02:00
m0viefreak
f20ba1a51e
31755: _git: completion updates to match latest git v1.8.3
2013-09-22 14:01:09 +02:00
m0viefreak
06d58592ab
31745: _git: correctly use __git_guard_number in some cases
...
The space is relevant to make the help text work as intended.
2013-09-22 14:01:08 +02:00
m0viefreak
ef4157fac4
31744: _git: make git submodule <cmd> completion work
...
The -A parameter in the main completion stopped completion
in the subcommands from working. Remove it.
2013-09-22 14:01:08 +02:00
m0viefreak
2813d8aa98
31743: _git: fix usage of ->int: for some entries in _git-config
2013-09-22 14:01:07 +02:00
m0viefreak
5f427b8245
31741: _git: fix a wrong variable in __git_config_values
...
This probably was a copy/paste mistake.
2013-09-22 14:01:06 +02:00
Luka Perkov
075ad840d6
31726: _git: add few more arguments for cherry-pick and revert
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
2013-09-14 11:21:34 +02:00
Luka Perkov
c721356646
31708: _git: add --fixup and --squash options to commit
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
2013-09-07 10:09:11 +02:00
Luka Perkov
a4245da999
31702: check for git rebase -i for autosquash
2013-09-06 21:48:00 +01:00
Ramkumar Ramachandra
2ea9cd4775
31288: _git: fix shortlog completer
...
Currently, __git-shortlog () says that 'git shortlog' can only accept
commits as arguments (probably because the official documentation says
this). This is entirely untrue: shortlog can accept
commit-range-or-file, just like log can. Fix the completer by copying
out segments from the __git-log () function.
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
2013-04-25 14:36:08 +02:00
Ramkumar Ramachandra
cbdedcfbfe
31289: _git: branch.*.pushremote, remote.pushdefault
...
The configuration variables branch.*.pushremote and remote.pushdefault
are relatively new, and are currently not completed by ZSH. Fix this.
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
2013-04-21 12:12:44 +02:00
Ramkumar Ramachandra
d1a3075293
31286: _git: add a couple of browsers
...
Add google-chrome/chromium to the list of builtinbrowsers in
__git_browsers ().
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
2013-04-21 12:12:43 +02:00
Torstein Hegge
cc7437bf2f
31159: git: Pass prefix filter to ls-files even if it matches no files
...
When a branch or tag name is completed with zsh in a large git repo, the
completion is slow if the given prefix doesn't match a file or directory in
the current working directory. Testing with linux.git, which contains release
tags like v3.9 and a directory virt/:
git log v<tab>
takes about 0.5 seconds, while
git log v3<tab>
takes about 25 seconds.
(Timed using zsh 4.3.17, on a fairly slow cpu. zsh from git appears to be
quite a bit faster, but the difference between completing v and v3 is still
large.)
The difference between the two is that v<tab> passes the result of v* to git
ls-files while v3<tab> determines that v3* matches no files, and passes an
empty prefix to git ls-files. So git ls-files lists all files in the repo
and passes that on to _multi_parts.
Making git do the expansion of the * after the prefix lets git ls-files v3*
return an empty list, making _multi_parts job easier.
This does not affect the behavior of git log <tab>, but improves the
performance of partial tag and branch tab-completion in the common case where
file names and tag/branch names don't overlap.
2013-04-20 22:29:02 +02:00
Frank Terbeck
abb32da0e7
31221: Handle zero defined aliases better
2013-04-05 20:19:33 +02:00
Oliver Kiddle
ce658b3c3c
Benjamin R. Haskell: 30737: make custom completions for git aliases easier
2012-11-07 21:23:06 +00:00
Oliver Kiddle
a8ffff2cb7
users/17382: complete URLs for vim and make _remote_files more
...
consistent with _files
2012-11-07 20:59:09 +00:00
Mikael Magnusson
43ddb73297
unposted: fix a typo in _git from previous commit (reolved)
2012-03-06 16:38:25 +00:00
Clint Adams
45090b19df
30317: complete git merge --ff-only
2012-03-06 02:36:12 +00:00
Oliver Kiddle
c5fce37bce
30199: add (-.) to many completion _files globs
2012-02-10 17:09:05 +00:00
Mikael Magnusson
02dc5c681e
29998: _git: fix a typo (--rerbose).
2011-12-13 19:28:19 +00:00
Simon Ruderich
d374f2b180
29918: Completion: Add new _remote_files() helper and use it to reduce code duplication.
2011-12-09 22:39:08 +00:00
Simon Ruderich
6540e8d8cf
29916: Completion/Unix/Command/_git: Prevent clash with _remote_files() in _ssh.
2011-11-24 21:21:46 +00:00
Nikolai Weibull
9e8cdf31b9
29698: Completion/Unix/Command/_git: Complete diff options for git log
2011-08-17 10:50:26 +00:00
Nikolai Weibull
6b42b83f41
* 29582, 29589: Update handling of third-party Git commands
2011-07-22 13:08:25 +00:00
Nikolai Weibull
53998c2cf5
unposted: Completion/Unix/Command/_git: Use _files, not _path_files.
2011-07-22 09:44:22 +00:00
Nikolai Weibull
aad36667de
unposted: Completion/Unix/Command/_git: Adjust some TODO items.
2011-07-21 11:37:45 +00:00
Nikolai Weibull
3eb0846645
unposted: Completion/Unix/Command/_git: Update git-add completion to not
...
complete already given file arguments and also to not list file completions if
an option is being completed.
2011-07-21 10:03:09 +00:00
Nikolai Weibull
d37eda52f3
unposted: Completion/Unix/Command/_git: Fix bug in git-add completion that
...
prevented -f option from being used correctly.
2011-07-21 09:15:41 +00:00
Nikolai Weibull
e3c1917345
unposted: Completion/Unix/Command/_git: Move _gitk and _tig to correct
...
location.
2011-07-21 09:08:32 +00:00
Nikolai Weibull
6502b38277
29272: Completion/Unix/Command/_git: Use return values correctly accross all
...
completion functions.
2011-07-21 09:05:57 +00:00
Frank Terbeck
eefe297228
29521: _git: Add `user-commands' support again.
2011-07-01 07:38:45 +00:00
Frank Terbeck
77b0e65eda
29519: _git: Pick up addon completions from $fpath.
2011-07-01 07:38:16 +00:00
Frank Terbeck
f5ba9011f0
29527: _git: Make file-completion fallback optional.
2011-07-01 07:37:44 +00:00
Frank Terbeck
3761265e45
29518: _git: Fall back to file completion for unknown sub-commands.
2011-07-01 07:36:48 +00:00
Nikolai Weibull
23102b3a9b
unposted: Completion/Unix/Command/_git: Update git-branch completion to deal
...
with -r and -d correctly.
2011-05-29 15:10:30 +00:00
Mikael Magnusson
59a0b52e61
29328: Another missing backslash in _git, remove some not needed backslashes in array definitions.
2011-05-22 02:13:55 +00:00
Mikael Magnusson
72cb7cfc6f
29307, 29308 + replies: Fix some doubled words in docs and comments.
2011-05-19 16:10:46 +00:00
Wayne Davison
a88f38b2c4
29315: add a missing backslash.
2011-05-18 22:12:18 +00:00
Frank Terbeck
c02d14eae3
Nikolai Weibull: 29166: _git: Speed improvements for file completion.
2011-05-17 18:42:57 +00:00
Nikolai Weibull
62444c9bfc
29273: Completion/Unix/Command/_git: Fix __git_guard_number
2011-05-17 17:15:13 +00:00
Mikael Magnusson
9a5fcb3c31
Nikolai Weibull: 29124: Fix -l option in _git.
2011-05-12 16:01:19 +00:00
Wayne Davison
15180bc0ec
29187: add a missing backslash.
2011-05-08 21:19:29 +00:00
Frank Terbeck
e38f65bba4
Simon Ruderich: 29041: _git: Add completion for `tig'.
2011-04-25 15:04:47 +00:00
Frank Terbeck
12d12ebc92
Felipe Contreras: 29028: _git: Add useful completion for `gitk'.
2011-04-25 11:50:14 +00:00
Frank Terbeck
37bb9f7353
Valentin Haenel: 29019: Fix git stash completion (apply and pop subcommands).
2011-04-21 20:57:51 +00:00
Frank Terbeck
fe5109bc43
Simon Ruderich: 28927: Fix "git tag -v" completion.
2011-04-15 14:32:09 +00:00
Frank Terbeck
cce858f5ae
Nikolai Weibull: 28913: Fix typo which broke `send-email' completion.
2011-03-18 22:43:19 +00:00
Frank Terbeck
b85b9a229d
Nikolai Weibull: 28911: Only show modified files for git-checkout without tree.
2011-03-18 22:39:41 +00:00
Frank Terbeck
9e2278e0c1
Nikolai Weibull: 28914: Typo fix in `cvsexportcommit' description
2011-03-18 22:35:52 +00:00
Wayne Davison
f2c4bb42f0
Nikolai Weibull's latest version.
2011-02-27 23:29:53 +00:00
Wayne Davison
ddee5deb2d
Add completion for help subcommand to _git.
2010-12-04 18:08:12 +00:00
Clint Adams
7be8594c8c
28411: complete submodule and annex as subcommands; complete files when the subcommand is unknown.
2010-11-14 19:43:01 +00:00
Wayne Davison
c0325f5233
28000: make the branch arg for "git log" optional.
2010-07-24 19:01:22 +00:00
Frank Terbeck
ce22f32bcb
Holger Weiss: Completion/Unix/Command/_git: various fixes and enhancements.
2010-06-17 12:22:32 +00:00
Doug Kearns
a54fdc70be
unposted: fix incorrectly capitalized completion descriptions
2010-06-06 13:44:11 +00:00
Frank Terbeck
c617e5a07b
Holger Weiss: 27977: _git shouldn't return 0 if there are no matches.
2010-06-03 10:34:08 +00:00
Frank Terbeck
b0aec8054c
* 27813: Simon Ruderich: Completion/Unix/Command/_git: Complete some generic symbolic references as heads.
2010-05-02 08:56:25 +00:00
Frank Terbeck
d4bf6fcb84
27798: Alexey I. Froloff: Completion/Unix/Command/_git: support for the `--interactive' option of "git commit".
2010-04-14 22:29:25 +00:00
bewater
b2daf9a6fa
_git: support for user-specific sub commands
2010-03-04 16:13:54 +00:00
Peter Stephenson
35971d292b
Frank: 27705: git notes completion
2010-02-13 19:09:28 +00:00
Peter Stephenson
efaf292480
Frank: 27702: git notes completion
2010-02-13 19:04:42 +00:00
Peter Stephenson
c7767889b0
Alexey I. Froloff: 27470: _git update
2009-12-13 22:30:29 +00:00
Clint Adams
4f622ad570
26937: have git log
complete files after branch/range.
2009-05-06 16:38:39 +00:00
Clint Adams
af014926d7
Kalle Olavi Niemitalo: 26850: fix breakage in git write-tree and git send-pack.
2009-04-20 03:15:43 +00:00
Clint Adams
5f26203583
Simon Ruderich: 26800: Completion/Unix/Command/_git: fixes for "git add" completion.
2009-04-04 14:53:01 +00:00
Clint Adams
3b3ff37cc5
Mikael Magnusson: 26596: new git options.
2009-02-25 02:52:47 +00:00
Clint Adams
4b2549e2f4
Ingmar Vanhassel: 26474: add "git describe --tags" completion and fix typos.
2009-01-29 18:10:45 +00:00
Clint Adams
8489d8eb01
Ingmar Vanhassel: 26473: complete "git commit --cleanup=" and "git commit --allow-empty".
2009-01-29 18:09:26 +00:00
Clint Adams
2d61198457
Ingmar Vanhassel: 26472: complete "git add --intent-to-add".
2009-01-29 18:06:37 +00:00
Clint Adams
c1f0bf30a3
Ingmar Vanhassel: 26471: update "git rebase" completion.
2009-01-29 18:05:28 +00:00
Clint Adams
218a7258b4
Ingmar Vanhassel: 26470: update "git svn" completion.
2009-01-29 18:03:06 +00:00
Clint Adams
0b9e0fc3c5
Ingmar Vanhassel: 26469: complete "git clone --verbose".
2009-01-29 17:40:07 +00:00
Clint Adams
f958e846e4
Ingmar Vanhassel: 26468: "git stage" is now a synonym for "git add". git diff: --staged is a synonym for --cached.
2009-01-29 17:37:48 +00:00
Clint Adams
4ddc411d71
Ingmar Vanhassel: 26467: add "git remote rename" completion.
2009-01-29 17:34:27 +00:00
Doug Kearns
351ebc1d09
26360: add --work-tree option to git completion
2009-01-19 02:58:06 +00:00
Clint Adams
61e692400b
Richard Hartmann: 26114: add color options.
2008-12-09 00:44:49 +00:00
Clint Adams
dc9f889867
25833: remove zparseopts line obsoleted by 25824.
2008-10-09 22:15:19 +00:00
Clint Adams
ca3182ad3d
Jörg Sommer: 25824: make it possible to use abbreviated paths for tree files.
2008-10-09 21:54:09 +00:00
Clint Adams
2ea9873873
unposted: brown paper bag patch management of 25718.
2008-09-23 17:27:28 +00:00
Clint Adams
fc38b76a60
Jörg Sommer: 25718: add completion of option --reverse.
2008-09-22 17:26:51 +00:00
Clint Adams
f95570c403
Frank Terbeck: 25640: another alias handling fix.
2008-09-10 22:56:37 +00:00
Clint Adams
07462f8303
Frank Terbeck: 25624: clean up git alias parsing.
2008-09-07 16:52:26 +00:00
Clint Adams
63333a5224
Mikael Magnusson: 25594: "git clean" cleanup.
2008-09-02 18:04:53 +00:00
Clint Adams
93fc754422
Mikael Magnusson: 25591: "git remote rm" completion.
2008-09-01 20:40:28 +00:00
Clint Adams
fd2f37d84b
Mikael Magnusson: 25590: update "git add" completion.
2008-09-01 20:38:03 +00:00
Clint Adams
a156e4714e
Frank Terbeck: 25588: add --no-pager option to git completion.
2008-09-01 20:27:46 +00:00
Clint Adams
2c9138bc21
25585: fix git command completion when there are arguments after the cursor position.
2008-09-01 19:24:54 +00:00
Clint Adams
eeed289814
Frank Terbeck: 25583: more git alias fixes.
2008-09-01 18:49:32 +00:00
Clint Adams
2c52a13aa5
Frank Terbeck: 25561: fix quoting with aliases.
2008-08-31 16:09:08 +00:00
Clint Adams
ba539203f9
Mikael Magnusson: 25564: suppress error output in __git_is_treeish.
2008-08-31 16:05:05 +00:00