diff options
Diffstat (limited to 'lib/gitano/command.lua')
-rw-r--r-- | lib/gitano/command.lua | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/gitano/command.lua b/lib/gitano/command.lua index 3f433ca..317d32a 100644 --- a/lib/gitano/command.lua +++ b/lib/gitano/command.lua @@ -305,14 +305,7 @@ end local function builtin_receive_pack_run(config, repo, cmdline, env) local cmdcopy = {"receive-pack", env=env} for i = 2, #cmdline do cmdcopy[i] = cmdline[i] end - local how, why = repo:git_command(cmdcopy) - -- Check that HEAD is now resolvable in the repo - if how == "exit" and why == 0 and not repo.git:get("HEAD") then - log.warn("") - log.warn("HEAD remains dangling") - log.warn("") - end - return how, why + return repo:git_command(cmdcopy) end assert(register_cmd("git-receive-pack", nil, nil, |