In Perl, '\n' is not a newline, but instead a literal backslash followed by an
n. As the output of rev-list --first-parent is line-oriented, what we want
here is a newline.
Signed-off-by: Célestin Matte celestin.ma...@ensimag.fr
Signed-off-by: Matthieu Moy matthieu@grenoble-inp.fr
---
Célestin Matte celestin.ma...@ensimag.fr writes:
In Perl, '\n' is not a newline, but instead a literal backslash followed by an
n. As the output of rev-list --first-parent is line-oriented, what we want
here is a newline.
This is right, but the code actually worked the way it was. I'm not
Le 08/06/2013 20:38, Matthieu Moy a écrit : This is right, but the code
actually worked the way it was. I'm not
sure, but my understanding is that '\n' is the string backslash
followed by n, but interpreted as a regexp, it is a newline.
The new code looks better than the old one, but the log
On Sat, Jun 08, 2013 at 08:38:56PM +0200, Matthieu Moy wrote:
Célestin Matte celestin.ma...@ensimag.fr writes:
In Perl, '\n' is not a newline, but instead a literal backslash followed by
an
n. As the output of rev-list --first-parent is line-oriented, what we
want
here is a
On Sat, Jun 8, 2013 at 9:35 AM, Célestin Matte
celestin.ma...@ensimag.fr wrote:
In Perl, '\n' is not a newline, but instead a literal backslash followed by an
n. As the output of rev-list --first-parent is line-oriented, what we want
here is a newline.
Signed-off-by: Célestin Matte
On Sat, Jun 8, 2013 at 10:57 PM, Jeff King p...@peff.net wrote:
On Sat, Jun 08, 2013 at 08:38:56PM +0200, Matthieu Moy wrote:
Célestin Matte celestin.ma...@ensimag.fr writes:
In Perl, '\n' is not a newline, but instead a literal backslash followed
by an
n. As the output of rev-list
6 matches
Mail list logo