1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-07-12 17:11:25 +02:00
Commit graph

446 commits

Author SHA1 Message Date
Daniel Hahler
895408bb81 completion: git: add missing return to __git_recent_commits 2015-05-17 19:54:15 +02:00
Daniel Shahaf
7990cf983e 35161: completion: git: Fix typo in 35061 2015-05-16 22:57:22 +00:00
Oliver Kiddle
32a448dc25 users/20219: fix completion for git options 2015-05-15 18:04:40 +02:00
Daniel Hahler
968c5ceaa7 35062: __git_setup_revision_options includes __git_setup_diff_options 2015-05-14 19:03:21 +02:00
Daniel Hahler
a1c1f6828c 35061: add __git_setup_diff_stage_options and use it with _git-diff-files and _git-diff explicitly 2015-05-14 19:00:32 +02:00
Daniel Hahler
fec4e7243b 35016: introduce new pretty formats %g[sdD] for reflog information 2015-05-14 18:56:23 +02:00
Daniel Hahler
b884853756 35060 + 35072: completion: git: split __git_heads into local and remote
It is useful to have this distinction visually.

This also uses `--format=%(refname:short)` directly with `git
for-each-ref`.
2015-05-12 00:59:07 +00:00
Daniel Shahaf
122bb9a125 34886: completion: git: Complete rebase --exec argument 2015-04-13 21:01:45 +00:00
Daniel Shahaf
7793ebcb71 34885: completion: git: Sort "commit object" completions most recent first 2015-04-13 20:59:19 +00:00
Daniel Shahaf
7929dd8cba 34885: completion: git: Fix another instance of the 34671 bug fixed in 34814 2015-04-13 20:59:02 +00:00
Daniel Hahler
ca8edaba92 34748: completion: git: update list of builtintools 2015-04-10 16:24:42 +00:00
Daniel Shahaf
727533088a 34814: completion: git: Fix bug introduced by 236da69
Based on a patch by Daniel Hahler <git@thequod.de>.
2015-04-01 09:44:26 +00:00
Daniel Hahler
0b79922edb 34762: completion: git: add short option for '--dir-diff' (_git-difftool) 2015-03-29 05:52:44 +00:00
Daniel Shahaf
e176eff554 34739: git completion: Fix regression in ce80a92
This restores the message when completing a commit object name that
isn't one of the most recent 20 commits.  e.g., 'git checkout deadbeef<TAB>'.
2015-03-19 06:51:32 +00:00
Daniel Shahaf
236da69842 34671 plus tweaks: Add -1 -2 -J -V -x to _describe, use them to sort 'git --fixup' hash completions 2015-03-16 09:27:06 +00:00
Daniel Shahaf
097dedf9ab 34671: git completion: only offer recent commits' tags/heads for --fixup 2015-03-16 09:25:39 +00:00
Daniel Hahler
ce80a925d6 34638 with tweaks: git completion: complete commit hashes and --fixup 2015-03-07 03:56:48 +00:00
Daniel Hahler
7d15b9a9cb 34468: completion: git: stash: handle 'save' being the default
"git stash" should complete arguments for "git stash save", but without
the message part.
2015-02-08 20:27:26 +01:00
Daniel Hahler
8f403ab25c 34467: completion: git: minor doc fixes
I am not sure about the deprecation of user-commands, but from other
places in the doc and commit history this deprecation was meant to be
reverted?!
2015-02-08 20:27:25 +01:00
Daniel Hahler
ffaf99288f 34469: git completion: add "stash" from refs/stash to __git_heads 2015-02-08 20:27:25 +01:00
Daniel Shahaf
a5333cc344 34444: git completion: minor improvements
- 'git rebase': complete arguments in the same word as the option

- 'git commit': provide message for --fixup/--squash
2015-02-02 15:32:59 +00:00
Wieland Hoffmann
9ca77b2143 _git: Change one --validate to --no-validate
As the description of that argument says, it's used to *not* perform
sanity checks.
2015-01-17 13:00:23 +01:00
Daniel Shahaf
c7850ac4f6 34042: _git: Respect tags for subcommand completion.
It is now possible to use the tag-order style to stagger the overwhelming
'git <TAB>' subcommand listing.  For example:

    zstyle ':completion::complete:git:argument-1:' tag-order \
        main-porcelain-commands user-commands third-party-commands \
        ancillary-manipulator-commands ancillary-interrogator-commands \
        plumbing-manipulator-commands plumbing-interrogator-commands \
        aliases
