summaryrefslogtreecommitdiff
path: root/src/repository.c
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 /src/repository.c
parente053c911cfe36bca9be272e9cdc4af9ae24c76c9 (diff)
downloadlibgit2-c682886e8e06a2a327b3b637303d7b6820efeb60.tar.gz
repo: Rename HEAD-related methods
Diffstat (limited to 'src/repository.c')
-rw-r--r--src/repository.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/repository.c b/src/repository.c
index a99c3018e..969880355 100644
--- a/src/repository.c
+++ b/src/repository.c
@@ -752,7 +752,7 @@ cleanup:
return git__rethrow(error, "Failed to (re)init the repository `%s`", path);
}
-int git_repository_is_detached(git_repository *repo)
+int git_repository_head_detached(git_repository *repo)
{
git_reference *ref;
int error;
@@ -776,7 +776,7 @@ int git_repository_is_detached(git_repository *repo)
return 1;
}
-int git_repository_is_orphan(git_repository *repo)
+int git_repository_head_orphan(git_repository *repo)
{
git_reference *ref;
int error;