]> git.ipfire.org Git - thirdparty/git.git/commit - git-svn.perl
git-svn: check error code of send_txstream
authorEric Wong <normalperson@yhbt.net>
Mon, 1 Sep 2008 02:45:07 +0000 (19:45 -0700)
committerEric Wong <normalperson@yhbt.net>
Fri, 5 Sep 2008 23:58:38 +0000 (16:58 -0700)
commit991255c634500fe51a70aae6a8e7c8d7b73db0cc
tree2d413575d73dde6531d7a3186f4d10775d61f4e0
parent8598db935b653c638109aecab3e345c45d53af07
git-svn: check error code of send_txstream

Not checking the error code of a function used to transform and
send data makes me nervous.  It currently returns "undef" on
success; so die if we get any result other than "undef" because
it's likely something went wrong somewhere.  I really wish this
function returned an MD5 like send_stream (or better yet, SHA1)
for verification.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl