]> git.proxmox.com Git - libgit2.git/commit
Further EUSER and error propagation fixes
authorRussell Belfer <rb@github.com>
Thu, 5 Dec 2013 05:22:57 +0000 (21:22 -0800)
committerRussell Belfer <rb@github.com>
Wed, 11 Dec 2013 18:57:49 +0000 (10:57 -0800)
commitdab89f9b6821b67dd07c8bd4dbb53e25a3e687c7
treec7f4f4738dfb249b7534635226128d2e20dac6a5
parent96869a4edb2872934e0e167a726ab240f4270fea
Further EUSER and error propagation fixes

This continues auditing all the places where GIT_EUSER is being
returned and making sure to clear any existing error using the
new giterr_user_cancel helper.  As a result, places that relied
on intercepting GIT_EUSER but having the old error preserved also
needed to be cleaned up to correctly stash and then retrieve the
actual error.

Additionally, as I encountered places where error codes were not
being propagated correctly, I tried to fix them up.  A number of
those fixes are included in the this commit as well.
21 files changed:
src/attr.c
src/clone.c
src/fetchhead.c
src/ignore.c
src/index.c
src/indexer.c
src/merge.c
src/notes.c
src/pack-objects.c
src/pack.c
src/push.c
src/refs.c
src/remote.c
src/revwalk.c
src/stash.c
src/status.c
src/tag.c
src/transports/git.c
src/transports/smart.c
src/tree.c
tests/core/path.c