Re: [PATCH v2] filter-branch: use printf instead of echo -e

2018-03-23 Thread Johannes Schindelin
Hi Michele, On Thu, 22 Mar 2018, Michele Locati wrote: > Il 21/03/2018 22:50, Johannes Schindelin ha scritto: > > > > On Mon, 19 Mar 2018, Michele Locati wrote: > > > > > [...] > > > -- > > > 2.16.2.windows.1 > > > > Yay! > > > > Out of curiosity: did the CONTRIBUTING.md file help that

Re: [PATCH v2] filter-branch: use printf instead of echo -e

2018-03-22 Thread Michele Locati
Il 21/03/2018 22:50, Johannes Schindelin ha scritto: Hi Michele, On Mon, 19 Mar 2018, Michele Locati wrote: [...] -- 2.16.2.windows.1 Yay! Out of curiosity: did the CONTRIBUTING.md file help that was recently turned into a guide how to contribute to Git (for Windows) by Derrick Stolee?

Re: [PATCH v2] filter-branch: use printf instead of echo -e

2018-03-21 Thread Johannes Schindelin
Hi Michele, On Mon, 19 Mar 2018, Michele Locati wrote: > [...] > -- > 2.16.2.windows.1 Yay! Out of curiosity: did the CONTRIBUTING.md file help that was recently turned into a guide how to contribute to Git (for Windows) by Derrick Stolee? Ciao, Johannes

Re: [PATCH v2] filter-branch: use printf instead of echo -e

2018-03-19 Thread Junio C Hamano
Michele Locati writes: > 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

[PATCH v2] filter-branch: use printf instead of echo -e

2018-03-19 Thread Michele Locati
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,