From 69551bd0e85d95133447a5dda6f2e221830b825c Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Wed, 26 Feb 2014 18:44:19 +0200 Subject: [PATCH] use more portable find syntax BSD find (e.g. as found on Mac OSX) has more strict rules for parsing arguments and needs a path. PWD is not assumed as on GNU find. --- doc/sample_hooks/post-merge-unclobber | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/sample_hooks/post-merge-unclobber b/doc/sample_hooks/post-merge-unclobber index 23c757c..2b8f286 100755 --- a/doc/sample_hooks/post-merge-unclobber +++ b/doc/sample_hooks/post-merge-unclobber @@ -7,4 +7,4 @@ # directory. Git and thus vcsh now see these as un-staged changes to the # working branch and you can deal with them as usual. -find -name '*.vcsh-unclobber' -execdir rename .vcsh-unclobber '' {} \; +find . -name '*.vcsh-unclobber' -execdir rename .vcsh-unclobber '' {} \; -- 2.39.5