Name |
Last commit
|
Last update |
---|---|---|
.. | ||
badssl.c | ||
clone.c | ||
customcert.c | ||
fetch.c | ||
fetchhead.c | ||
push.c | ||
push_util.c | ||
push_util.h | ||
remotes.c |
I want to push a commit by OID to a remote branch. Currently, push parses the refspecs such that the source must be the name of a ref (it uses git_reference_name_to_id to resolve it). This commit changes it so push uses git_revparse_single to resolve the source of the refspec. This allows for OIDs or other revs (e.g. `HEAD~2`) to be pushed.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
badssl.c | Loading commit data... | |
clone.c | Loading commit data... | |
customcert.c | Loading commit data... | |
fetch.c | Loading commit data... | |
fetchhead.c | Loading commit data... | |
push.c | Loading commit data... | |
push_util.c | Loading commit data... | |
push_util.h | Loading commit data... | |
remotes.c | Loading commit data... |