Heya, On Wed, Jun 8, 2011 at 21:28, Jonathan Nieder <jrnieder@xxxxxxxxx> wrote: >> +test_expect_failure PYTHON_24 'fetch new branch' ' > > Side note: this repeated PYTHON_24 implementation detail as a > prerequisite feels wrong. ÂWould it make sense to do something like > > Â Â Â Âif test_have_prereq PYTHON_24 > Â Â Â Âthen > Â Â Â Â Â Â Â Âtest_set_prereq REMOTE_TESTGIT > Â Â Â Âfi > > at the start and use that? I don't know, it already says: if test_have_prereq PYTHON && "$PYTHON_PATH" -c ' import sys if sys.hexversion < 0x02040000: sys.exit(1) ' then # Requires Python 2.4 or newer test_set_prereq PYTHON_24 fi At the start. Are you suggesting to rename PYTHON_24 to REMOTE_TESTGIT? > It would also be interesting to test tag pushes and pushes by object > name. I was going to test this, but it seems there's a problem with my series. Peff, if you want to look into it, (if not I'll try to look at it tomorrow) it's up at my github fork [0]. ok 12 - push when remote has extra refs expecting success: (cd clone && git checkout -b new-name && echo content >>file && git commit -a -m seven && git push origin new-name ) && compare_refs clone HEAD server refs/heads/new-name Switched to a new branch 'new-name' [new-name f29f436] seven Author: A U Thor <author@xxxxxxxxxxx> 1 files changed, 1 insertions(+), 0 deletions(-) Unpacking objects: 100% (3/3), done. To testgit::file:///home/sverre/code/git/t/trash directory.t5800-remote-helpers/server * [new branch] master error: Trying to write ref refs/remotes/origin/master with nonexistant object 0000000000000000000000000000000000000000 error: Cannot update the ref 'refs/remotes/origin/master'. [0] https://github.com/SRabbelier/git/commits/remote-helpers -- Cheers, Sverre Rabbelier -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html