<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/git-fetch-script, branch gitk-resize-error</title>
<subtitle>Fork of git SCM with my patches.</subtitle>
<id>http://git.kilabit.info/git/atom?h=gitk-resize-error</id>
<link rel='self' href='http://git.kilabit.info/git/atom?h=gitk-resize-error'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/'/>
<updated>2005-09-08T00:45:20Z</updated>
<entry>
<title>Big tool rename.</title>
<updated>2005-09-08T00:45:20Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-09-08T00:26:23Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=215a7ad1ef790467a4cd3f0dcffbd6e5f04c38f7'/>
<id>urn:sha1:215a7ad1ef790467a4cd3f0dcffbd6e5f04c38f7</id>
<content type='text'>
As promised, this is the "big tool rename" patch.  The primary differences
since 0.99.6 are:

  (1) git-*-script are no more.  The commands installed do not
      have any such suffix so users do not have to remember if
      something is implemented as a shell script or not.

  (2) Many command names with 'cache' in them are renamed with
      'index' if that is what they mean.

There are backward compatibility symblic links so that you and
Porcelains can keep using the old names, but the backward
compatibility support  is expected to be removed in the near
future.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Fix automerge message.</title>
<updated>2005-09-02T09:34:13Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-09-02T09:34:13Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=06ec2b4bb4ab9096d1304ba5a2ec388078dcdf7f'/>
<id>urn:sha1:06ec2b4bb4ab9096d1304ba5a2ec388078dcdf7f</id>
<content type='text'>
The rewrite done while adding the shorthand support made the remote
refname recorded in the commit message too long for human consumption,
while losing information by using the shorthand not the real URL to
name the remote repository there.  They were both bad changes done
without enough thinking.

Pointed out by Linus.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Fix pulling into the same branch.</title>
<updated>2005-08-27T05:06:17Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-08-26T01:15:32Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=b10ac50f1e9ef851128f9800cd481d8cace18f01'/>
<id>urn:sha1:b10ac50f1e9ef851128f9800cd481d8cace18f01</id>
<content type='text'>
When the "git pull" command updates the branch head you are
currently on, before doing anything else, first update your
index file and the working tree contents to that of the new
branch head.  Otherwise, the later resolving steps would think
your index file is attempting to revert the change between the
original head commit and the updated head commit.

It uses two-tree fast-forward form of "read-tree -m -u" to
prevent losing whatever local changes you may have in the
working tree to do this update.  I think this would at least
make things safer (a lot safer), and prevent mistakes.

Also "git fetch" command is forbidden from fetching and fast
forwarding the current branch head unless --update-head-ok flag
is given.  "git pull" passes the flag when it internally calls
"git fetch".

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Fix fetching of tags.</title>
<updated>2005-08-25T05:46:07Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-08-25T05:46:07Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=8572aa85a7f1e9377f44b816788ced4306cf427b'/>
<id>urn:sha1:8572aa85a7f1e9377f44b816788ced4306cf427b</id>
<content type='text'>
"git fetch tag &lt;tag&gt;" stored a tag after dereferencing.  Bad.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>[PATCH] Allow "+remote:local" refspec to cause --force when fetching.</title>
<updated>2005-08-24T23:50:53Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-08-23T05:52:43Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=efe9bf0f3b34d12b3b76f8277550f91700609b25'/>
<id>urn:sha1:efe9bf0f3b34d12b3b76f8277550f91700609b25</id>
<content type='text'>
With this we could say:

    Pull: master:ko-master +pu:ko-pu

to mean "fast forward ko-master with master, overwrite ko-pu with pu",
and the latter one does not require the remote "pu" to be descendant
of local "ko-pu".

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>[PATCH] "git fetch --force".</title>
<updated>2005-08-24T23:50:52Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-08-23T04:28:33Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=ae2da40690a3f3f101de5780a7799781b09e2e05'/>
<id>urn:sha1:ae2da40690a3f3f101de5780a7799781b09e2e05</id>
<content type='text'>
Just like "git push" can forcibly update a ref to a value that is not
a fast-forward, teach "git fetch" to do so as well.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>[PATCH] Make "git pull" and "git fetch" default to origin</title>
<updated>2005-08-24T23:50:51Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-08-20T10:00:03Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=92c533ef0ea2cb43f0d7d493f006f5b4dfa7cda1'/>
<id>urn:sha1:92c533ef0ea2cb43f0d7d493f006f5b4dfa7cda1</id>
<content type='text'>
Amos Waterland sent in a patch for the pre-multi-head aware
version of "git pull" to do this, but the code changed quite a
bit since then.  If there is no argument given to pull from, and
if "origin" makes sense, default to fetch/pull from "origin"
instead of barfing.

