Code

git-p4: set useClientSpec variable on initial clone
authorPete Wyckoff <pw@padd.com>
Sun, 26 Feb 2012 01:06:24 +0000 (20:06 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Feb 2012 00:14:20 +0000 (16:14 -0800)
commita93d33ee7bf2f1cd41f94470e9e44e0fc9307046
tree40346569540ff8ea216edbc0fbed2983c6207068
parent07f050c9996cbda2af8d42996ebd349dcdb4c28d
git-p4: set useClientSpec variable on initial clone

If --use-client-spec was given, set the matching configuration
variable.  This is necessary to ensure that future submits
work properly.

The alternatives of requiring the user to set it, or providing
a command-line option on every submit, are error prone.

Signed-off-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-p4.txt
contrib/fast-import/git-p4
t/t9809-git-p4-client-view.sh