Re: [git-users] git svn commands in post-receive hook

2018-02-01 Thread Konstantin Khomoutov
On Wed, Jan 31, 2018 at 05:59:35PM -0800, Akshaya wrote:

> While using "git-svn dcommit" in post-receive hook. it fails with below 
> error.
> remote: fatal: git was built without support for git-svn 
> (NO_PERL=YesPlease).  
>   
> But the same thing works fine if we run the post-receive hook manually.
> What could be the reason?

A typical reason would be different PATH environment variables seen by
the process running the hook script when run by a Git process serving
the push and when run by a shell process when run manually.

In other words, you might have different copies of the git command
installed in the system.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[git-users] git svn commands in post-receive hook

2018-01-31 Thread Akshaya
Hi,

While using "git-svn dcommit" in post-receive hook. it fails with below 
error.
remote: fatal: git was built without support for git-svn 
(NO_PERL=YesPlease).  
  
But the same thing works fine if we run the post-receive hook manually.
What could be the reason?

Thanks & Regards,
Akshaya

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.