<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/t, branch v2.4.0</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.4.0</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.4.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2015-04-20T22:28:33Z</updated>
<entry>
<title>Merge branch 'tb/connect-ipv6-parse-fix'</title>
<updated>2015-04-20T22:28:33Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-04-20T22:28:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9718c7c0c2a92585729d0f2e05ebf2c44b0cc56a'/>
<id>urn:sha1:9718c7c0c2a92585729d0f2e05ebf2c44b0cc56a</id>
<content type='text'>
An earlier update to the parser that disects an address broke an
address, followed by a colon, followed by an empty string (instead
of the port number).

* tb/connect-ipv6-parse-fix:
  connect.c: ignore extra colon after hostname
</content>
</entry>
<entry>
<title>Merge branch 'va/fix-git-p4-tests'</title>
<updated>2015-04-20T22:28:32Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-04-20T22:28:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a59ac46ba4473a6ceed919fefd054c38081531dd'/>
<id>urn:sha1:a59ac46ba4473a6ceed919fefd054c38081531dd</id>
<content type='text'>
Test fixes for git-p4.

* va/fix-git-p4-tests:
  t9814: guarantee only one source exists in git-p4 copy tests
  git-p4: fix copy detection test
  t9814: fix broken shell syntax in git-p4 rename test
</content>
</entry>
<entry>
<title>Merge branch 'jc/update-instead-into-void'</title>
<updated>2015-04-14T18:49:10Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-04-14T18:49:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=fa9aaa8f1051bd7b0cd437a5006898277ec42805'/>
<id>urn:sha1:fa9aaa8f1051bd7b0cd437a5006898277ec42805</id>
<content type='text'>
A push into an unborn branch, with "receive.denyCurrentBranch" set
to "updateInstead", did not check out the working tree as expected.

* jc/update-instead-into-void:
  push-to-deploy: allow pushing into an unborn branch and updating it
</content>
</entry>
<entry>
<title>t9814: guarantee only one source exists in git-p4 copy tests</title>
<updated>2015-04-13T03:25:17Z</updated>
<author>
<name>Vitor Antunes</name>
<email>vitor.hda@gmail.com</email>
</author>
<published>2015-04-05T23:08:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f1f4c84dccba24d606e82d3436c1c4f573712d28'/>
<id>urn:sha1:f1f4c84dccba24d606e82d3436c1c4f573712d28</id>
<content type='text'>
By using a tree with multiple identical files and allowing copy detection to
choose any one of them, the check in the test is unnecessarily complex.  We can
simplify by:

* Modify source file (file2) before copying the file.
* Check that only file2 is the source in the output of "p4 filelog".
* Remove all "case" statements and replace them with simple tests to check
  that source is "file2".

Signed-off-by: Vitor Antunes &lt;vitor.hda@gmail.com&gt;
Acked-by: Luke Diamand &lt;luke@diamand.org&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>connect.c: ignore extra colon after hostname</title>
<updated>2015-04-09T04:00:53Z</updated>
<author>
<name>Torsten Bögershausen</name>
<email>tboegi@web.de</email>
</author>
<published>2015-04-07T20:03:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=6b6c5f7a2f66751a93afce54277a1f30ab0dc521'/>
<id>urn:sha1:6b6c5f7a2f66751a93afce54277a1f30ab0dc521</id>
<content type='text'>
Ignore an extra ':' at the end of the hostname in URL's like
"ssh://example.com:/path/to/repo"

The colon is meant to separate a port number from the hostname.
If the port is empty, the colon should be ignored, see RFC 3986.

It had been working for URLs with ssh:// scheme, but was unintentionally
broken in 86ceb3, "allow ssh://user@[2001:db8::1]/repo.git"

