<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-stash.sh, branch v2.3.3</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.3.3</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.3.3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2014-09-29T19:36:10Z</updated>
<entry>
<title>Merge branch 'da/rev-parse-verify-quiet'</title>
<updated>2014-09-29T19:36:10Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-09-29T19:36:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=507fe835ed0753ff266fdb998853cc5dea3758c6'/>
<id>urn:sha1:507fe835ed0753ff266fdb998853cc5dea3758c6</id>
<content type='text'>
"rev-parse --verify --quiet $name" is meant to quietly exit with a
non-zero status when $name is not a valid object name, but still
gave error messages in some cases.

* da/rev-parse-verify-quiet:
  stash: prefer --quiet over shell redirection of the standard error stream
  refs: make rev-parse --quiet actually quiet
  t1503: use test_must_be_empty
  Documentation: a note about stdout for git rev-parse --verify --quiet
</content>
</entry>
<entry>
<title>Merge branch 'ah/grammofix'</title>
<updated>2014-09-19T18:38:35Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-09-19T18:38:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=296b4c4bbf63c8addb1654a05950843e9984d0eb'/>
<id>urn:sha1:296b4c4bbf63c8addb1654a05950843e9984d0eb</id>
<content type='text'>
* ah/grammofix:
  grammofix in user-facing messages
</content>
</entry>
<entry>
<title>stash: prefer --quiet over shell redirection of the standard error stream</title>
<updated>2014-09-19T17:51:59Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2014-09-16T03:24:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1956dfa818e376c5d62adc16d77f5b5cacf923f8'/>
<id>urn:sha1:1956dfa818e376c5d62adc16d77f5b5cacf923f8</id>
<content type='text'>
Use `git rev-parse --verify --quiet` instead of redirecting
stderr to /dev/null.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jk/stash-list-p'</title>
<updated>2014-09-09T19:54:00Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-09-09T19:54:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=753aaf3aabe698bbc965fdbb66aceb2e5eda2454'/>
<id>urn:sha1:753aaf3aabe698bbc965fdbb66aceb2e5eda2454</id>
<content type='text'>
Teach "git stash list -p" to show the difference between the base
commit version and the working tree version, which is in line with
what "git show" gives.

* jk/stash-list-p:
  stash: default listing to working-tree diff
</content>
</entry>
<entry>
<title>grammofix in user-facing messages</title>
<updated>2014-09-02T19:00:30Z</updated>
<author>
<name>Alex Henrie</name>
<email>alexhenrie24@gmail.com</email>
</author>
<published>2014-08-30T19:56:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ad5fe3771b50f3862130d150b5cc8bb316ef6f1c'/>
<id>urn:sha1:ad5fe3771b50f3862130d150b5cc8bb316ef6f1c</id>
<content type='text'>
Signed-off-by: Alex Henrie &lt;alexhenrie24@gmail.com&gt;
Acked-by: Johan Herland &lt;johan@herland.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>stash: default listing to working-tree diff</title>
<updated>2014-08-07T21:37:28Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2014-08-06T18:35:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=288c67caf64af111aeb7c45cb8b6ba586a61c724'/>
<id>urn:sha1:288c67caf64af111aeb7c45cb8b6ba586a61c724</id>
<content type='text'>
When you list stashes, you can provide arbitrary git-log
options to change the display. However, adding just "-p"
does nothing, because each stash is actually a merge commit.

This implementation detail is easy to forget, leading to
confused users who think "-p" is not working. We can make
this easier by defaulting to "--first-parent -m", which will
show the diff against the working tree. This omits the
index portion of the stash entirely, but it's simple and it
matches what "git stash show" provides.

People who are more clueful about stash's true form can use
"--cc" to override the "-m", and the "--first-parent" will
then do nothing. For diffs, it only affects non-combined
diffs, so "--cc" overrides it. And for the traversal, we are
walking the linear reflog anyway, so we do not even care
about the parents.

Signed-off-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ep/shell-assign-and-export-vars'</title>
<updated>2014-06-06T18:38:51Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-06-06T18:38:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3ea8ecc21ec87eb5173a7145db2d3653e5b5fa28'/>
<id>urn:sha1:3ea8ecc21ec87eb5173a7145db2d3653e5b5fa28</id>
<content type='text'>
* ep/shell-assign-and-export-vars:
  scripts: more "export VAR=VALUE" fixes
  scripts: "export VAR=VALUE" construct is not portable
</content>
</entry>
<entry>
<title>scripts: "export VAR=VALUE" construct is not portable</title>
<updated>2014-05-23T22:32:33Z</updated>
<author>
<name>Elia Pinto</name>
<email>gitter.spiros@gmail.com</email>
</author>
<published>2014-05-23T10:15:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bed137d2d55a3b5cbd642b1e80cd7bd9094db8d4'/>
<id>urn:sha1:bed137d2d55a3b5cbd642b1e80cd7bd9094db8d4</id>
<content type='text'>
Found by check-non-portable-shell.pl

Signed-off-by: Elia Pinto &lt;gitter.spiros@gmail.com&gt;
Reviewed-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-stash.sh: use the $( ... ) construct for command substitution</title>
<updated>2014-04-23T22:17:02Z</updated>
<author>
<name>Elia Pinto</name>
<email>gitter.spiros@gmail.com</email>
</author>
<published>2014-04-23T13:44:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d0ea45bfc7129304016b24bdb18523b927d0ab17'/>
<id>urn:sha1:d0ea45bfc7129304016b24bdb18523b927d0ab17</id>
<content type='text'>
The Git CodingGuidelines prefer the $(...) construct for command
substitution instead of using the backquotes `...`.

The backquoted form is the traditional method for command
substitution, and is supported by POSIX.  However, all but the
simplest uses become complicated quickly.  In particular, embedded
command substitutions and/or the use of double quotes require
careful escaping with the backslash character.

The patch was generated by:

for _f in $(find . -name "*.sh")
do
   sed -i 's@`\(.*\)`@$(\1)@g' ${_f}
done

and then carefully proof-read.

Signed-off-by: Elia Pinto &lt;gitter.spiros@gmail.com&gt;
Reviewed-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jc/stash-pop-not-popped' into maint</title>
<updated>2014-04-03T20:39:03Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-04-03T20:39:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6248be7678ad2c262a460c052ef4f28744e75cc4'/>
<id>urn:sha1:6248be7678ad2c262a460c052ef4f28744e75cc4</id>
<content type='text'>
* jc/stash-pop-not-popped:
  stash pop: mention we did not drop the stash upon failing to apply
</content>
</entry>
</feed>
