<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git, branch v1.0.0</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.0.0</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.0.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2005-12-21T08:01:00Z</updated>
<entry>
<title>GIT 1.0.0</title>
<updated>2005-12-21T08:01:00Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-12-21T08:01:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c2f3bf071ee90b01f2d629921bb04c4f798f02fa'/>
<id>urn:sha1:c2f3bf071ee90b01f2d629921bb04c4f798f02fa</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Make "git-send-pack" less verbose by default</title>
<updated>2005-12-21T05:18:32Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@osdl.org</email>
</author>
<published>2005-12-21T02:13:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=41f93a2c903a45167b26c2dc93d45ffa9a9bbd49'/>
<id>urn:sha1:41f93a2c903a45167b26c2dc93d45ffa9a9bbd49</id>
<content type='text'>
It used to make sense to have git-send-pack talk about the things it sent
when (a) it was a new program and (b) nobody had a lot of tags and
branches.

These days, it's just distracting to see tons of

	'refs/tags/xyz': up-to-date
	...

when updating a remote repo.

So shut it up by default, and add a "--verbose" flag for those who really
want to see it.

Also, since this makes he case of everything being up-to-date just totally
silent, make it say "Everything up-to-date" if no refs needed updating.

Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>A shared repository should be writable by members.</title>
<updated>2005-12-21T04:54:28Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-12-21T04:54:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a3431febfe241120205472def2a14ef09a4dbe60'/>
<id>urn:sha1:a3431febfe241120205472def2a14ef09a4dbe60</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>ce_smudge_racily_clean_entry: explain why it works.</title>
<updated>2005-12-20T22:18:47Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-12-20T22:18:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=4b3511b0f8422fd2c5b1b37c9655ae2ce904bca5'/>
<id>urn:sha1:4b3511b0f8422fd2c5b1b37c9655ae2ce904bca5</id>
<content type='text'>
This is a tricky code and warrants extra commenting.  I wasted
30 minutes trying to break it until I realized why it works.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Racy GIT (part #2)</title>
<updated>2005-12-20T20:12:18Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-12-20T20:12:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=407c8eb0d09d4b84bbfda9e04895a35c8fd6fef6'/>
<id>urn:sha1:407c8eb0d09d4b84bbfda9e04895a35c8fd6fef6</id>
<content type='text'>
The previous round caught the most trivial case well, but broke
down once index file is updated again.  Smudge problematic
entries (they should be very few if any under normal interactive
workflow) before writing a new index file out.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Racy GIT</title>
<updated>2005-12-20T08:22:28Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-12-20T08:02:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=29e4d3635709778bcc808dbad0477efad82f8d7e'/>
<id>urn:sha1:29e4d3635709778bcc808dbad0477efad82f8d7e</id>
<content type='text'>
This fixes the longstanding "Racy GIT" problem, which was pretty
much there from the beginning of time, but was first
demonstrated by Pasky in this message on October 24, 2005:

    http://marc.theaimsgroup.com/?l=git&amp;m=113014629716878

If you run the following sequence of commands:

	echo frotz &gt;infocom
        git update-index --add infocom
        echo xyzzy &gt;infocom

so that the second update to file "infocom" does not change
st_mtime, what is recorded as the stat information for the cache
entry "infocom" exactly matches what is on the filesystem
(owner, group, inum, mtime, ctime, mode, length).  After this
sequence, we incorrectly think "infocom" file still has string
"frotz" in it, and get really confused.  E.g. git-diff-files
would say there is no change, git-update-index --refresh would
not even look at the filesystem to correct the situation.

Some ways of working around this issue were already suggested by
Linus in the same thread on the same day, including waiting
until the next second before returning from update-index if a
cache entry written out has the current timestamp, but that
means we can make at most one commit per second, and given that
the e-mail patch workflow used by Linus needs to process at
least 5 commits per second, it is not an acceptable solution.
Linus notes that git-apply is primarily used to update the index
while processing e-mailed patches, which is true, and
git-apply's up-to-date check is fooled by the same problem but
luckily in the other direction, so it is not really a big issue,
but still it is disturbing.

The function ce_match_stat() is called to bypass the comparison
against filesystem data when the stat data recorded in the cache
entry matches what stat() returns from the filesystem.  This
patch tackles the problem by changing it to actually go to the
filesystem data for cache entries that have the same mtime as
the index file itself.  This works as long as the index file and
working tree files are on the filesystems that share the same
monotonic clock.  Files on network mounted filesystems sometimes
get skewed timestamps compared to "date" output, but as long as
working tree files' timestamps are skewed the same way as the
index file's, this approach still works.  The only problematic
files are the ones that have the same timestamp as the index
file's, because two file updates that sandwitch the index file
update must happen within the same second to trigger the
problem.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>format-patch: make sure header and body are separated.</title>
<updated>2005-12-20T05:55:12Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-12-20T05:55:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a5c21d6eb7e7ce164666d55e5911c271664ddfe7'/>
<id>urn:sha1:a5c21d6eb7e7ce164666d55e5911c271664ddfe7</id>
<content type='text'>
Since log message in a commit object is defined to be binary
blob, it could be something without an empty line between the
title line and the body text.  Be careful to format such into
a form suitable for e-mail submission.  There must be an empty
line between the headers and the body.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>diff --abbrev: document --abbrev=&lt;n&gt; form.</title>
<updated>2005-12-20T02:32:44Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-12-18T10:03:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=913419fcc648dd43d7f7afdd94fa25aee4f9798a'/>
<id>urn:sha1:913419fcc648dd43d7f7afdd94fa25aee4f9798a</id>
<content type='text'>
It was implemented there but was not advertised.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>diff: --abbrev option</title>
<updated>2005-12-20T02:32:44Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-12-14T01:21:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=47dd0d595d04ee5283dfd8a0b4cbd6e6de8ad57f'/>
<id>urn:sha1:47dd0d595d04ee5283dfd8a0b4cbd6e6de8ad57f</id>
<content type='text'>
When I show transcripts to explain how something works, I often
find myself hand-editing the diff-raw output to shorten various
object names in the output.

This adds --abbrev option to the diff family, which shortens
diff-raw output and diff-tree commit id headers.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>xread/xwrite: do not worry about EINTR at calling sites.</title>
<updated>2005-12-20T02:28:16Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-12-20T00:18:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1c15afb9343bca82e687d008ec983a9110ac9c40'/>
<id>urn:sha1:1c15afb9343bca82e687d008ec983a9110ac9c40</id>
<content type='text'>
We had errno==EINTR check after read(2)/write(2) sprinkled all
over the places, always doing continue.  Consolidate them into
xread()/xwrite() wrapper routines.

Credits for suggestion goes to HPA -- bugs are mine.

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