Revision f28dd4774d4723e8251817e910dbdc5507282113 authored by Gerrit Pape on 13 September 2007, 11:36:22 UTC, committed by Junio C Hamano on 14 September 2007, 05:39:22 UTC
If the curl program is not available (or not executable), and git clone is started to clone a repository through http, this is the output Initialized empty Git repository in /tmp/puppet/.git/ /usr/bin/git-clone: line 37: curl: command not found Cannot get remote repository information. Perhaps git-update-server-info needs to be run there? This patch improves the error message by checking the return code when running curl to exit immediately if it's 126 or 127; the error output now is Initialized empty Git repository in /tmp/puppet/.git/ /usr/bin/git-clone: line 37: curl: command not found Adrian Bridgett noticed this and reported through http://bugs.debian.org/440976 Signed-off-by: Gerrit Pape <pape@smarden.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent c32da69
File | Mode | Size |
---|---|---|
sha1.c | -rw-r--r-- | 1.7 KB |
sha1.h | -rw-r--r-- | 402 bytes |
sha1_arm.S | -rw-r--r-- | 3.5 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...