summaryrefslogtreecommitdiff
path: root/t/t4044-diff-index-unique-abbrev.sh
diff options
context:
space:
mode:
authorLibravatar Johan Herland <johan@herland.net>2013-04-21 23:52:04 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-04-21 15:14:41 -0700
commit983b17d4bbedd426d4fdd8a95df4dcd292c1a695 (patch)
treec82b5ef83e8873a3676ab5368aafbc72458b4a70 /t/t4044-diff-index-unique-abbrev.sh
parentt7201.24: Add refspec to keep --track working (diff)
downloadtgif-983b17d4bbedd426d4fdd8a95df4dcd292c1a695.tar.xz
t9114.2: Don't use --track option against "svn-remote"-tracking branches
We are formalizing a requirement that any remote-tracking branch to be used as an upstream (i.e. as an argument to --track), _must_ "belong" to a configured remote by being matched by the "dst" side of a fetch refspec. This test uses --track against a "remotes/trunk" ref which does not belong to any configured (git) remotes, but is instead created by "git svn fetch" operating on an svn-remote. It does not make sense to use an svn-remote as an upstream for a local branch, as a regular "git pull" from (or "git push" to) it would obviously fail (instead you would need to use "git svn" to communicate with this remote). Furthermore, the usage of --track in this case is unnecessary, since the upstreaming config that would be created is never used. Simply removing --track fixes the issue without changing the expected behavior of the test. Acked-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Johan Herland <johan@herland.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4044-diff-index-unique-abbrev.sh')
0 files changed, 0 insertions, 0 deletions