summaryrefslogtreecommitdiff
path: root/include/git2/revparse.h
blob: 3fd69d91d98781ca8427c7ae3e86ffeae591d6b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * 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