You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Masaru Tsuchiyama <ts...@asahi-net.email.ne.jp> on 2006/12/10 03:42:54 UTC
[PATCH] use macros instead of raw hook script name
Hello
I found the code to use hook script name directly in subversion/libsvn_repos/hooks.c .
But macros for hook script names are defined in subversion/libsvn_repos/hooks.h.
the macros are used in subversion/libsvn_repos/hooks.c.
this is a patch to use the macros.
Masaru Tsuchiyama
Re: [PATCH] use macros instead of raw hook script name
Posted by Daniel Rall <dl...@collab.net>.
On Sun, 10 Dec 2006, Masaru Tsuchiyama wrote:
> Hello
>
> I found the code to use hook script name directly in subversion/libsvn_repos/hooks.c .
> But macros for hook script names are defined in subversion/libsvn_repos/hooks.h.
> the macros are used in subversion/libsvn_repos/hooks.c.
>
> this is a patch to use the macros.
Thanks Masaru-san. I've committed your patch to the trunk of
Subversion's repository in r22650 with a minor formatting tweak.
If you're interested in making more contributions to Subversion,
please read:
http://subversion.tigris.org/hacking.html#patches
Thanks, Dan
Re: [PATCH] use macros instead of raw hook script name
Posted by Dongsheng Song <do...@gmail.com>.
very good !
2006/12/10, Masaru Tsuchiyama <ts...@asahi-net.email.ne.jp>:
> Hello
>
> I found the code to use hook script name directly in subversion/libsvn_repos/hooks.c .
> But macros for hook script names are defined in subversion/libsvn_repos/hooks.h.
> the macros are used in subversion/libsvn_repos/hooks.c.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: [PATCH] use macros instead of raw hook script name
Posted by Masaru Tsuchiyama <ts...@asahi-net.email.ne.jp>.
Hello
Sorry. I mis-typed.
> But macros for hook script names are defined in subversion/libsvn_repos/hooks.h.
> the macros are used in subversion/libsvn_repos/hooks.c.
But macros for hook script names are defined in subversion/libsvn_repos/repos.h.
the macros are used in subversion/libsvn_repos/repos.c.
The patch applies the macro to subversion/libsvn_repos/hooks.c too.
Masaru Tsuchiyama
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org