Re: git rebase -i error message interprets \t in commit message
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Aug 6, 2013, 16:01 UTC
- Message-ID
- <CALkWK0mg4FTONDieaaW+OV0cbUpzb46gj39NcNmBMXSyey_JKQ@mail.gmail.com>
- In-Reply-To
- <87k3jy6cyc.fsf@fencepost.gnu.org>
David Kastrup wrote:
> As you can see, the first message starting with "error: could not apply" > outputs a reasonable rendition of the commit summary line. However, the > final "Could not apply" message (starting with a capital C) converts > instances of \t to a tab.
To get you started:
$ git grep "could not apply"
sequencer.c=475=static int do_pick_commit(struct commit *commit,
sequencer.c:628: : _("could not apply %s... %s"), $ git grep "Could not apply"
git-rebase--interactive.sh=431=die_failed_squash() {
git-rebase--interactive.sh:436: warn "Could not apply $1... $2"
git-rebase--interactive.sh=460=do_pick () {
git-rebase--interactive.sh:476: die_with_patch $1 "Could not apply $1... $2"
git-rebase--interactive.sh:479: die_with_patch $1 "Could not apply $1... $2"So, it's the shell script. Now, read about shell escaping [1] and submit a patch.
Thanks.
[1]: http://tldp.org/LDP/abs/html/escapingsection.html