[jc: besides, the patch by Amos broke the non-default case where
explicit refspecs are specified, and did not make sure we know
what "origin" means before defaulting to it.]

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>[PATCH] Multi-head fetch.</title>
<updated>2005-08-24T23:50:50Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-08-20T09:54:34Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=853a3697dc2bc609650c38ed03a1f8fa9f145f97'/>
<id>urn:sha1:853a3697dc2bc609650c38ed03a1f8fa9f145f97</id>
<content type='text'>
Traditionally, fetch takes these forms:

    $ git fetch &lt;remote&gt;
    $ git fetch &lt;remote&gt; &lt;head&gt;
    $ git fetch &lt;remote&gt; tag &lt;tag&gt;

This patch updates it to take

    $ git fetch &lt;remote&gt; &lt;refspec&gt;...

where:

    - A &lt;refspec&gt; of form "&lt;src&gt;:&lt;dst&gt;" is to fetch the objects
      needed for the remote ref that matches &lt;src&gt;, and if &lt;dst&gt;
      is not empty, store it as a local &lt;dst&gt;.

    - "tag" followed by &lt;next&gt; is just an old way of saying
      "refs/tags/&lt;next&gt;:refs/tags/&lt;next&gt;"; this mimics the
      current behaviour of the third form above and means "fetch
      that tag and store it under the same name".

    - A single token &lt;refspec&gt; without colon is a shorthand for
      "&lt;refspec&gt;:"  That is, "fetch that ref but do not store
      anywhere".

    - when there is no &lt;refspec&gt; specified

      - if &lt;remote&gt; is the name of a file under $GIT_DIR/remotes/
	(i.e. a new-style shorthand), then it is the same as giving
	the &lt;refspec&gt;s listed on Pull: line in that file.

      - if &lt;remote&gt; is the name of a file under $GIT_DIR/branches/
	(i.e. an old-style shorthand, without trailing path), then it
	is the same as giving a single &lt;refspec&gt;
	"&lt;remote-name&gt;:refs/heads/&lt;remote&gt;" on the command line, where
	&lt;remote-name&gt; is the remote branch name (defaults to HEAD, but
	can be overridden by .git/branches/&lt;remote&gt; file having the
	URL fragment notation).  That is, "fetch that branch head and
	store it in refs/heads/&lt;remote&gt;".

      - otherwise, it is the same as giving a single &lt;refspec&gt;
        that is "HEAD:".

The SHA1 object names of fetched refs are stored in FETCH_HEAD,
one name per line, with a comment to describe where it came from.
This is later used by "git resolve" and "git octopus".

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>fetch-pack: start multi-head pulling.</title>
<updated>2005-08-12T17:38:21Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-08-12T09:08:29Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=33b8303466af9a839265abc9829e5479f6f12488'/>
<id>urn:sha1:33b8303466af9a839265abc9829e5479f6f12488</id>
<content type='text'>
This is a beginning of resurrecting the multi-head pulling support
for git-fetch-pack command.  The git-fetch-script wrapper still
only knows about fetching a single head, without renaming, so it is
not very useful unless you directly call git-fetch-pack itself yet.

It also fixes a longstanding obsolete description of how the command
discovers the list of local commits.
</content>
</entry>
<entry>
<title>[PATCH] Make curl fail on server error</title>
<updated>2005-08-09T05:51:44Z</updated>
<author>
<name>Catalin Marinas</name>
<email>catalin.marinas@gmail.com</email>
</author>
<published>2005-08-08T09:53:23Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=affa40d2f8c5e72af5896cf395ef77d4162908cd'/>
<id>urn:sha1:affa40d2f8c5e72af5896cf395ef77d4162908cd</id>
<content type='text'>
Some http servers return an HTML error page and git reads it as normal
data. Adding -f option makes curl fail silently.

Signed-off-by: Catalin Marinas &lt;catalin.marinas@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
