git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Non-zero exit code without error

From
Serdar Sahin <serdar@peakgames.net>
Date
Feb 7, 2017, 11:27 UTC
Message-ID
<CAL7ZE5xYVM6=C+SJLJ2HMFZ2gvuduw8p0UnS0RnBaXibj0mgDw@mail.gmail.com>
Hi,

When we execute the following lines, the exit code is 1, but it is unclear what is the reason of this exit code. Do you have any idea?

git clone --mirror --depth 50 --no-single-branch git@github.hede.com:Casual/hodo-server.git Cloning into bare repository 'hodo-server.git'... remote: Counting objects: 3371, done. remote: Compressing objects: 100% (1219/1219), done. remote: Total 3371 (delta 2344), reused 2971 (delta 2098), pack-reused 0 Receiving objects: 100% (3371/3371), 56.77 MiB | 2.18 MiB/s, done. Resolving deltas: 100% (2344/2344), done.

echo $? 0

cd hodo-server.git/

GIT_CURL_VERBOSE=1 GIT_TRACE=1 git fetch --depth 50 origin cc086c96cdffe5c1ac78e6139a7a4b79e7c821ee 14:12:35.215889 git.c:350 trace: built-in: git 'fetch' '--depth' '50' 'origin' 'cc086c96cdffe5c1ac78e6139a7a4b79e7c821ee' 14:12:35.217273 run-command.c:336 trace: run_command: 'ssh' 'git@github.hede.com' 'git-upload-pack '\''Casual/hodo-server.git'\''' 14:12:37.301122 run-command.c:336 trace: run_command: 'gc' '--auto' 14:12:37.301866 exec_cmd.c:189 trace: exec: 'git' 'gc' '--auto' 14:12:37.304473 git.c:350 trace: built-in: git 'gc' '--auto'

echo $? 1

Next: Christian Couder
Message 1 of 6 in “Non-zero exit code without error”
  1. Serdar SahinFeb 7, 2017
  2. Christian CouderFeb 8, 2017
  3. Serdar SahinFeb 8, 2017
  4. Christian CouderFeb 11, 2017
  5. Serdar SahinFeb 14, 2017
  6. Jeff KingFeb 15, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.