Daniel Shahaf
d70e7149df
36236: _git-log: complete 'git rm'd files
2015-08-19 23:28:11 +00:00
Oliver Kiddle
ea5d100643
36148: _git-log: Complete flags after positional argument
2015-08-19 23:27:40 +00:00
Wieland Hoffmann
8e0b5e0e00
Wieland Hoffmann: 36123: protect against word splitting in __git_is_committish_range
2015-08-13 15:53:12 +02:00
Oliver Kiddle
cf77e28a3f
36127: assorted minor completion function changes
2015-08-12 18:06:03 +02:00
Mikael Magnusson
8815500f95
36116: _git: various fixes
...
Add = to git checkout --conflict= completion
fix transposed [-
git push remote argument is not optional
can use shorter syntax for a check
2015-08-12 17:54:07 +02:00
Daniel Hahler
d90f92194f
35970: completion: fix typos in _git and _brace_parameter
2015-08-02 17:58:12 +02:00
Daniel Hahler
8024de798d
35779: completion: _git-config: remove extraneous "local expl"
...
It is defined at the beginning of the function already, and results in
the output of `expl=''` when completing after `git config
branch.local.pushremote ` etc.
2015-07-13 15:05:52 +02:00
Oliver Kiddle
deb2ec7f17
35510: use consistent formatting for git subcommands
2015-06-18 23:50:59 +02:00
Oliver Kiddle
8ebb4e65a9
35504: complete % placeholders for git log --format
2015-06-18 23:47:40 +02:00
Daniel Hahler
e8cf611879
35216: _git-checkout: do not call __git_commits twice
...
This makes `branch_arg` empty by default, to be used only for
__git_remote_branch_names.
`branches::__git_revisions` was used here, but that's the same as
tree_ish_arg='tree-ishs::__git_tree_ishs' - both call __git_commits.
Only tree_ish_arg will call __git-commits now.
2015-06-08 00:35:01 +02:00
Daniel Hahler
da603d0a00
35098: completion: git: provide --amend also with "message" group
...
Especially during a git rebase, you would use `git commit -m foo
--amend`.
2015-05-29 01:56:18 +02:00
Oliver Kiddle
a711b2abef
35315: replace inappropriate uses of _path_commands
2015-05-28 22:45:34 +02:00
Daniel Hahler
068558616a
35261: completion: git: __git_recent_commits: local ret
...
Without this, `ret` will be set to 1 with `git diff --ex<tab>` and
result in duplicate entries:
% git diff --ex<tab>
-- option --
--exit-code -- report exit code 1 if differences, 0 otherwise
--exit-code -- report exit code 1 if differences, 0 otherwise
--ext-diff -- allow external diff helper to be executed
--ext-diff -- allow external diff helper to be executed
--no-ext-diff -- disallow external diff helper to be executed
-- recent commit object name --
2015-05-22 01:12:10 +02:00
Daniel Shahaf
c174947040
35224: completion: git: Add fast-export --signed-tags=warn-strip
2015-05-19 20:35:14 +00:00
Daniel Hahler
a0d269460a
35217: add missing changelog entry; use "-O expl" with _alternative
2015-05-19 10:43:24 +02:00
Daniel Hahler
7408f91d31
35217: completion: git: send-email: complete (recent) commits
...
This adds `__git_commit_objects_prefer_recent` as alternative for
git-send-email's completion.
2015-05-19 10:28:51 +02:00
Daniel Hahler
8f6823b710
__git_commit_objects: do not use _guard, but only a pattern
...
With using `_guard` there like it's been done, the completion could not
be selected, probably because of the call to `_message` therein.
This changes it to use only the logic/check from `_guard` that we want
here.
2015-05-19 08:50:42 +02:00
Daniel Hahler
ed3e5f521d
Completion/Unix/Command/_git: remove -2 with __git_recent_commits
...
Remove "-2" for _describe in __git_recent_commits.
This fixes the duplicate entries issue, because __git_recent_commits
gets called twice for _git-checkout (for __git_revisions and
__git_tree_ishs):
1. __git_commit_objects_prefer_recent _alternative __git_commits
__git_revisions _alternative _git-checkout
2. __git_commit_objects_prefer_recent _alternative __git_commits
__git_tree_ishs _alternative _git-checkout
2015-05-19 07:49:48 +02:00
Daniel Hahler
d0057538d3
35204: fix broken __git_recent_commits from previous commit
...
This fixes 1e7bb4a
: newlines need to be kept (from the "%d" part).
2015-05-19 06:38:43 +02:00
Daniel Hahler
1e7bb4a8f8
35164: fix __git_commit_objects/__git_recent_commits
...
$pipestatus for `: foo` is 0 always.
Without this, "git checkout" in a non-git directory would complete " ",
but not result in a note/error about not being in a git dir.
2015-05-19 05:42:21 +02:00
Daniel Shahaf
6bfe6fd84b
users/20222: completion: git: Add matchspec for heads
...
Allows 'git checkout o/m<TAB>' to complete 'origin/master'.
Moreover, '/x<TAB>' would complete 'foo/bar/xyzzy/baz', since the matchspec
uses not '*' but '**'.
2015-05-19 01:55:15 +00:00
Daniel Shahaf
34a1489f43
35105: completion: git: add distance_from_head to __git_recent_commits
...
This adds the "HEAD~15" gitrevisions(7) identifier of the commit to the
description, which also uniquifies, isn't redundant, and may be easier
to type.
Ref: zsh-workers/34820 (http://www.zsh.org/mla/workers/2015/msg00744.html )
2015-05-18 02:48:03 +02:00
Daniel Hahler
733db1b411
35106: completion: git: unique name for __git_recent_commits
...
This helps to distinguish it from __git_commit_objects.
2015-05-18 02:48:03 +02:00
Daniel Hahler
a0b221e7c5
35103: completion: git: add %cr to commit objects (all and recent)
2015-05-18 02:48:03 +02:00
Daniel Hahler
94c6b32fe7
35104: completion: git: __git_commit_objects: query 1000 commits
...
Also, `--all` and `--reflog` is used to get all commits.
It adds the _guard in front, so only non-empty values will come here.
Also, __git_commit_objects_prefer_recent will only call it, if there are
no matching recent commits.
2015-05-18 02:48:03 +02:00
Daniel Hahler
454f079852
35101: completion: git: add __git_commit_objects_prefer_recent
...
This is used with __git_commits then, and is meant to only call
__git_recent_commits, if there are matches.
2015-05-18 02:48:03 +02:00
Daniel Hahler
1d5b225498
35100: __git_recent_commits: massage ' ->*' from heads
...
Handle " -> master, origin/master" in decorated git-log output, and add
it as separate entries.
2015-05-18 02:48:03 +02:00
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