* add include untracked option to stash
@ 2013-09-21 17:34 Marco Patzer
2013-09-22 12:06 ` Frank Terbeck
0 siblings, 1 reply; 2+ messages in thread
From: Marco Patzer @ 2013-09-21 17:34 UTC (permalink / raw)
To: zsh-workers
[-- Attachment #1.1: Type: text/plain, Size: 92 bytes --]
Hi,
I extended the autocomplete function for the git stash command.
Patch attached.
Marco
[-- Attachment #1.2: add-include-untracked-option-to-stash.patch --]
[-- Type: text/x-diff, Size: 703 bytes --]
diff --git Completion/Unix/Command/_git Completion/Unix/Command/_git
index 9808040..469dd70 100644
--- Completion/Unix/Command/_git
+++ Completion/Unix/Command/_git
@@ -1415,6 +1415,7 @@ _git-stash () {
'( --no-keep-index)--keep-index[all changes already added to the index are left intact]' \
'(--keep-index )--no-keep-index[all changes already added to the index are undone]' \
'(-q --quiet)'{-q,--quiet}'[suppress all output]' \
+ '(-u --include-untracked)'{-u,--include-untracked}'[all untracked files are also stashed and then cleaned up with git clean]' \
'::message' && ret=0
;;
(list)
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: add include untracked option to stash
2013-09-21 17:34 add include untracked option to stash Marco Patzer
@ 2013-09-22 12:06 ` Frank Terbeck
0 siblings, 0 replies; 2+ messages in thread
From: Frank Terbeck @ 2013-09-22 12:06 UTC (permalink / raw)
To: Marco Patzer; +Cc: zsh-workers
Hey,
Marco Patzer wrote:
> I extended the autocomplete function for the git stash command.
> Patch attached.
This should be fixed with some pending fixes for _git. So, this should
be dealt with in a short while. Thanks nevertheless! :-)
Regards, Frank
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-09-22 12:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-21 17:34 add include untracked option to stash Marco Patzer
2013-09-22 12:06 ` Frank Terbeck
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).