summaryrefslogtreecommitdiff
path: root/src/errors.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2021-12-23 21:18:54 -0600
committerEdward Thomson <ethomson@edwardthomson.com>2021-12-23 21:18:54 -0600
commit33d0ad9c9c8655ed8a71591ef006101fd2c3c2cb (patch)
treec06c842c4511bdd10566b0f08eb9bfb342fe633a /src/errors.c
parent86e5003d86b04c4a91db88fcd004e63b6a344792 (diff)
downloadlibgit2-ethomson/insteadof.tar.gz
remote: refactor insteadof applicationethomson/insteadof
Using the insteadof helper would leak memory when we didn't really want the pushInsteadOf configuration. Refactor the choice into the function that allocates memory (or now, not) and use a more idiomatic `int` return code.
Diffstat (limited to 'src/errors.c')
0 files changed, 0 insertions, 0 deletions