2015-01-05 15:57:42 +00:00
Peter Stephenson
9161a16b2e 33729: "git remote add" should complete local repositories 2014-11-23 21:03:37 +00:00
Oliver Kiddle
13fc579343 33467: correct return status on functions and numerous other minor fixes 2014-10-14 23:04:45 +02:00
Øystein Walle
95a6d965c5 33180: _git: add missing --3way option 2014-09-23 22:26:22 +02:00
Øystein Walle
93702691ec 33177: _git: fix typo in git-apply 2014-09-23 22:26:21 +02:00
Øystein Walle
d338cc5395 33178: _git: updates for Git 2.1.0
This incorporates changes mentioned in the release notes since 2.0.0.
2014-09-23 22:26:21 +02:00
Øystein Walle
56116a763a 33176: _git: Add missing --list to git-tag 2014-09-23 22:26:20 +02:00
Øystein Walle
8560d4ff31 33179: _git: updates for Git 2.0.0
This incorporates changes mentioned in the release notes since 1.9.0.
2014-09-23 22:26:20 +02:00
Marc Finet
089123f9e8 33150: completion git: fix send-email --confirm values 2014-09-14 12:02:38 +02:00
Marc Finet
ffd439b69b 33151: completion git: support aliases when \n exist
The git completion for aliases (i.e. completing with aliased verb)
was broken whem some \n exist in aliases.
2014-09-14 12:02:35 +02:00
Barton E. Schaefer
2e99ef809d un-transpose help text for git merge -{-no,}-verify 2014-08-24 08:43:40 -07:00
m0viefreak
cd2eb07a78 m0viefreak: users/18655,18657,18660: assorted auto-removable suffix fixes
Src/Zle/compresult.c, Src/Zle/zle_misc.c, Src/Zle/zle_refresh.c: fix
auto-removable suffix highlighting

Completion/Unix/Command/_git: fix compadd for auto-removable suffix in
_git_commit_ranges and _git_stash
2014-03-23 13:02:12 -07:00
Takeshi Banse
ab917d4a0e 32502: fix typo in argument list for git completio 2014-03-21 19:42:02 +00:00
Oliver Kiddle
079540cc78 users/18485: add .. as an auto-removable suffix in git revision ranges 2014-02-25 08:59:20 +01:00
m0viefreak
b97808fba2 32398: _git: completion updates up to latest git v1.9.0
- cherry-pick: allow commit ranges to be specified
- push: option is called --set-upstream and not --set-upstream-to
- status: offer -b,--branch when --porcelain or -z are given
  --porcelain and -z don't show the branch info by default, so it
  is needed to offer --branch for those options, too.
- checkout: add '--detach' option
- checkout: offer '-l' option when '--orphan' was given
- show-ref: update wording of --head and --heads according to man-page
- config: update default value for color.ui
  color-bool was changed to accept a default value as $parts[5]
- add support for 'cygstart' as a valid builtin browser on cygwin
- rebase: add suuport for --autostash and config.autostash
- update builtin browser list
- grep: add --{no,}textconv
- check-ignore: add --no-index
- update-ref: add --stdin -z
- add -C
- pull: add support for --rebase=preserve
- config: add support for http.*. options
- blame: -L can be given multiple times
- config: add support for http.savecookies
- push: add support for --force-with-lease
- diff: --diff-filter: allow lower-case variants (all-but ... specs)
- config: add support for 'fetch.prune' and 'remote.*.prune'
- check-ignore: -z: update message, check-attr: add -z
- config: add diff.orderfile
- revision options: add --exclude
- revision options: add --ignore-missing
- revision options: add --bisect
- rev-parse: add --stuck-long
- merge-base: add --fork-point
- config: implement submodule.*.update completion
- send-email: add --smtp-ssl-cert-path and config options
2014-02-18 12:22:21 +01:00
m0viefreak
f8e874ef9d 32397: _git: fix __git_submodules to only use the actual name of the submodule
The output of 'submodule status' is

Xsha1 name (describe)

X being one of -,+,U,[space]

We are only interested in the name part and not the whole line.

Fix the parameter expansions accordingly.
2014-02-18 12:22:21 +01:00
m0viefreak
139ee0e351 32395: _git: diff: refactor and fix wrong completions
Before this, there were several cases where the completion
would offer the wrong things:

$ git diff branch -- <tab>

would try to complete "changed in workdir files", but needs to
complete all "tree files in HEAD".

$ git diff --cached -- file1 file2 <tab>
would try to complete "changed in workdir files" but needs to
complete "changed in index files".

...

