diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2021-12-23 21:18:54 -0600 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2021-12-23 21:18:54 -0600 |
commit | 33d0ad9c9c8655ed8a71591ef006101fd2c3c2cb (patch) | |
tree | c06c842c4511bdd10566b0f08eb9bfb342fe633a /src/commit.c | |
parent | 86e5003d86b04c4a91db88fcd004e63b6a344792 (diff) | |
download | libgit2-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/commit.c')
0 files changed, 0 insertions, 0 deletions