summaryrefslogtreecommitdiff
path: root/src/libgit2/push.c
Commit message (Collapse)AuthorAgeFilesLines
* push: use resolved oid as the sourceEdward Thomson2023-01-201-1/+1
| | | | | 211c97195e2ebcf68e27782715eb756823ad5a91 attempts to use the parsed OID but inverted the arguments to `git_oid_cpy`.
* push: revparse refspec source, so you can push things that are not refsSven Over2022-07-201-3/+10
| | | | 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.
* oid: give oids a typeEdward Thomson2022-06-201-0/+3
| | | | | `git_oid`s now have a type, and we require the oid type when creating the object id from creation functions.
* refactor: `src` is now `src/libgit2`Edward Thomson2022-02-221-0/+558