From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23142 invoked by alias); 21 Sep 2013 17:35:19 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 31738 Received: (qmail 16709 invoked from network); 21 Sep 2013 17:35:00 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at homerow.info does not designate permitted sender hosts) Date: Sat, 21 Sep 2013 19:34:55 +0200 From: Marco Patzer To: zsh-workers@zsh.org Subject: add include untracked option to stash Message-ID: <20130921173455.GI17308@homerow> Mail-Followup-To: Marco Patzer , zsh-workers@zsh.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WBsA/oQW3eTA3LlM" Content-Disposition: inline X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xB8CFCB65D4F08C27 User-Agent: Mutt/1.5.21 (2010-09-15) --WBsA/oQW3eTA3LlM Content-Type: multipart/mixed; boundary="HWvPVVuAAfuRc6SZ" Content-Disposition: inline --HWvPVVuAAfuRc6SZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I extended the autocomplete function for the git stash command. Patch attached. Marco --HWvPVVuAAfuRc6SZ Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="add-include-untracked-option-to-stash.patch" 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) --HWvPVVuAAfuRc6SZ-- --WBsA/oQW3eTA3LlM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQEcBAEBAgAGBQJSPdi/AAoJEPGqVaNSn0iK2QsIAJN9uQqAZ3W7EouOsXkyy9pC n3/oWuf+7Cqz16TFYOgg60TNVAGs0r4p1+pyYxlY9uX+Y0iW2xCRcas1r3EK8JS7 +niWylxj4EdQRWzVBpAHzEeXoFwCyj7tv2rTgMMkgCDqfYo+7cZExT182rlyXXnN 2OqreS9Q/ztLU6JipCIboRMfW1vKy8m04uEmiYSL6rv4Z2INQLPLbQ34u+TqjFWr jSnSvv/XdkJ/19m+OQcBjBAhqVg8eKledc/31L9FPAeapP9EpGH5rmLkRrP2SkM/ U2+ep9P2yy44wR687gNB2BWR4aMtwtkvtQxpjCKwsUVuD43MD+5lK3w+ZH1beu8= =iVaH -----END PGP SIGNATURE----- --WBsA/oQW3eTA3LlM--