<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/t/t0000-basic.sh, branch v1.4.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.4.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.4.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2006-05-02T05:29:16Z</updated>
<entry>
<title>write-tree: --prefix=&lt;path&gt;</title>
<updated>2006-05-02T05:29:16Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-04-26T08:20:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6bd20358a9b831b3b545284188871bc844245c25'/>
<id>urn:sha1:6bd20358a9b831b3b545284188871bc844245c25</id>
<content type='text'>
The "bind" commit can express an aggregation of multiple
projects into a single commit.

In such an organization, there would be one project, root of
whose tree object is at the same level of the root of the
aggregated projects, and other projects have their toplevel in
separate subdirectories.  Let's call that root level project the
"primary project", and call other ones just "subprojects".

You would first read-tree the primary project, and then graft
the subprojects under their appropriate location using read-tree
--prefix=&lt;subdir&gt;/ repeatedly.

To write out a tree object from such an index for a subproject,
write-tree --prefix=&lt;subdir&gt;/ is used.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>t0000-basic: more commit-tree tests.</title>
<updated>2006-04-27T01:25:15Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-04-27T01:25:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9af0b8dbe2fb252262412a11254e2bcc6ffb87bb'/>
<id>urn:sha1:9af0b8dbe2fb252262412a11254e2bcc6ffb87bb</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>t0000-basic: Add ls-tree recursive test back.</title>
<updated>2006-04-26T09:27:59Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-04-26T09:27:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fdeb6bf55b7c578ce1735092c6dfbf6968cbee5c'/>
<id>urn:sha1:fdeb6bf55b7c578ce1735092c6dfbf6968cbee5c</id>
<content type='text'>
When we updated ls-tree recursive output to omit the tree nodes,
246cc52f388cae8ca99e5a12b8458c9bfa467765 adjusted the old test
so that we do not expect to see trees in its output.  Later,
with 0f8f45cb4a7e664b396f73c25891da46b953b8b8, we added back the
ability to show both with -t option, but we forgot to update the
test as well.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Optionally work without python</title>
<updated>2006-02-19T07:16:09Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>Johannes.Schindelin@gmx.de</email>
</author>
<published>2006-02-18T12:01:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=abb7c7b31c0896bd838bbb6437b310db5a42227a'/>
<id>urn:sha1:abb7c7b31c0896bd838bbb6437b310db5a42227a</id>
<content type='text'>
In some setups (notably server setups) you do not need that dependency.
Gracefully handle the absence of python when NO_PYTHON is defined.

Signed-off-by: Johannes E. Schindelin &lt;Johannes.Schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>fix "test: 2: unexpected operator" on bsd</title>
<updated>2006-02-12T19:36:17Z</updated>
<author>
<name>Alex Riesen</name>
<email>raa.lkml@gmail.com</email>
</author>
<published>2006-02-12T18:03:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=ef1af9d9afe2f402ad60b054ac529c03c4b79299'/>
<id>urn:sha1:ef1af9d9afe2f402ad60b054ac529c03c4b79299</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>t0000: catch trivial pilot errors.</title>
<updated>2005-12-11T04:55:32Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-12-11T04:55:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=eea420693befc2f876079a8a4585ea8ebf07c047'/>
<id>urn:sha1:eea420693befc2f876079a8a4585ea8ebf07c047</id>
<content type='text'>
People seem to be getting test failure from t6021 not becuase
git is faulty but because they forgot to install "merge".  Check
this and other trivial pilot errors in the first test.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>ls-tree: match the test to the new semantics.</title>
<updated>2005-11-29T07:06:29Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2005-11-28T10:32:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=246cc52f388cae8ca99e5a12b8458c9bfa467765'/>
<id>urn:sha1:246cc52f388cae8ca99e5a12b8458c9bfa467765</id>
<content type='text'>
The diff for this commit is a good illustration of what changed
in ls-tree behaviour.

 - With -r, tree nodes themselves are not shown anymore, but
   blobs in subtrees are shown.

 - The order of paths parameters do not matter, since they are
   not like arguments to /bin/ls, but are filter patterns.

 - When filter patterns overlap, unintuitive things happen.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Create object subdirectories on demand (phase II)</title>
<updated>2005-10-28T09:01:42Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@osdl.org</email>
</author>
<published>2005-10-09T09:30:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9106c097ad87577019544f45fda11c4d73986597'/>
<id>urn:sha1:9106c097ad87577019544f45fda11c4d73986597</id>
<content type='text'>
This removes the unoptimization.  The previous round does not mind
missing fan-out directories, but still makes sure they exist, lest
older versions choke on a repository created/packed by it.

This round does not play that nicely anymore -- empty fan-out
directories are not created by init-db, and will stay removed by
prune-packed.  The prune command also removes empty fan-out directories.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Create object subdirectories on demand</title>
<updated>2005-10-08T22:54:01Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@osdl.org</email>
</author>
<published>2005-10-08T22:54:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=230f13225df8b7e7eb0acc91a8c630f9e84967c1'/>
<id>urn:sha1:230f13225df8b7e7eb0acc91a8c630f9e84967c1</id>
<content type='text'>
This makes it possible to have a "sparse" git object subdirectory
structure, something that has become much more attractive now that people
use pack-files all the time.

As a result of pack-files, a git object directory doesn't necessarily have
any individual objects lying around, and in that case it's just wasting
space to keep the empty first-level object directories around: on many
filesystems the 256 empty directories will be aboue 1MB of diskspace.

Even more importantly, after you re-pack a project that _used_ to be
unpacked, you could be left with huge directories that no longer contain
anything, but that waste space and take time to look through.

With this change, "git prune-packed" can just do an rmdir() on the
directories, and they'll get removed if empty, and re-created on demand.

This patch also tries to fix up "write_sha1_from_fd()" to use the new
common infrastructure for creating the object files, closing a hole where
we might otherwise leave half-written objects in the object database.

[jc: I unoptimized the part that really removes the fan-out directories
 to ease transition.  init-db still wastes 1MB of diskspace to hold 256
 empty fan-outs, and prune-packed rmdir()'s the grown but empty directories,
 but runs mkdir() immediately after that -- reducing the saving from 150KB
 to 146KB.  These parts will be re-introduced when everybody has the
 on-demand capability.]

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>[PATCH] Make the test more shell generic and fix missing Solaris find option</title>
<updated>2005-09-27T07:16:39Z</updated>
<author>
<name>Peter Eriksen</name>
<email>s022018@student.dtu.dk</email>
</author>
<published>2005-09-24T19:50:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=edde7a8b5324d88f07fcb8204da313c19b4988fa'/>
<id>urn:sha1:edde7a8b5324d88f07fcb8204da313c19b4988fa</id>
<content type='text'>
This is from Peter Eriksen, but further fixed.

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