Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: [PATCH] rebase -i: proper prepare-commit-msg hook argument when squashing

From: Jeff King <hidden>
Date: 2016-06-15 22:45:26

On Fri, Oct 03, 2008 at 02:08:21AM +0200, SZEDER Gábor wrote:
+			cp -v "$MSG" "$GIT_DIR"/SQUASH_MSG
Sorry, but "cp -v" is not portable. It's not in POSIX, and this breaks
the script for (at least) Solaris.

However, it's not even clear to me why "-v" is used at all, considering
that the "squash" case above does not use it. Is it a debugging
leftover? Am I missing something?

[Aside: My Solaris 8 autobuilder is now running, which was a huge pain.
However, it is very satisfying to catch things like this in "next"
before they hit a wider audience.]

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help