summaryrefslogtreecommitdiff
path: root/src/commit.h
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2012-12-19 15:06:40 -0800
committerRussell Belfer <rb@github.com>2013-01-04 15:47:42 -0800
commita6a82e1a59065f6d5eaf4748708c92326048a99f (patch)
tree335d00d20987c2d2dd3f1a1b91217fcb41a32e1b /src/commit.h
parent8fe713ccf7bf8c6330fdda7f0c733e7f3ab29d3f (diff)
downloadlibgit2-a6a82e1a59065f6d5eaf4748708c92326048a99f.tar.gz
Improve error propagation in stash
Stash was sometimes obscuring the actual error code, replacing it with a -1 when there was more descriptive value. This updates stash to preserve the original error code more reliably along with a variety of other error handling tweaks. I believe this is an improvement, but arguably, preserving the underlying error code may result in values that are harder to interpret by the caller who does not understand the internals. Discussion is welcome!
Diffstat (limited to 'src/commit.h')
0 files changed, 0 insertions, 0 deletions