Re: [PATCH 2/2] diff: add a special SYMLINK user-diff driver

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ævar Arnfjörð Bjarmason
Date: Tuesday, September 21, 2010 - 5:12 pm

2010/9/21 Jeff King <peff@peff.net>:

That'll turn every \n in the stream into \n\n, not add a newline to
the end of the file. Don't you mean:

    perl -0666 -pe 's/$/\n/'

Or, more efficiently:

    perl -ple 'END { print }'

?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/2] better userdiff behavior for symlinks, Jeff King, (Tue Sep 21, 1:59 pm)
Re: [PATCH 2/2] diff: add a special SYMLINK user-diff driver, Ævar Arnfjörð Bjarmason, (Tue Sep 21, 5:12 pm)
Re: [PATCH 2/2] diff: add a special SYMLINK user-diff driver, Ævar Arnfjörð Bjarmason, (Tue Sep 21, 5:39 pm)