Reported-by: Reid Woodbury Jr. &lt;reidw@rawsound.com&gt;
Signed-off-by: Torsten Bögershausen &lt;tboegi@web.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>push-to-deploy: allow pushing into an unborn branch and updating it</title>
<updated>2015-04-02T05:40:10Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-04-01T06:15:45Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=1a51b52422e055e433dec9a496621341d70d38ff'/>
<id>urn:sha1:1a51b52422e055e433dec9a496621341d70d38ff</id>
<content type='text'>
Setting receive.denycurrentbranch to updateinstead and pushing into
the current branch, when the working tree and the index is truly
clean, is supposed to reset the working tree and the index to match
the tree of the pushed commit.  This did not work when pushing into
an unborn branch.

The code that drives push-to-checkout hook needs no change, as the
interface is defined so that hook can decide what to do when the
push is coming to an unborn branch and take an appropriate action
since the beginning.

Acked-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>git-p4: fix copy detection test</title>
<updated>2015-03-28T15:55:54Z</updated>
<author>
<name>Vitor Antunes</name>
<email>vitor.hda@gmail.com</email>
</author>
<published>2015-03-28T00:03:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=138ce9c29f622ea962ee3ed676dd137e20397fcf'/>
<id>urn:sha1:138ce9c29f622ea962ee3ed676dd137e20397fcf</id>
<content type='text'>
File file11 is copied from file2 and diff-tree correctly reports
this file as its the source. But it is possible that the diff-tree
algorithm detects file10, which was also copied from file2, as the
origin of the new file.

This fix uses a case statement to support both files as the source
of file11, as was done in other tests in this file.

Signed-off-by: Vitor Antunes &lt;vitor.hda@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>t9814: fix broken shell syntax in git-p4 rename test</title>
<updated>2015-03-28T15:55:27Z</updated>
<author>
<name>Vitor Antunes</name>
<email>vitor.hda@gmail.com</email>
</author>
<published>2015-03-28T00:03:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=83e085a1f92e034ea70416cef3b75db7c0581ff3'/>
<id>urn:sha1:83e085a1f92e034ea70416cef3b75db7c0581ff3</id>
<content type='text'>
An update to the tests in 2.1 era introduced a broken case statements
that lack closing esac.

Signed-off-by: Vitor Antunes &lt;vitor.hda@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jk/test-chain-lint'</title>
<updated>2015-03-26T18:57:14Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-03-26T18:57:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=30db51a3fec68bfa5a59b9b3886162f536e37320'/>
<id>urn:sha1:30db51a3fec68bfa5a59b9b3886162f536e37320</id>
<content type='text'>
People often forget to chain the commands in their test together
with &amp;&amp;, leaving a failure from an earlier command in the test go
unnoticed.  The new GIT_TEST_CHAIN_LINT mechanism allows you to
catch such a mistake more easily.

* jk/test-chain-lint: (36 commits)
  t9001: drop save_confirm helper
  t0020: use test_* helpers instead of hand-rolled messages
  t: simplify loop exit-code status variables
  t: fix some trivial cases of ignored exit codes in loops
  t7701: fix ignored exit code inside loop
  t3305: fix ignored exit code inside loop
  t0020: fix ignored exit code inside loops
  perf-lib: fix ignored exit code inside loop
  t6039: fix broken &amp;&amp; chain
  t9158, t9161: fix broken &amp;&amp;-chain in git-svn tests
  t9104: fix test for following larger parents
  t4104: drop hand-rolled error reporting
  t0005: fix broken &amp;&amp;-chains
  t7004: fix embedded single-quotes
  t0050: appease --chain-lint
  t9001: use test_when_finished
  t4117: use modern test_* helpers
  t6034: use modern test_* helpers
  t1301: use modern test_* helpers
  t0020: use modern test_* helpers
  ...
</content>
</entry>
<entry>
<title>Merge branch 'tg/test-index-v4'</title>
<updated>2015-03-25T19:54:27Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-03-25T19:54:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d78374e578a1837ee73c45f944c420c6f3f64deb'/>
<id>urn:sha1:d78374e578a1837ee73c45f944c420c6f3f64deb</id>
<content type='text'>
A test fix.

* tg/test-index-v4:
  t1700: make test pass with index-v4
</content>
</entry>
</feed>
