summaryrefslogtreecommitdiffstats
path: root/git_config.py
diff options
context:
space:
mode:
authorShawn O. Pearce <sop@google.com>2009-07-02 12:45:47 -0700
committerShawn O. Pearce <sop@google.com>2009-07-02 12:45:47 -0700
commit1dcb58a7d0f07bf358ba485733580413ebe2478b (patch)
treed6aba27e0585a06d103cf859339f5bdb5c4f101a /git_config.py
parent37dbf2bf0fa799530052ffd010dadbd4c01b7746 (diff)
downloadgit-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