summaryrefslogtreecommitdiff
path: root/t/t9809-git-p4-client-view.sh
diff options
context:
space:
mode:
authorGary Gibbons <ggibbons@perforce.com>2012-01-02 23:05:52 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-01-03 22:10:03 (GMT)
commite3e68643b5c2adec097ba26230e0fcb641febacb (patch)
treec4cb11e7afc2861f99c586304b9502cdb21f5920 /t/t9809-git-p4-client-view.sh
parentdf5ed9077f18985a73f00fe2bacc2961598f73dc (diff)
downloadgit-e3e68643b5c2adec097ba26230e0fcb641febacb.zip
git-e3e68643b5c2adec097ba26230e0fcb641febacb.tar.gz
git-e3e68643b5c2adec097ba26230e0fcb641febacb.tar.bz2
git-p4: support single file p4 client view maps
Perforce client views can map individual files, mapping one //depot file path to one //client file path. These mappings contain no meta/masking characters. This patch add support for these file maps to the currently supported '...' view mappings. [pw: one test now suceeds] Signed-off-by: Gary Gibbons <ggibbons@perforce.com> Signed-off-by: Pete Wyckoff <pw@padd.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9809-git-p4-client-view.sh')
-rwxr-xr-xt/t9809-git-p4-client-view.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t9809-git-p4-client-view.sh b/t/t9809-git-p4-client-view.sh
index 06652cb..1cc83c5 100755
--- a/t/t9809-git-p4-client-view.sh
+++ b/t/t9809-git-p4-client-view.sh
@@ -191,7 +191,7 @@ test_expect_success 'exclusion wildcard, client rhs different (normal)' '
git_verify $files
'
-test_expect_failure 'exclusion single file' '
+test_expect_success 'exclusion single file' '
client_view "//depot/... //client/..." \
"-//depot/dir2/file22 //client/file22" &&
files="dir1/file11 dir1/file12 dir2/file21" &&