]> git.proxmox.com Git - libgit2.git/commit
First stab at implementation of rev-parse.
authorBen Straub <bstraub@github.com>
Wed, 25 Apr 2012 23:24:22 +0000 (16:24 -0700)
committerBen Straub <bstraub@github.com>
Fri, 11 May 2012 18:30:45 +0000 (11:30 -0700)
commitac250c56c7d7bb11691c9dfbcd0dbf580d85e177
tree09684c246208dcf49386561203b6bc2e255ba532
parentfb49bdf9c7837892154bf7efdb3db6c3ec63e396
First stab at implementation of rev-parse.

This version supports refspecs of these kinds:
- Full & partial SHAs
- Output from "git describe"
- "/refs/heads/master" (full ref names)
- "master" (partial ref names)
- "FETCH_HEAD" (named heads)
include/git2/revparse.h [new file with mode: 0644]
src/revparse.c [new file with mode: 0644]
tests-clar/refs/revparse.c [new file with mode: 0644]