<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/remote.c, branch v1.6.3</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.6.3</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.6.3'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2009-04-24T08:29:28Z</updated>
<entry>
<title>remote.c: do not trigger remote.&lt;name&gt;.&lt;var&gt; codepath for two-level names</title>
<updated>2009-04-24T08:29:28Z</updated>
<author>
<name>Johannes Sixt</name>
<email>j6t@kdbg.org</email>
</author>
<published>2009-04-23T13:49:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=cd294bc3f3a7b1277551a8c6e0682fdfbe794260'/>
<id>urn:sha1:cd294bc3f3a7b1277551a8c6e0682fdfbe794260</id>
<content type='text'>
If the config file contains a section like this:

    [remote]
            default = foo

(it should be '[remotes]') then commands like

    git status
    git checkout
    git branch -v

fail even though they are not obviously related to remotes. (These
commands write "ahead, behind" information and, therefore, access the
per-remote information).

Unknown configuration keys should be ignored, not trigger errors.

Signed-off-by: Johannes Sixt &lt;j6t@kdbg.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Revert "stat_tracking_info(): only count real commits"</title>
<updated>2009-04-21T23:33:20Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-04-21T23:32:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=8fbf879ed75b67417b0e36eb7b03b79611f1f8a0'/>
<id>urn:sha1:8fbf879ed75b67417b0e36eb7b03b79611f1f8a0</id>
<content type='text'>
This reverts commit 19de5d6913b9681d2bde533bccc8445c9236a648.
It produces a misleading output to decide if a merge can fast-forward.
</content>
</entry>
<entry>
<title>Merge branch 'bw/short-ref-strict'</title>
<updated>2009-04-18T04:42:12Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-04-18T04:42:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a9b772a0116869f0f93e57ca0b49fd66325bb04a'/>
<id>urn:sha1:a9b772a0116869f0f93e57ca0b49fd66325bb04a</id>
<content type='text'>
* bw/short-ref-strict:
  remote.c: use shorten_unambiguous_ref
  rev-parse: --abbrev-ref option to shorten ref name
  for-each-ref: utilize core.warnAmbiguousRefs for :short-format
  shorten_unambiguous_ref(): add strict mode
</content>
</entry>
<entry>
<title>remote.c: use shorten_unambiguous_ref</title>
<updated>2009-04-18T03:53:19Z</updated>
<author>
<name>Michael J Gruber</name>
<email>git@drmicha.warpmail.net</email>
</author>
<published>2009-04-16T08:20:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=45972ffbedf8175555434006595c71a5b0e643f1'/>
<id>urn:sha1:45972ffbedf8175555434006595c71a5b0e643f1</id>
<content type='text'>
Use the new shorten_unambiguous_ref() for simplifying the output of
upstream branch names. This affects status and checkout.

Signed-off-by: Michael J Gruber &lt;git@drmicha.warpmail.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>get_local_heads(): do not return random pointer if there is no head</title>
<updated>2009-04-18T03:48:32Z</updated>
<author>
<name>Nguyễn Thái Ngọc Duy</name>
<email>pclouds@gmail.com</email>
</author>
<published>2009-04-16T22:16:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=55f0566f6d7269a56751333e0943b50237ce6a85'/>
<id>urn:sha1:55f0566f6d7269a56751333e0943b50237ce6a85</id>
<content type='text'>
it's silly to do this:

mkdir foo &amp;&amp; cd foo &amp;&amp; git init &amp;&amp; git push somewhere.git

but segfault should not happen even in that case.

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>Merge branch 'fg/remote-prune'</title>
<updated>2009-04-12T23:46:41Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-04-12T23:46:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c276857ee250ca1c3a36cba8358f50ba01e97917'/>
<id>urn:sha1:c276857ee250ca1c3a36cba8358f50ba01e97917</id>
<content type='text'>
* fg/remote-prune:
  add tests for remote groups
  git remote update: Fallback to remote if group does not exist
  remote: New function remote_is_configured()
  git remote update: Report error for non-existing groups
  git remote update: New option --prune
  builtin-remote.c: Split out prune_remote as a separate function.
</content>
</entry>
<entry>
<title>remote: New function remote_is_configured()</title>
<updated>2009-04-08T04:51:59Z</updated>
<author>
<name>Finn Arne Gangstad</name>
<email>finnag@pvv.org</email>
</author>
<published>2009-04-06T13:41:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9a23ba3375e2afa8045a433a3debce99c373beb2'/>
<id>urn:sha1:9a23ba3375e2afa8045a433a3debce99c373beb2</id>
<content type='text'>
Previously, there was no easy way to check for the existence of a
configured remote. remote_get for example would always create the remote
"on demand".

This new function returns 1 if the remote is configured, 0 otherwise.

Signed-off-by: Finn Arne Gangstad &lt;finnag@pvv.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'mg/tracked-local-branches'</title>
<updated>2009-04-06T07:42:31Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-04-06T07:42:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ccc852c37751c7bc8f81bfb71e6722291270bca5'/>
<id>urn:sha1:ccc852c37751c7bc8f81bfb71e6722291270bca5</id>
<content type='text'>
* mg/tracked-local-branches:
  Make local branches behave like remote branches when --tracked
  Test for local branches being followed with --track
</content>
</entry>
<entry>
<title>Merge branch 'kb/tracking-count-no-merges'</title>
<updated>2009-04-02T05:27:43Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2009-04-02T05:27:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=988d9fd8a42b388c30625378dcb521a3b2021b72'/>
<id>urn:sha1:988d9fd8a42b388c30625378dcb521a3b2021b72</id>
<content type='text'>
* kb/tracking-count-no-merges:
  stat_tracking_info(): only count real commits
</content>
</entry>
<entry>
<title>Make local branches behave like remote branches when --tracked</title>
<updated>2009-04-01T22:48:30Z</updated>
<author>
<name>Michael J Gruber</name>
<email>git@drmicha.warpmail.net</email>
</author>
<published>2009-04-01T21:42:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5e6e2b487e76066d03b4f5809dc6b44b1234519a'/>
<id>urn:sha1:5e6e2b487e76066d03b4f5809dc6b44b1234519a</id>
<content type='text'>
This makes sure that local branches, when followed using --track, behave
the same as remote ones (e.g. differences being reported by git status
and git checkout). This fixes 1 known failure.

The fix is done within branch_get(): The first natural candidate,
namely remote_find_tracking(), does not have all the necessary info
because in general there is no remote struct for '.', and we don't want
one because it would show up in other places as well.

branch_get(), on the other hand, has access to merge_names[] (in
addition to merge[]) and therefore can set up the followed branch
easily.

Signed-off-by: Michael J Gruber &lt;git@drmicha.warpmail.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
