1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-08 18:23:01 +01:00
git/contrib/fast-import
Pete Wyckoff 543987bd47 git-p4: fix submit regression with clientSpec and subdir clone
When the --use-client-spec is given to clone, and the clone
path is a subset of the full tree as specified in the client,
future submits will go to the wrong place.

Factor out getClientSpec() so both clone/sync and submit can
use it.  Introduce getClientRoot() that is needed for the client
spec case, and use it instead of p4Where().

Test the five possible submit behaviors (add, modify, rename,
copy, delete).

Reported-by: Laurent Charrière <lcharriere@promptu.com>
Signed-off-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-02-26 16:14:29 -08:00
..
git-import.perl
git-import.sh
git-p4 git-p4: fix submit regression with clientSpec and subdir clone 2012-02-26 16:14:29 -08:00
git-p4.bat
import-directories.perl perl: use "use warnings" instead of -w 2010-09-27 12:37:56 -07:00
import-tars.perl
import-zips.py Correct references to /usr/bin/python which does not exist on FreeBSD 2010-03-24 14:33:54 -07:00