author | Junio C Hamano <gitster@pobox.com> | |
Sun, 1 Feb 2009 01:34:05 +0000 (17:34 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 3 Feb 2009 08:39:18 +0000 (00:39 -0800) | ||
commit | 3d95d92b9a75825b2d9c9bd770d85471b18597f8 | |
tree | af2776b75baaaca60b00601e98e9165726375474 | tree | snapshot |
parent | a34a9dbbced36999496c52b43460825732d487ba | commit | diff |
receive-pack: explain what to do when push updates the current branch
This makes "git push" issue a more detailed instruction when a user pushes
into the current branch of a non-bare repository without having an
explicit configuration set to receive.denycurrentbranch. In such a case,
it will also tell the user that the default will change to refusal in a
future version of git.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This makes "git push" issue a more detailed instruction when a user pushes
into the current branch of a non-bare repository without having an
explicit configuration set to receive.denycurrentbranch. In such a case,
it will also tell the user that the default will change to refusal in a
future version of git.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-receive-pack.c | diff | blob | history | |
t/t5516-fetch-push.sh | diff | blob | history |