Skip to content
Commit 1dcb58a7 authored by Shawn Pearce's avatar Shawn Pearce
Browse files

Support GIT_EDITOR='vim -c "set textwidth=80"'



If there are shell special characters in the editor string, we must
use /bin/sh to parse and execute it, rather than trying to rely on
a simple split(' ').  This avoids vim starting up with two empty
buffers, due to a misparsed command line.

Signed-off-by: default avatarShawn O. Pearce <sop@google.com>
parent 37dbf2bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment