diff options
author | Shawn O. Pearce <sop@google.com> | 2009-07-02 12:45:47 -0700 |
---|---|---|
committer | Shawn O. Pearce <sop@google.com> | 2009-07-02 12:45:47 -0700 |
commit | 1dcb58a7d0f07bf358ba485733580413ebe2478b (patch) | |
tree | d6aba27e0585a06d103cf859339f5bdb5c4f101a /git_config.py | |
parent | 37dbf2bf0fa799530052ffd010dadbd4c01b7746 (diff) | |
download | git-repo-1dcb58a7d0f07bf358ba485733580413ebe2478b.tar.gz |
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: Shawn O. Pearce <sop@google.com>
Diffstat (limited to 'git_config.py')
0 files changed, 0 insertions, 0 deletions