<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-parse-remote.sh, branch v1.7.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.7.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.7.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2010-01-31T19:53:10Z</updated>
<entry>
<title>Do not install shell libraries executable</title>
<updated>2010-01-31T19:53:10Z</updated>
<author>
<name>Jonathan Nieder</name>
<email>jrnieder@gmail.com</email>
</author>
<published>2010-01-31T19:46:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=46bac904581798eaf0f07f91701c2c72219e207f'/>
<id>urn:sha1:46bac904581798eaf0f07f91701c2c72219e207f</id>
<content type='text'>
Some scripts are expected to be sourced instead of executed on their own.
Avoid some confusion by not marking them executable.

The executable bit was confusing the valgrind support of our test scripts,
which assumed that any executable without a #!-line should be intercepted
and run through valgrind.  So during valgrind-enabled tests, any script
sourcing these files actually sourced the valgrind interception script
instead.

Reported-by: Jeff King &lt;peff@peff.net&gt;
Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>parse-remote: remove unused functions</title>
<updated>2009-06-12T02:50:45Z</updated>
<author>
<name>Santi Béjar</name>
<email>santi@agolina.net</email>
</author>
<published>2009-06-11T22:39:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=62d955fd435273dcd9fffed0c0d83bbe90006a0a'/>
<id>urn:sha1:62d955fd435273dcd9fffed0c0d83bbe90006a0a</id>
<content type='text'>
Signed-off-by: Santi Béjar &lt;santi@agolina.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>parse-remote: support default reflist in get_remote_merge_branch</title>
<updated>2009-06-12T02:50:34Z</updated>
<author>
<name>Santi Béjar</name>
<email>santi@agolina.net</email>
</author>
<published>2009-06-11T22:39:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=e9460a66e0d11b718757cd88eb0c927f2b79e1c8'/>
<id>urn:sha1:e9460a66e0d11b718757cd88eb0c927f2b79e1c8</id>
<content type='text'>
Expand get_remote_merge_branch to compute the tracking branch to merge
when called without arguments (or only the remote name). This allows
"git pull --rebase" without arguments (default upstream branch) to
work with a rebased upstream. With explicit arguments it already worked.

Also add a test to check for this case.

Signed-off-by: Santi Béjar &lt;santi@agolina.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>parse-remote: function to get the tracking branch to be merge</title>
<updated>2009-06-12T02:49:59Z</updated>
<author>
<name>Santi Béjar</name>
<email>santi@agolina.net</email>
</author>
<published>2009-06-11T22:39:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=97af7ff0553ed81bb905dbc0c8b0f9a0c10bfb3d'/>
<id>urn:sha1:97af7ff0553ed81bb905dbc0c8b0f9a0c10bfb3d</id>
<content type='text'>
The only user of get_remote_refs_for_fetch was "git pull --rebase" and
it only wanted the tracking branch to be merge. So, add a simple
function (get_remote_merge_branch) with this new meaning.

No behavior changes. The new function behaves like the old code in
"git pull --rebase". In particular, it only works with the default
refspec mapping and with remote branches, not tags.

Signed-off-by: Santi Béjar &lt;santi@agolina.net&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Convert to use quiet option when available</title>
<updated>2009-04-23T02:05:37Z</updated>
<author>
<name>Dan Loewenherz</name>
<email>daniel.loewenherz@yale.edu</email>
</author>
<published>2009-04-23T01:46:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7bd93c1c625ce5fa03f0d13d728f34f8ab868991'/>
<id>urn:sha1:7bd93c1c625ce5fa03f0d13d728f34f8ab868991</id>
<content type='text'>
A minor fix that eliminates usage of "2&gt;/dev/null" when --quiet or
-q has already been implemented.

Signed-off-by: Dan Loewenherz &lt;daniel.loewenherz@yale.edu&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Rewrite "git-frotz" to "git frotz"</title>
<updated>2007-07-03T05:52:14Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2007-07-03T05:52:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5be60078c935ed08ee8eb5a32680bdfb6bb5bdf3'/>
<id>urn:sha1:5be60078c935ed08ee8eb5a32680bdfb6bb5bdf3</id>
<content type='text'>
This uses the remove-dashes target to replace "git-frotz" to "git frotz".

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Allow fetching references from any namespace</title>
<updated>2007-05-12T16:36:06Z</updated>
<author>
<name>Alex Riesen</name>
<email>raa.lkml@gmail.com</email>
</author>
<published>2007-05-11T20:35:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=96f12b54f7b2067d668a1ea578a1fc3773e31148'/>
<id>urn:sha1:96f12b54f7b2067d668a1ea578a1fc3773e31148</id>
<content type='text'>
not only from the three defined: heads, tags and remotes.

Noticed when I tried to fetch the references created by git-p4-import.bat:
they are placed into separate namespace (refs/p4import/, to avoid showing
them in git-branch output). As canon_refs_list_for_fetch always prepended
refs/heads/ it was impossible, and annoying: it worked before. Normally,
the p4import references are useless anywhere but in the directory managed
by perforce, but in this special case the cloned directory was supposed
to be a backup, including the p4import branch: it keeps information about
where the imported perforce state came from.

Signed-off-by: Alex Riesen &lt;raa.lkml@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-fetch, git-branch: Support local --track via a special remote '.'</title>
<updated>2007-03-16T09:10:12Z</updated>
<author>
<name>Paolo Bonzini</name>
<email>bonzini@gnu.org</email>
</author>
<published>2007-03-15T08:23:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9debc3241b5d54891600c839b4df4f48b2daa60c'/>
<id>urn:sha1:9debc3241b5d54891600c839b4df4f48b2daa60c</id>
<content type='text'>
This patch adds support for a dummy remote '.' to avoid having
to declare a fake remote like

        [remote "local"]
                url = .
                fetch = refs/heads/*:refs/heads/*

Such a builtin remote simplifies the operation of "git-fetch",
which will populate FETCH_HEAD but will not pretend that two
repositories are in use, will not create a thin pack, and will
not perform any useless remapping of names.  The speed
improvement is around 20%, and it should improve more if
"git-fetch" is converted to a builtin.

To this end, git-parse-remote is grown with a new kind of
remote, 'builtin'.  In git-fetch.sh, we treat the builtin remote
specially in that it needs no pack/store operations.  In fact,
doing git-fetch on a builtin remote will simply populate
FETCH_HEAD appropriately.

The patch also improves of the --track/--no-track support,
extending it so that branch.&lt;name&gt;.remote items referring '.'
can be created.  Finally, it fixes a typo in git-checkout.sh.

Signed-off-by: Paolo Bonzini  &lt;bonzini@gnu.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Use stdin reflist passing in parse-remote</title>
<updated>2007-02-14T05:43:53Z</updated>
<author>
<name>Julian Phillips</name>
<email>jp3@quantumfyre.co.uk</email>
</author>
<published>2007-02-13T01:21:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=95339912b97279c29bd842fe036c70fca33d0d66'/>
<id>urn:sha1:95339912b97279c29bd842fe036c70fca33d0d66</id>
<content type='text'>
Use the new stdin reflist passing mechanism for the call to
fetch--tool expand-refs-wildcard, allowing passing of more
than ~128K of reflist data.

Signed-off-by: Julian Phillips &lt;julian@quantumfyre.co.uk&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-fetch: rewrite expand_ref_wildcard in C</title>
<updated>2007-02-14T05:43:53Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2007-01-16T21:43:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=86551586da8cba6c06ac04783a656843a4e47f35'/>
<id>urn:sha1:86551586da8cba6c06ac04783a656843a4e47f35</id>
<content type='text'>
This does not seem to make measurable improvement when dealing
with 1000 unpacked refs, but we would need something like it
if we were to do a full rewrite in C somedaoy.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
