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
Clint Adams
e6b72c76ca
Frank Terbeck: 25551: remove a stray period from a description.
2008-08-30 11:36:42 +00:00
Clint Adams
7ce0886cb3
Mikael Magnusson: 25539: more 'git clone' fixes.
2008-08-29 02:39:21 +00:00
Clint Adams
85c028bd25
Frank Terbeck: 25538: add missing backslash.
2008-08-29 02:28:21 +00:00
Clint Adams
4ee3f5ffe2
Frank Terbeck: 25537: add --abort to options for 'git am'.
2008-08-29 02:26:32 +00:00
Clint Adams
9d7298bac8
25521: get merge strategies from git merge in case the administrator has added custom strategies.
2008-08-24 19:48:09 +00:00
Clint Adams
46c4588a2b
Mikael Magnusson: 25499: add function to validate tree-ishs.
2008-08-21 12:25:18 +00:00
Clint Adams
7b559ca54a
25495: always complete cached files after git checkout --.
2008-08-21 01:03:18 +00:00
Clint Adams
ed34e682ad
25493: allow -q to be used in all git checkout contexts.
2008-08-21 00:38:20 +00:00
Clint Adams
d5a328eafc
25491: patch to improve "git checkout" completion, from Mikael Magnusson.
2008-08-21 00:13:07 +00:00
Clint Adams
cdd9f7751c
25489: remove cruft for "git octopus/octupus".
2008-08-19 01:55:06 +00:00
Clint Adams
153d8f0ad0
25488: patch to complete things after "git bisect start", Mikael Magnusson.
2008-08-19 01:44:45 +00:00
Clint Adams
117d3ded00
25487: whitespace changes from Mikael Magnusson.
2008-08-19 01:10:15 +00:00
Clint Adams
123ebafbba
25486: patch to allow --shared to be completed without --local with git clone.
2008-08-19 01:07:25 +00:00
Clint Adams
a5c5174c00
25485: patch to allow --abbrev to be completed before -v with git branch, from Mikael Magnusson.
2008-08-19 01:00:59 +00:00
Clint Adams
51ba8a4faf
25480: add more quotes to the three _call_program invocations with git for-each-ref.
2008-08-18 22:47:44 +00:00
Clint Adams
51460525c0
Mikael Magnusson: 25473: add missing parenthesis.
2008-08-18 01:55:29 +00:00
Clint Adams
cbca622b57
unposted: additional git branch options.
2008-08-18 01:52:40 +00:00
Clint Adams
45195791a8
25475: determine heads, tags, and branches through git for-each-ref instead of git tag and git branch.
2008-08-18 01:49:18 +00:00
Clint Adams
6f0734c632
25469: assorted changes cherry-picked from Mikael Magnusson.
2008-08-17 14:05:59 +00:00
Clint Adams
1ed1af9812
25465: patch from Mikael Magnusson to add more git-add and git-checkout options.
2008-08-16 18:33:30 +00:00
Clint Adams
c960e8a83b
unposted: another typo fix.
2008-08-16 18:09:54 +00:00
Clint Adams
7438bada2f
25464: patch from Mikael Magnusson to add --graph.
2008-08-16 18:02:14 +00:00
Clint Adams
71b215074a
25463: patch to add git completion for --base/-1, --ours/-2 and --theirs/-3, from Mikael Magnusson.
2008-08-16 17:56:15 +00:00
Clint Adams
9a9759e340
25462: patch to add some -s -w to _arguments and new options for revert, from Mikael Magnusson.
2008-08-16 13:58:57 +00:00
Clint Adams
f413d1f4d9
25461: patch to add HEAD as a completion for heads, from Mikael Magnusson.
2008-08-16 13:28:28 +00:00
Clint Adams
ad001cc1e3
25460: patch to add the --branches/tags/remotes for rev-list to _git from Mikael Magnusson.
2008-08-16 13:00:25 +00:00
Clint Adams
ddd6af43ef
25457: improvements for git diff and git log.
2008-08-16 00:48:48 +00:00
Clint Adams
d1fba243ee
Mikael Magnusson: 25456: fix typo of "before".
2008-08-16 00:38:46 +00:00
Clint Adams
ac8d013c16
Frank Terbeck: 24455: Completion/Unix/Command/_git: handle git stashes.
2008-08-16 00:22:00 +00:00
Clint Adams
35cedab218
248??: some fixes and updates for git 1.5.5.
2008-04-17 03:00:07 +00:00
Clint Adams
238df34af4
24730: use --no-color when calling git commands that might output color codes.
2008-03-23 16:18:17 +00:00
Clint Adams
9e1c419497
24702: fix 24701
2008-03-09 12:29:52 +00:00
Clint Adams
2448f0f7aa
24701: use $service instead of $words[1] so completion will work if git is an alias to a wrapper.
2008-03-09 12:16:54 +00:00
Clint Adams
969913577e
24622: add completion for 'git bisect skip' and 'git bisect run'.
2008-02-28 17:20:43 +00:00
Clint Adams
cf416b753e
24464: remove trailing whitespace.
2008-01-25 13:56:04 +00:00
Clint Adams
1445c65e53
24442: compensate for some breakage introduced by 24396.
2008-01-22 17:17:00 +00:00
Clint Adams
73ccdcff0a
24441: compensate for some breakage introduced by 24396.
2008-01-22 17:07:16 +00:00
Clint Adams
dd703246bb
24437: compensate for some breakage introduced by 24396.
2008-01-22 16:44:09 +00:00
Clint Adams
cb01b4b888
Frank Terbeck: 24413: handle completion when git aliases are used.
2008-01-22 01:33:40 +00:00
Clint Adams
898111026d
Mikael Magnusson: 24396: don't pass -r to git ls-files for performance reasons, compensate for lack of recursion.
2008-01-22 01:18:47 +00:00
Clint Adams
943cdc72f8
24140: spelling fix and removal of redundant "config" subcommand as proposed by Wayne.
2007-12-03 02:43:28 +00:00
Clint Adams
c406f4366e
Sean Finney: 24115: offer tags as well as heads where refspecs are valid.
2007-11-22 19:09:27 +00:00
Clint Adams
1777402dfa
24114: make colon suffix removable after the first part of refspecs.
2007-11-22 16:46:35 +00:00
Clint Adams
6282918912
Mikael Magnusson: 23999: improvements for git show, git rev-parse, et al.
2007-10-20 03:11:59 +00:00
Clint Adams
87e5a95601
23994: tweaks for 23993.
2007-10-19 02:26:16 +00:00
Clint Adams
1ef6728733
Mikael Magnusson: 23993: improved completion for git show.
2007-10-19 02:17:54 +00:00
Clint Adams
8eeb27e0e6
Mikael Magnusson: 23991: fix typo in __git_blobs().
2007-10-18 22:25:30 +00:00
Clint Adams
560da971cc
Mikael Magnusson: 23988: fix git-svn commands completion.
2007-10-18 20:52:42 +00:00
Clint Adams
25e841cdbb
23965: add missing bracket in completion for git svnimport.
2007-10-15 19:46:40 +00:00
Clint Adams
e18276d031
Mikael Magnusson: 23907: add --cached option to git-diff completion.
2007-10-06 01:09:22 +00:00
Clint Adams
c0cb5d31d1
23908: add missing backslash in _git-svn.
2007-10-06 00:58:14 +00:00
Clint Adams
b40b55d556
Mikael Magnusson: 23906: add missing backslash in _git-svn.
2007-10-06 00:48:14 +00:00
Clint Adams
930d43d7af
23905: remove useless gitdir assignment and scope array locally in new __git_changed_files function.
2007-10-04 08:32:14 +00:00
Clint Adams
79df5a832e
Mikael Magnusson: 23903: complete both modified and added files for git commit.
2007-10-04 08:24:32 +00:00