On Thu, May 15, 2008 at 9:52 AM, Karl Fogel <kfogel_at_red-bean.com> wrote:
> "Larry Shatzer, Jr." <larrys_at_gmail.com> writes:
> > I have a hook script that will either disallow all svn:keywords from
> > being set on binary files, or allow them if they are using the fixed
> > width version of the keyword.
> > The approach I am using to determine if it is binary is everything is
> > binary by default. The way it determines if a file is non binary
> > (text), is if it has svn:eol-style set, then it is text. If it has
> > svn:mime-type of text/*, then it is text. I also have a command line
> > flag you can set multiple times to add extensions to always consider
> > as text (.txt, .java, .c, etc.) There is no default for that list.
> > I figure this might be useful to others, so I am attaching the script
> > for consideration to be added to the contrib/hook-scripts directory.
> Looks good to me. Do you mind if I change it to "svn-keyword-check.pl",
> to avoid wordsmash?
Renaming it is fine.
> If you'd like to maintain it in contrib/hook-scripts/ from now on, just
> ...for what I would say next, and take the appropriate steps :-).
Received on 2008-05-15 18:03:17 CEST