mirror of
https://git.proxmox.com/git/libgit2
synced 2025-07-26 10:47:13 +00:00

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)
23 lines
484 B
C
23 lines
484 B
C
/*
|
|
* Copyright (C) 2012 the libgit2 contributors
|
|
*
|
|
* This file is part of libgit2, distributed under the GNU GPL v2 with
|
|
* a Linking Exception. For full terms see the included COPYING file.
|
|
*/
|
|
#ifndef INCLUDE_git_revparse_h__
|
|
#define INCLUDE_git_revparse_h__
|
|
|
|
#include "common.h"
|
|
#include "types.h"
|
|
|
|
|
|
GIT_BEGIN_DECL
|
|
|
|
GIT_EXTERN(int) git_revparse_single(git_object **out, git_repository *repo, const char *spec);
|
|
|
|
//GIT_EXTERN(int) git_revparse_multi(TODO);
|
|
|
|
GIT_END_DECL
|
|
|
|
#endif
|