On Wed, Jul 25, 2007 at 10:14:59PM -0400, James Bowes wrote:
> Regarding the code and git, I noticed that your patch series introduces
> a lot of trailing whitespace. IMO this is like leaving in print lines,
> or commented out code. git has a number of facilities for helping with
> this:

Sorry, semi-new to git, so a couple of stupid questions...

>  * the config option diff.color will show trailing whitespace on a 'git
>    dif' before commit.

Command to enable?

>  * apply.whitespace can rip out trailing whitespace when applying
>    patches from others

ditto.

>  * enabling the default pre-commit hook (chmod +x .git/hooks/pre-commit)
>    will prevent you from commiting changesets with trailing whitespace by
>    default.

Quick question: is there anything you can do on the server side which
will force/default this commit hook to be executable by default? (I ask
because I would like to do this for my other repositories that I am
upstream for...)

--
Michael
_______________________________________________
Yum-devel mailing list
Yum-devel@linux.duke.edu
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to