summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <carlos@cmartin.tk>2012-02-28 02:19:57 +0100
committerCarlos Martín Nieto <carlos@cmartin.tk>2012-04-12 20:25:24 +0200
commit06b9d915901b3dd9dc85016bb000e631eb1da1d7 (patch)
treec9a2984955e959cd5b4ca44809fa4e68f92d9f93 /src/commit.c
parent081d229106faae3c37c08940fd510a3511bfbd59 (diff)
downloadlibgit2-06b9d915901b3dd9dc85016bb000e631eb1da1d7.tar.gz
revwalk: allow pushing/hiding a reference by name
The code was already there, so factor it out and let users push an OID by giving it a reference name. Only refs to commits are supported. Annotated tags will throw an error.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions