<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/t, branch v1.2.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.2.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.2.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2006-02-18T07:52:57Z</updated>
<entry>
<title>Make git-reset delete empty directories</title>
<updated>2006-02-18T07:52:57Z</updated>
<author>
<name>Shawn Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2006-02-17T07:26:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=772d8a3b63ff669c285edb8aff0c63b609614933'/>
<id>urn:sha1:772d8a3b63ff669c285edb8aff0c63b609614933</id>
<content type='text'>
When git-reset --hard is used and a subdirectory becomes
empty (as it contains no tracked files in the target tree)
the empty subdirectory should be removed.  This matches
the behavior of git-checkout-index and git-read-tree -m
which would not have created the subdirectory or would
have deleted it when updating the working directory.

Subdirectories which are not empty will be left behind.
This may happen if the subdirectory still contains object
files from the user's build process (for example).

[jc: simplified the logic a bit, while keeping the test script.]
</content>
</entry>
<entry>
<title>Abstract test_create_repo out for use in tests.</title>
<updated>2006-02-18T00:16:53Z</updated>
<author>
<name>Carl Worth</name>
<email>cworth@cworth.org</email>
</author>
<published>2006-02-17T21:33:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=eedf8f97e58bbf4717705900379f2d63134047f9'/>
<id>urn:sha1:eedf8f97e58bbf4717705900379f2d63134047f9</id>
<content type='text'>
Signed-off-by: Carl Worth &lt;cworth@cworth.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>avoid echo -e, there are systems where it does not work</title>
<updated>2006-02-12T19:36:19Z</updated>
<author>
<name>Alex Riesen</name>
<email>raa.lkml@gmail.com</email>
</author>
<published>2006-02-12T18:05:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0dbc4e89bb3ddaaa4230f91d5f59b08f3d33e91b'/>
<id>urn:sha1:0dbc4e89bb3ddaaa4230f91d5f59b08f3d33e91b</id>
<content type='text'>
FreeBSD 4.11 being one example: the built-in echo doesn't have -e,
and the installed /bin/echo does not do "-e" as well.
"printf" works, laking just "\e" and "\xAB'.

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>t5500: adjust to change in pack-object reporting behaviour.</title>
<updated>2006-02-12T07:08:23Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-02-12T07:08:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=16139f9035137ccd81e1e9a9dc203fbede6997a0'/>
<id>urn:sha1:16139f9035137ccd81e1e9a9dc203fbede6997a0</id>
<content type='text'>
Now pack-object is not as chatty when its stderr is not connected
to a terminal, so the test needs to be adjusted for that.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Define GIT_(AUTHOR|COMMITTER)_(NAME|EMAIL) to known values.</title>
<updated>2006-02-11T03:11:23Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-02-11T03:11:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=29e55cd5ad9e17d2ff8a1a37b7ee45d18d1e59d6'/>
<id>urn:sha1:29e55cd5ad9e17d2ff8a1a37b7ee45d18d1e59d6</id>
<content type='text'>
Without these, running tests with an account with empty gecos
field would fail.

We might want to loosen error from "git-var -l" (but not
"git-var GIT_AUTHOR_NAME") later, but that is more or less an
independent issue.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>t6000: fix a careless test library add-on.</title>
<updated>2006-02-09T05:55:34Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-02-07T23:35:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=47e013f9207a235a87390ee8ad03c8a7406f4147'/>
<id>urn:sha1:47e013f9207a235a87390ee8ad03c8a7406f4147</id>
<content type='text'>
It tried to "restore" GIT_AUTHOR_EMAIL environment variable but
the variable started out as unset, so ended up setting it to an
empty string.  This is now caught as an error.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-commit: revamp the git-commit semantics.</title>
<updated>2006-02-07T07:20:32Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-02-05T08:07:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=130fcca63fe8e7e087e7419907e018cbbaf434a3'/>
<id>urn:sha1:130fcca63fe8e7e087e7419907e018cbbaf434a3</id>
<content type='text'>
 - "git commit" without _any_ parameter keeps the traditional
   behaviour.  It commits the current index.

   We commit the whole index even when this form is run from a
   subdirectory.

 - "git commit --include paths..." (or "git commit -i paths...")
   is equivalent to:

   	git update-index --remove paths...
        git commit

 - "git commit paths..." acquires a new semantics.  This is an
   incompatible change that needs user training, which I am
   still a bit reluctant to swallow, but enough people seem to
   have complained that it is confusing to them.  It

   1. refuses to run if $GIT_DIR/MERGE_HEAD exists, and reminds
      trained git users that the traditional semantics now needs
      -i flag.

   2. refuses to run if named paths... are different in HEAD and
      the index (ditto about reminding).  Added paths are OK.

   3. reads HEAD commit into a temporary index file.

   4. updates named paths... from the working tree in this
      temporary index.

   5. does the same updates of the paths... from the working
      tree to the real index.

   6. makes a commit using the temporary index that has the
      current HEAD as the parent, and updates the HEAD with this
      new commit.

 - "git commit --all" can run from a subdirectory, but it updates
   the index with all the modified files and does a whole tree
   commit.

 - In all cases, when the command decides not to create a new
   commit, the index is left as it was before the command is
   run.  This means that the two "git diff" in the following
   sequence:

       $ git diff
       $ git commit -a
       $ git diff

   would show the same diff if you abort the commit process by
   making the commit log message empty.

This commit also introduces much requested --author option.

	$ git commit --author 'A U Thor &lt;author@example.com&gt;'

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>tests: adjust breakage by stricter rev-parse</title>
<updated>2006-01-25T23:10:22Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-25T23:10:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=205df2796de24320c86528051576dcd4546215f0'/>
<id>urn:sha1:205df2796de24320c86528051576dcd4546215f0</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>t4011: "sleep 1" is not enough on FAT</title>
<updated>2006-01-22T03:33:22Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-01-20T21:17:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5df9140c92349a807952628a04ee94b65c5bead5'/>
<id>urn:sha1:5df9140c92349a807952628a04ee94b65c5bead5</id>
<content type='text'>
This test depended on "sleep 1" to be enough to dirty the index
entry for a symlink.  Alex noticed that on his Cygwin installation
"sleep 1" was sometimes not enough, and after further discussion with
Christopher Faylor, it was brought up that on FAT filesystem timestamp
granularity is 2 seconds so sleeping 1 second is not enough.

For now this patch takes an easy workaround of sleeping for 3 seconds.

Very strictly speaking, POSIX requires lstat to fill only S_IFMT part
of st_mode and st_size for symlinks, and depending on timestamp might
be considered a bug, but we depend on that anyway, so it is better to
test that.

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