After this change all possible combinations are taken into
account and completion should work properly.
2014-02-18 12:22:16 +01:00
m0viefreak
946a99a0b3 32396: _git: fix __git_committish_range_{first,last} and __git_is_committish_range
- Ranges with 3 dots would always fail, because the non-greedy
  expansion  %..(.|)* in __git_committish_range_first would only
  remove '..' and never three dots. 'a...b' would end up in 'a.'.
  Use ${${1%..*}%.} instead.
- Use a similar approach for __git_committish_range_last.
- Wrap them in another expansion to replace empty results with 'HEAD'.
  Git man-page states omitted range ending are being replaced with
  HEAD. This rule has to be followed to make completions like
  'git log foo.. -- <tab>' work properly.
- Add an additional check to make sure none of the extracted first/last
  parts contain additional '..' in invalied ranges such as 'a..b..c'.
  This gets rid of the 'TODO:' and ideally saves a few unneded
  calls to git rev-parse.
2014-02-18 12:19:23 +01:00
Barton E. Schaefer
a2098b0b26 users/18368: compromise to restore partial path completion inadvertently removed by 31159 2014-01-27 21:54:13 -08:00
Hong Xu
567b494033 32069: completion for "git submodule update --remote" 2013-11-30 12:46:19 -08:00
Peter Stephenson
4163ebf4c7 unposted, see 32054: Rationalise character encoding.
Shell functions are strictly ASCII for maximum portability.

Other files within the distribution may contain UTF-8 characters.

