diff options
author | Michele Locati <michele@locati.it> | 2018-03-19 16:52:59 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-19 10:59:28 -0700 |
commit | 206a6ae01355e4d5d0e01e6d99d960fcc907e6b3 (patch) | |
tree | 82e6c4bd0185241b665395b76c88c7934b81eb3f /t/t7600-merge.sh | |
parent | Prepare for 2.15.2 (diff) | |
download | tgif-206a6ae01355e4d5d0e01e6d99d960fcc907e6b3.tar.xz |
filter-branch: use printf instead of echo -e
In order to echo a tab character, it's better to use printf instead of
"echo -e", because it's more portable (for instance, "echo -e" doesn't work
as expected on a Mac).
This solves the "fatal: Not a valid object name" error in git-filter-branch
when using the --state-branch option.
Furthermore, let's switch from "/bin/echo" to just "echo", so that the
built-in echo command is used where available.
Signed-off-by: Michele Locati <michele@locati.it>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7600-merge.sh')
0 files changed, 0 insertions, 0 deletions