git-p4: Use P4EDITOR environment variable when set
commit82cea9ffb1c4677155e3e2996d76542502611370
authorShawn Bohrer <shawn.bohrer@gmail.com>
Thu, 13 Mar 2008 00:03:24 +0000 (12 19:03 -0500)
committerSimon Hausmann <simon@lst.de>
Thu, 13 Mar 2008 07:57:29 +0000 (13 08:57 +0100)
tree4c51f5cf44ff19cd17541c016edfef9a8fea6030
parent67abd417165d1e7716d947949f5e5e27318c8a29
git-p4: Use P4EDITOR environment variable when set

Perforce allows you to set the P4EDITOR environment variable to your
preferred editor for use in perforce.  Since we are displaying a
perforce changelog to the user we should use it when it is defined.

Signed-off-by: Shawn Bohrer <shawn.bohrer@gmail.com>
Signed-off-by: Simon Hausmann <simon@lst.de>
contrib/fast-import/git-p4