Exception for test files: where they need single character input
with the top bit set, ISO-8859-X is used (X doesn't matter as
we don't need the Euro).
2013-11-27 15:56:44 +00:00
Øystein Walle
95a5ca90d9 31865: _git: Make --batch(-check) accept an argument
Also reword the explanation slightly to make it more compact since more
explanation is needed.
2013-10-21 17:40:13 +02:00
Øystein Walle
3d77fa789d 31864: _git: Add two sub-comamnds introduced in v1.8.4
Add _git-check-ignore() and _git-check-mailmap()
2013-10-21 17:40:12 +02:00
Øystein Walle
32ffba1214 31866: _git: Reword --heads to match new meaning 2013-10-21 17:40:09 +02:00
Øystein Walle
baee0a2295 31862: _git: Add status.short and status.branch 2013-10-21 17:40:07 +02:00
Øystein Walle
805b665901 31863: _git: Add new arguments introduced in Git v1.8.4 2013-10-21 17:40:03 +02:00
Øystein Walle
e91d90125b 31861: _git: Add git-clean -i/--interactive support
- Add -i and --interactive to _git-clean()
 - Add column.clean configuration variable
2013-10-21 17:40:01 +02:00
m0viefreak
7a37568b8c 31855: _git: revert: add '-e,--edit' 2013-10-21 17:39:59 +02:00
m0viefreak
2c1affc6c1 31856: _git: fix a few "undocumented" options
commit: '--null' is documented
relink: '-h,--help' are never documented for subcommands but always exist
verify-tag: '-v,--verbose' are documented with updated description
diff: '--cumulative' is deprecated -> remove
2013-10-21 17:39:57 +02:00
Øystein Walle
07ca60acf4 31858: _git: fix wrong default value 2013-10-21 17:39:56 +02:00
m0viefreak
80cb8e947f 31857: _git: Remove unsupported -q option from diff options 2013-10-21 17:39:53 +02:00
Øystein Walle
5585b95f3c 31859: _git: re-order the last two git-blame arguments
The proper syntax is git blame [<commit>] <file> where <commit> is optional.
2013-10-21 17:39:50 +02:00
Ø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
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
Clint Adams
5383efac8c Nikolai Weibull: 23889: fix -o completion in git cvsimport. 2007-10-01 19:46:54 +00:00
Clint Adams
ea7809d5a7 Nikolai Weibull: 23888: complete branch names and cached files after git log. 2007-10-01 19:34:53 +00:00
Clint Adams
44b2e3e2b2 Nikolai Weibull: 23879: complete only cached files after git log. 2007-10-01 13:37:31 +00:00
Clint Adams
cac51ee8c3 23875: complete heads, tags, and files after git log. 2007-09-30 19:41:56 +00:00
Clint Adams
40583814f9 23874: only declare revision_arguments parameter once. 2007-09-30 19:23:13 +00:00
Clint Adams
5696ac5d9c 23872: complete git config in subcommand position. 2007-09-30 18:43:08 +00:00
Clint Adams
cdb57d64ab 23870: completion for git mergetool. 2007-09-30 18:18:17 +00:00
Clint Adams
75bf795d60 23863: remove all global variables. 2007-09-30 11:29:35 +00:00
Clint Adams
1874c548ed 23862: declare author_conversion_file_arg_spec local. 2007-09-30 11:15:00 +00:00
Clint Adams
03718b3180 Pierre Habouzit: 23851: use ad-hoc functions to list git branches and tags. 2007-09-29 06:06:14 +00:00
Clint Adams
e6b8e5ce42 23838: have git verify-tag complete tags instead of hash IDs. 2007-09-27 12:40:27 +00:00
Clint Adams
96672afa0f 23846: merge in additional changes from Nikolai Weibull's repo. 2007-09-27 12:36:37 +00:00
Clint Adams
cdf6b4840c 23841: complete tag hashes for git verify-tag. 2007-09-27 11:42:50 +00:00
Clint Adams
c92f9a73bb Mikael Magnusson: 23832: fix git merge -m completion. 2007-09-25 18:58:16 +00:00
Clint Adams
9433977a83 23831: fix handling of merge strategy option. 2007-09-25 17:58:50 +00:00
Clint Adams
f24ab2ef94 23829: merge in the remaining git completion changes from Nikolai Weibull's repository. 2007-09-25 16:35:43 +00:00
Clint Adams
c3ba77bd66 23828: merge in lots of git completion changes from Nikolai Weibull's repository. 2007-09-25 16:03:01 +00:00
Clint Adams
55c6f279ff 23824: merge in git rerere completion from Nikolai Weibull's repository. 2007-09-23 19:44:05 +00:00
Clint Adams
e16f52a1e7 23823: merge in git rev-parse completion from Nikolai Weibull's repository. 2007-09-23 19:31:27 +00:00
Clint Adams
cf6c33dcf9 23822: merge in git rm completion fixes from Nikolai Weibull's repository. 2007-09-21 18:47:28 +00:00
Clint Adams
10ad489ff0 23785: add missing backslash in _arguments list in git-send-email. 2007-08-21 17:48:21 +00:00
Clint Adams
e0b5299dc8 23738: additional git diff args. 2007-08-04 16:42:18 +00:00
Clint Adams
72de6a1e7f 23739: merge in git diff completion fixes from Nikolai Weibull's repository. 2007-08-04 16:39:25 +00:00
Clint Adams
a1374319dc 23674: merge in git clone completion fixes from Nikolai Weibull's repository. 2007-07-12 06:34:20 +00:00
Clint Adams
386920afb5 23655: merge in git instaweb completion from Nikolai Weibull's repository. 2007-07-05 16:49:58 +00:00
Clint Adams
38fbcffca0 23644: merge in git remote completion from Nikolai Weibull's repository. 2007-07-03 07:08:14 +00:00
Clint Adams
8aaefc464f 23639: merge in git quiltimport completion from Nikolai Weibull's repository. 2007-07-02 15:59:18 +00:00
Clint Adams
58b9d6573d 23639: merge in git merge-tree completion from Nikolai Weibull's repository. 2007-07-02 15:47:53 +00:00
Clint Adams
5d46210ce5 23628: merge in from Nikolai Weibull's repository completion for git mktree. 2007-07-01 17:05:54 +00:00
Clint Adams
f8f845bfed 23627: merge in from Nikolai Weibull's repository fixes for git hash-object, index-pack, merge-index. 2007-07-01 16:55:05 +00:00
Clint Adams
0e7a50be36 23610: merge in from Nikolai Weibull's repository git describe as well as fixes for diff-index, diff-files, and diff-stages. 2007-06-28 15:24:15 +00:00
Clint Adams
a3c81ff80f 23609: merge in git clean completion from Nikolai Weibull's repository. 2007-06-28 15:02:13 +00:00
Clint Adams
cc2867746a 23595: merge in git archive completion from Nikolai Weibull's repository. 2007-06-24 15:35:39 +00:00
Clint Adams
be3ada1cc7 23594: merge in git grep completion from Nikolai Weibull's repository. 2007-06-24 15:15:59 +00:00
Clint Adams
d78f7b910b 23593: merge in git annotate completion from Nikolai Weibull's repository. 2007-06-24 14:58:15 +00:00
Clint Adams
2bd5223d5c 23561: merge in relevant changes from Nikolai Weibull's repo to more appropriately complete after 'git add'. 2007-06-14 14:42:37 +00:00
Clint Adams
7eeb606599 23557: complete filenames after 'git reset <revision>'. 2007-06-13 16:40:06 +00:00
Peter Stephenson
ab5111a5cb 22031: new git completion 2005-11-25 12:52:23 +00:00