Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

add include untracked option to stash



Hi,

I extended the autocomplete function for the git stash command.
Patch attached.

Marco
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: signature.asc
Description: Digital signature



Messages sorted by: Reverse Date, Date, Thread, Author