Re: [PATCH] send-email: check for repo before invoking hook

2017-06-01 Thread Junio C Hamano
Thanks. "git show -w" tells readers how this fix is trivially correct ;-) Will apply.

Re: [PATCH] send-email: check for repo before invoking hook

2017-06-01 Thread Jacob Keller
On Thu, Jun 1, 2017 at 5:22 PM, Todd Zullinger wrote: > Hi Jonathan, > > Jonathan Tan wrote: >> >> Thanks for the notification. Here's a patch to fix that. --- >> git-send-email.perl | 32 +--- >> t/t9001-send-email.sh | 8 2 files changed, 25 insertions(+), 1

Re: [PATCH] send-email: check for repo before invoking hook

2017-06-01 Thread Todd Zullinger
Hi Jonathan, Jonathan Tan wrote: Thanks for the notification. Here's a patch to fix that. --- git-send-email.perl | 32 +--- t/t9001-send-email.sh | 8 2 files changed, 25 insertions(+), 15 deletions(-) diff --git a/git-send-email.perl b/git-send-email.

[PATCH] send-email: check for repo before invoking hook

2017-06-01 Thread Jonathan Tan
Unless --no-validate is passed, send-email will invoke $repo->repo_path() in its search for a validate hook regardless of whether a Git repo is actually present. Teach send-email to first check for repo existence. Signed-off-by: Jonathan Tan --- Thanks for the notification. Here's a patch to fix