<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/advice.c, branch v2.0.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.0.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.0.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2014-03-07T23:13:15Z</updated>
<entry>
<title>Merge branch 'jc/push-2.0-default-to-simple'</title>
<updated>2014-03-07T23:13:15Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2014-03-07T23:13:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=009055f3ecd8d9b4eb140429cb5ce5d2088174c7'/>
<id>urn:sha1:009055f3ecd8d9b4eb140429cb5ce5d2088174c7</id>
<content type='text'>
Finally update the "git push" default behaviour to "simple".
</content>
</entry>
<entry>
<title>Rename advice.object_name_warning to objectNameWarning</title>
<updated>2013-07-31T22:20:07Z</updated>
<author>
<name>Thomas Rast</name>
<email>trast@inf.ethz.ch</email>
</author>
<published>2013-07-31T20:23:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8dc84fdc48a79c70682e6c361a82d0f3e1db9a03'/>
<id>urn:sha1:8dc84fdc48a79c70682e6c361a82d0f3e1db9a03</id>
<content type='text'>
We spell config variables in camelCase instead of with_underscores.

Signed-off-by: Thomas Rast &lt;trast@inf.ethz.ch&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'mm/rm-coalesce-errors'</title>
<updated>2013-06-24T20:48:35Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-06-24T20:48:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8d8975aca7c2b031a2386cd8f266109a8c6e1973'/>
<id>urn:sha1:8d8975aca7c2b031a2386cd8f266109a8c6e1973</id>
<content type='text'>
Give a single message followed by list of paths from "git rm" to
report multiple paths that cannot be removed.

* mm/rm-coalesce-errors:
  rm: introduce advice.rmHints to shorten messages
  rm: better error message on failure for multiple files
</content>
</entry>
<entry>
<title>push: switch default from "matching" to "simple"</title>
<updated>2013-06-18T19:36:00Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-01-05T00:02:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b2ed944af79041b4da151a432064c3b1c1b82fc5'/>
<id>urn:sha1:b2ed944af79041b4da151a432064c3b1c1b82fc5</id>
<content type='text'>
We promised to change the behaviour of lazy "git push [there]" that
does not say what to push on the command line from "matching" to
"simple" in Git 2.0.

This finally flips that bit.

Helped-by: Matthieu Moy &lt;Matthieu.Moy@imag.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>rm: introduce advice.rmHints to shorten messages</title>
<updated>2013-06-12T23:59:55Z</updated>
<author>
<name>Mathieu Lienard--Mayor</name>
<email>Mathieu.Lienard--Mayor@ensimag.imag.fr</email>
</author>
<published>2013-06-12T08:06:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7e30944622573ebdf87beed057b098af7360234c'/>
<id>urn:sha1:7e30944622573ebdf87beed057b098af7360234c</id>
<content type='text'>
Introduce advice.rmHints to choose whether to display advice or not
when git rm fails. Defaults to true, in order to preserve current behavior.

As an example, the message:
	error: 'foo.txt' has changes staged in the index
	(use --cached to keep the file, or -f to force removal)

would look like, with advice.rmHints=false:
	error: 'foo.txt' has changes staged in the index

Signed-off-by: Mathieu Lienard--Mayor &lt;Mathieu.Lienard--Mayor@ensimag.imag.fr&gt;
Signed-off-by: Jorge Juan Garcia Garcia &lt;Jorge-Juan.Garcia-Garcia@ensimag.imag.fr&gt;
Signed-off-by: Matthieu Moy &lt;Matthieu.Moy@grenoble-inp.fr&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'nd/warn-ambiguous-object-name'</title>
<updated>2013-06-11T20:31:07Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-06-11T20:31:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f4c52a05277f8f5901f7663f6ab339271b814872'/>
<id>urn:sha1:f4c52a05277f8f5901f7663f6ab339271b814872</id>
<content type='text'>
"git cmd &lt;name&gt;", when &lt;name&gt; happens to be a 40-hex string,
directly uses the 40-hex string as an object name, even if a ref
"refs/&lt;some hierarchy&gt;/&lt;name&gt;" exists.  This disambiguation order
is unlikely to change, but we should warn about the ambiguity just
like we warn when more than one refs/ hierachies share the same
name.

* nd/warn-ambiguous-object-name:
  get_sha1: warn about full or short object names that look like refs
</content>
</entry>
<entry>
<title>get_sha1: warn about full or short object names that look like refs</title>
<updated>2013-05-29T18:31:36Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2013-05-29T12:12:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=798c35fcd8a71a094ca68ac05d81e08c5ac8166d'/>
<id>urn:sha1:798c35fcd8a71a094ca68ac05d81e08c5ac8166d</id>
<content type='text'>
When we get 40 hex digits, we immediately assume it's an SHA-1. This
is the right thing to do because we have no way else to specify an
object. If there is a ref with the same object name, it will be
ignored. Warn the user about this case because the ref with full
object name is likely a mistake, for example

    git checkout -b $empty_var $(git rev-parse something)

advice.object_name_warning is not documented because frankly people
should not be aware about it until they encounter this situation.

While at there, warn about ambiguation with abbreviated SHA-1 too.

Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>branch: give advice when tracking start-point is missing</title>
<updated>2013-04-02T23:14:13Z</updated>
<author>
<name>Jeff King</name>
<email>peff@peff.net</email>
</author>
<published>2013-04-02T19:05:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=caa2036b3b4105bfe34f01115e4fb34b78a4db86'/>
<id>urn:sha1:caa2036b3b4105bfe34f01115e4fb34b78a4db86</id>
<content type='text'>
If the user requests to --set-upstream-to a branch that does
not exist, then either:

  1. It was a typo.

  2. They thought the branch should exist.

In case (1), there is not much we can do beyond showing the
name we tried to use. For case (2), though, we can help to
guide them through common workflows.

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 'tb/document-status-u-tradeoff'</title>
<updated>2013-03-21T21:02:10Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2013-03-21T21:02:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5d04924e1914a0c63b6467b8cb7194bf68c003cb'/>
<id>urn:sha1:5d04924e1914a0c63b6467b8cb7194bf68c003cb</id>
<content type='text'>
Suggest users to look into using--untracked=no option when "git
status" takes too long.

* tb/document-status-u-tradeoff:
  status: advise to consider use of -u when read_directory takes too long
  git status: document trade-offs in choosing parameters to the -u option
</content>
</entry>
<entry>
<title>status: advise to consider use of -u when read_directory takes too long</title>
<updated>2013-03-17T04:44:58Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2013-03-13T12:59:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6a38ef2ced55f0a8a7967581934e40f79e1d8733'/>
<id>urn:sha1:6a38ef2ced55f0a8a7967581934e40f79e1d8733</id>
<content type='text'>
Introduce advice.statusUoption to suggest considering use of -u to
strike different trade-off when it took more than 2 seconds to
enumerate untracked/ignored files.

Signed-off-by: Nguyễn Thái Ngọc Duy &lt;pclouds@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
