projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
7aa4e73
3d95d92
)
Merge branch 'jc/refuse-push-to-current'
author
Junio C Hamano
<gitster@pobox.com>
Fri, 6 Feb 2009 03:40:36 +0000
(19:40 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 6 Feb 2009 03:40:36 +0000
(19:40 -0800)
* jc/refuse-push-to-current:
receive-pack: explain what to do when push updates the current branch
1
2
builtin-receive-pack.c
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
builtin-receive-pack.c
index 596dfe92233e9ad07cebfa7e36a404ea909da716,6f61c45fdd039b20688bedb91b6470c5ae105dad..6de186c397fcd5eaab2331db56546acab5f545f4
---
1
/
builtin-receive-pack.c
---
2
/
builtin-receive-pack.c
+++ b/
builtin-receive-pack.c
@@@
-9,9
-9,10
+9,10
@@@
#include "remote.h"
#include "transport.h"
-static const char receive_pack_usage[] = "git
-
receive-pack <git-dir>";
+static const char receive_pack_usage[] = "git
receive-pack <git-dir>";
enum deny_action {
+ DENY_UNCONFIGURED,
DENY_IGNORE,
DENY_WARN,
DENY_REFUSE,