<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/contrib, branch v2.3.0</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.3.0</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.3.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2015-01-14T20:35:49Z</updated>
<entry>
<title>Merge branch 'tf/prompt-preserve-exit-status'</title>
<updated>2015-01-14T20:35:49Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-01-14T20:35:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9920c718254d946e685ef1295ff9ea0c14bac9cf'/>
<id>urn:sha1:9920c718254d946e685ef1295ff9ea0c14bac9cf</id>
<content type='text'>
Using the exit status of the last command in the prompt, e.g.
PS1='$(__git_ps1) $? ', did not work well because the helper
function stomped on the exit status.

* tf/prompt-preserve-exit-status:
  git-prompt: preserve value of $? in all cases
</content>
</entry>
<entry>
<title>Merge branch 'rh/hide-prompt-in-ignored-directory'</title>
<updated>2015-01-14T20:34:01Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-01-14T20:34:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e1ef7d177c3fcfdd25df9c4b67d36012bedebd74'/>
<id>urn:sha1:e1ef7d177c3fcfdd25df9c4b67d36012bedebd74</id>
<content type='text'>
* rh/hide-prompt-in-ignored-directory:
  git-prompt.sh: allow to hide prompt for ignored pwd
  git-prompt.sh: if pc mode, immediately set PS1 to a plain prompt
</content>
</entry>
<entry>
<title>Merge branch 'mm/complete-rebase-autostash'</title>
<updated>2015-01-14T20:33:57Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-01-14T20:33:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1e7ef5d9bf49a7de85e9a4d25f1a44ed955c40fc'/>
<id>urn:sha1:1e7ef5d9bf49a7de85e9a4d25f1a44ed955c40fc</id>
<content type='text'>
* mm/complete-rebase-autostash:
  git-completion: add --autostash for 'git rebase'
</content>
</entry>
<entry>
<title>Merge branch 'sp/subtree-doc'</title>
<updated>2015-01-14T20:33:46Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-01-14T20:33:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=41753312e1020880d9d1d488e58f8d7860d84579'/>
<id>urn:sha1:41753312e1020880d9d1d488e58f8d7860d84579</id>
<content type='text'>
* sp/subtree-doc:
  subtree: fix AsciiDoc list item continuation
</content>
</entry>
<entry>
<title>git-prompt: preserve value of $? in all cases</title>
<updated>2015-01-14T18:11:49Z</updated>
<author>
<name>Tony Finch</name>
<email>dot@dotat.at</email>
</author>
<published>2015-01-14T10:06:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6babe76496db332d589c1a2e0a2344fe41ca1dd5'/>
<id>urn:sha1:6babe76496db332d589c1a2e0a2344fe41ca1dd5</id>
<content type='text'>
Signed-off-by: Tony Finch &lt;dot@dotat.at&gt;
Reviewed-by: SZEDER Gábor &lt;szeder@ira.uka.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'tf/prompt-preserve-exit-status'</title>
<updated>2015-01-07T21:09:35Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-01-07T21:09:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=487b17de3ea1842b91a739cf31a08130faa03856'/>
<id>urn:sha1:487b17de3ea1842b91a739cf31a08130faa03856</id>
<content type='text'>
Using the exit status of the last command in the prompt, e.g.
PS1='$(__git_ps1) $? ', did not work well because the helper
function stomped on the exit status.

* tf/prompt-preserve-exit-status:
  git-prompt: preserve value of $? inside shell prompt
</content>
</entry>
<entry>
<title>Merge branch 'pd/completion-filenames-fix'</title>
<updated>2015-01-07T21:06:37Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-01-07T21:06:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e82f629cf40795e7780329f056fc3df2d6adc97b'/>
<id>urn:sha1:e82f629cf40795e7780329f056fc3df2d6adc97b</id>
<content type='text'>
The top-of-the-file instruction for completion scripts (in contrib/)
did not name the files correctly.

* pd/completion-filenames-fix:
  Update documentation occurrences of filename .sh
</content>
</entry>
<entry>
<title>git-completion: add --autostash for 'git rebase'</title>
<updated>2015-01-07T18:42:53Z</updated>
<author>
<name>Matthieu Moy</name>
<email>Matthieu.Moy@imag.fr</email>
</author>
<published>2015-01-07T12:40:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d89ad9c1b8878c54dd46725bd3c01e53b46f748a'/>
<id>urn:sha1:d89ad9c1b8878c54dd46725bd3c01e53b46f748a</id>
<content type='text'>
This option was added in 58794775 (rebase: implement
--[no-]autostash and rebase.autostash, 2013-05-12).

Completion of "--autosquash" has been there, but this was not;
addition of this would require people completing "--autosquash" to
type a bit more than before.

Signed-off-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-prompt.sh: allow to hide prompt for ignored pwd</title>
<updated>2015-01-07T18:30:30Z</updated>
<author>
<name>Jess Austin</name>
<email>jess.austin@gmail.com</email>
</author>
<published>2015-01-07T01:22:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0120b8c85c7a52b26ea7062fec349d178a4e0208'/>
<id>urn:sha1:0120b8c85c7a52b26ea7062fec349d178a4e0208</id>
<content type='text'>
Optionally set __git_ps1 to display nothing when present working
directory is ignored, triggered by the new environment variable
GIT_PS1_HIDE_IF_PWD_IGNORED. This environment variable may be
overridden on any repository by setting bash.hideIfPwdIgnored to
"false". In the absence of GIT_PS1_HIDE_IF_PWD_IGNORED this change
has no effect.

Many people manage e.g. dotfiles in their home directory with git.
This causes the prompt generated by __git_ps1 to refer to that "top
level" repo while working in any descendant directory. That can be
distracting, so this patch helps one shut off that noise.

Signed-off-by: Jess Austin &lt;jess.austin@gmail.com&gt;
Signed-off-by: Richard Hansen &lt;rhansen@bbn.com&gt;
Reviewed-by: Richard Hansen &lt;rhansen@bbn.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-prompt.sh: if pc mode, immediately set PS1 to a plain prompt</title>
<updated>2015-01-07T18:27:53Z</updated>
<author>
<name>Richard Hansen</name>
<email>rhansen@bbn.com</email>
</author>
<published>2015-01-07T01:22:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=76b43094007824e9b487302c87d77779deb4a295'/>
<id>urn:sha1:76b43094007824e9b487302c87d77779deb4a295</id>
<content type='text'>
At the beginning of __git_ps1, right after determining that the
function is running in pc mode, set PS1 to a plain (undecorated)
prompt.  This makes it possible to simply return early without having
to set PS1 if the prompt should not be decorated.

Signed-off-by: Richard Hansen &lt;rhansen@bbn.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
