commit | 1dcb58a7d0f07bf358ba485733580413ebe2478b | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <sop@google.com> | Thu Jul 02 12:45:47 2009 -0700 |
committer | Shawn O. Pearce <sop@google.com> | Thu Jul 02 12:45:47 2009 -0700 |
tree | d6aba27e0585a06d103cf859339f5bdb5c4f101a | |
parent | 37dbf2bf0fa799530052ffd010dadbd4c01b7746 [diff] |
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>