projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f487d3
)
git p4 test: use client_view to build the initial client
author
Pete Wyckoff
<pw@padd.com>
Sun, 27 Jan 2013 03:11:07 +0000
(22:11 -0500)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 27 Jan 2013 06:00:38 +0000
(22:00 -0800)
Simplify the code a bit by using an existing function.
Signed-off-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-git-p4.sh
patch
|
blob
|
history
diff --git
a/t/lib-git-p4.sh
b/t/lib-git-p4.sh
index 7061dce7e5de2f67e60fe6c42c40519f29cad4a1..890ee60708f59e743daf93171f40adb0abc4a76d 100644
(file)
--- a/
t/lib-git-p4.sh
+++ b/
t/lib-git-p4.sh
@@
-74,15
+74,8
@@
start_p4d() {
fi
# build a client
- (
- cd "$cli" &&
- p4 client -i <<-EOF
- Client: client
- Description: client
- Root: $cli
- View: //depot/... //client/...
- EOF
- )
+ client_view "//depot/... //client/..." &&
+
return 0
}