Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=92377417082d42fbb7eff0f70fc6f6e49e9a8027

commit 92377417082d42fbb7eff0f70fc6f6e49e9a8027
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Thu Sep 24 00:43:03 2009 +0200

docs/repos: add config setting to silence the warning

... which will become an error with git-1.7.x

diff --git a/docs/repos.txt b/docs/repos.txt
index ed4fcec..dac0d44 100644
--- a/docs/repos.txt
+++ b/docs/repos.txt
@@ -62,3 +62,9 @@ For the others:
----
ln -sf /home/ftp/pub/other/git-hooks/git-hooks.py .git/hooks/post-receive
----
+
+One thing that a hook won't do for you is to allow pushing to the master 
branch, even if it's the checked out one. This is normally not good, but our 
hook will handle this, so we can ignore the problem:
+
+----
+git config receive.denyCurrentBranch ignore
+----
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to