<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/t, 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-08-13T01:11:10Z</updated>
<entry>
<title>t/t4013: fix futzing with the version string.</title>
<updated>2006-08-13T01:11:10Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-08-13T01:04:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6c7f4cebdb40c0d95c63d59538fd235dcf978029'/>
<id>urn:sha1:6c7f4cebdb40c0d95c63d59538fd235dcf978029</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-apply: applying a patch to make a symlink shorter.</title>
<updated>2006-08-10T05:47:25Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-08-10T05:47:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2c71810b90d122abdcc57fc3cb62174d16e77b58'/>
<id>urn:sha1:2c71810b90d122abdcc57fc3cb62174d16e77b58</id>
<content type='text'>
The internal representation of the result is counted string
(i.e. char *buf and ulong size), which is fine for writing out
to regular file, but throwing the buf at symlink(2) was a
no-no.

Reported by Willy Tarreau.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Fix "grep -w"</title>
<updated>2006-08-06T08:37:08Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-08-05T05:16:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f25b79397c9775df9eeef3d59d0cc3b1f913bc60'/>
<id>urn:sha1:f25b79397c9775df9eeef3d59d0cc3b1f913bc60</id>
<content type='text'>
We used to find the first match of the pattern and then if the
match is not for the entire word, declared that the whole line
does not match.

But that is wrong.  The command "git grep -w -e mmap" should
find that a line "foo_mmap bar mmap baz" matches, by tring the
second instance of pattern "mmap" on the same line.

Problems an earlier round of "fix" had were pointed out by Morten
Welinder, which have been incorporated in the t7002 tests.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Add a couple of subdirectory tests.</title>
<updated>2006-08-03T21:41:29Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-08-03T21:41:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c43ce6d603c68f716f83f1da68cc4692202085e0'/>
<id>urn:sha1:c43ce6d603c68f716f83f1da68cc4692202085e0</id>
<content type='text'>
We still have too few of them, but we have to start from somewhere.
The general rule is to make tests easy to debug when run with -v (notice
use of seemingly useless echo everywhere in the new tests).

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Remove cmd_usage() routine and re-organize the help/usage code.</title>
<updated>2006-08-02T07:27:18Z</updated>
<author>
<name>Ramsay Allan Jones</name>
<email>ramsay@ramsay1.demon.co.uk</email>
</author>
<published>2006-07-30T21:42:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=822a7d507151e1d6310f52d5b05234d65db11a88'/>
<id>urn:sha1:822a7d507151e1d6310f52d5b05234d65db11a88</id>
<content type='text'>
The cmd_usage() routine was causing warning messages due to a NULL
format parameter being passed in three out of four calls. This is a
problem if you want to compile with -Werror. A simple solution is to
simply remove the GNU __attribute__ format pragma from the cmd_usage()
declaration in the header file. The function interface was somewhat
muddled anyway, so re-write the code to finesse the problem.

[jc: this incidentally revealed that t9100 test assumed that the output
 from "git help" to be fixed in stone, but this patch lower-cases
 "Usage" to "usage".  Update the test not to rely on "git help" output.]

Signed-off-by: Ramsay Allan Jones &lt;ramsay@ramsay1.demon.co.uk&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>New tests and en-passant modifications to mktag.</title>
<updated>2006-08-02T07:27:18Z</updated>
<author>
<name>Ramsay Allan Jones</name>
<email>ramsay@ramsay1.demon.co.uk</email>
</author>
<published>2006-07-29T17:15:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=446c6faec69f7ac521b8b9fc2b1874731729032f'/>
<id>urn:sha1:446c6faec69f7ac521b8b9fc2b1874731729032f</id>
<content type='text'>
These changes were originally part of the next patch, but have been
split out since they were peripheral to the main purpose of that patch.

  - update comment describing the signature format to reflect
    the current code.
  - remove trailing \n in calls to error(), since a \n is already
    provided by error().
  - remove redundant call to get_sha1_hex().
  - call sha1_to_hex(sha1) to convert to ascii, rather than attempting
    to print the raw sha1.

The new tests provide a regression suite to support the modifications
to git-mktag in this and the next patch.

Signed-off-by: Ramsay Allan Jones &lt;ramsay@ramsay1.demon.co.uk&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Fix annotate test script; notice when git-annotate fails.</title>
<updated>2006-08-02T07:27:17Z</updated>
<author>
<name>Ramsay Allan Jones</name>
<email>ramsay@ramsay1.demon.co.uk</email>
</author>
<published>2006-07-29T16:20:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1fd4da643cb829618bbe76ab37df7f1b4dafc656'/>
<id>urn:sha1:1fd4da643cb829618bbe76ab37df7f1b4dafc656</id>
<content type='text'>
The t8001-annotate.sh test claimed all tests pass, when in fact
the git-annotate perl script failed to run! (prior to fixing the
script to work with perl 5.5).

Signed-off-by: Ramsay Allan Jones &lt;ramsay@ramsay1.demon.co.uk&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Merge branch 'js/mv'</title>
<updated>2006-07-30T20:24:48Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-07-30T20:24:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=522a98caa5b9b6b99e08c6c72665d59342d6d5e2'/>
<id>urn:sha1:522a98caa5b9b6b99e08c6c72665d59342d6d5e2</id>
<content type='text'>
* js/mv:
  builtin git-mv: support moving directories
  Make git-mv a builtin
  Extract helper bits from c-merge-recursive work
</content>
</entry>
<entry>
<title>Display an error from update-ref if target ref name is invalid.</title>
<updated>2006-07-29T03:53:53Z</updated>
<author>
<name>Shawn Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2006-07-29T03:44:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=818f477c40fee62ab8ea5b493c51bb357f38957c'/>
<id>urn:sha1:818f477c40fee62ab8ea5b493c51bb357f38957c</id>
<content type='text'>
Alex Riesen (raa.lkml@gmail.com) recently observed that git branch
would fail with no error message due to unexpected situations with
regards to refs.  For example, if .git/refs/heads/gu is a file but
"git branch -b refs/heads/gu/fixa HEAD" was invoked by the user
it would fail silently due to refs/heads/gu being a file and not
a directory.

This change adds a test for trying to create a ref within a directory
that is actually currently a file, and adds error printing within
the ref locking routine should the resolve operation fail.

The error printing code probably belongs at this level of the library
as other failures within the ref locking, writing and logging code
are also currently at this level of the code.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>t4103: fix binary patch application test.</title>
<updated>2006-07-28T19:23:28Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-07-28T19:23:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=5afa69b415fd020d6dd36751bdcf45fdbf07dd4a'/>
<id>urn:sha1:5afa69b415fd020d6dd36751bdcf45fdbf07dd4a</id>
<content type='text'>
The generated binary patch was _not_ binary -- earlier I made
the --full-index flag to imply binary patch generation to the diff
machinery, but later we made it independent from --binary (although
the latter implies the former).

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