summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-06-28 21:09:22 +0200
committerVicent Marti <tanoku@gmail.com>2011-06-28 21:10:44 +0200
commitc682886e8e06a2a327b3b637303d7b6820efeb60 (patch)
tree6135ef1f43942d97b9e9f2cf54185bac18cb53b6 /include/git2
parente053c911cfe36bca9be272e9cdc4af9ae24c76c9 (diff)
downloadlibgit2-c682886e8e06a2a327b3b637303d7b6820efeb60.tar.gz
repo: Rename HEAD-related methods
Diffstat (limited to 'include/git2')
-rw-r--r--include/git2/repository.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/repository.h b/include/git2/repository.h
index ddadab4da..9344db7f0 100644
--- a/include/git2/repository.h
+++ b/include/git2/repository.h
@@ -228,7 +228,7 @@ GIT_EXTERN(int) git_repository_init(git_repository **repo_out, const char *path,
* @return 1 if HEAD is detached, 0 if i'ts not; error code if there
* was an error.
*/
-int git_repository_is_detached(git_repository *repo);
+int git_repository_head_detached(git_repository *repo);
/**
* Check if the current branch is an orphan
@@ -240,7 +240,7 @@ int git_repository_is_detached(git_repository *repo);
* @return 1 if the current branch is an orphan, 0 if it's not; error
* code if therewas an error
*/
-int git_repository_is_orphan(git_repository *repo);
+int git_repository_head_orphan(git_repository *repo);
/**
* Check if a repository is empty