diff options
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/receive-pack.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/builtin/receive-pack.c b/builtin/receive-pack.c index 5c85bb4b49..78fe8ee62f 100644 --- a/builtin/receive-pack.c +++ b/builtin/receive-pack.c @@ -1179,9 +1179,6 @@ int cmd_receive_pack(int argc, const char **argv, const char *prefix) if (!enter_repo(dir, 0)) die("'%s' does not appear to be a git repository", dir); - if (is_repository_shallow() && stateless_rpc) - die("attempt to push into a shallow repository"); - git_config(receive_pack_config, NULL); if (0 <= transfer_unpack_limit) |