]> git.proxmox.com Git - libgit2.git/commit - include/git2/revwalk.h
revwalk: allow pushing/hiding a reference by name
authorCarlos Martín Nieto <carlos@cmartin.tk>
Tue, 28 Feb 2012 01:19:57 +0000 (02:19 +0100)
committerCarlos Martín Nieto <carlos@cmartin.tk>
Thu, 12 Apr 2012 18:25:24 +0000 (20:25 +0200)
commit06b9d915901b3dd9dc85016bb000e631eb1da1d7
treec9a2984955e959cd5b4ca44809fa4e68f92d9f93
parent081d229106faae3c37c08940fd510a3511bfbd59
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.
include/git2/revwalk.h
src/revwalk.c
tests-clar/revwalk/basic.c