diff options
| author | Ben Straub <bstraub@github.com> | 2012-07-31 19:49:19 -0700 |
|---|---|---|
| committer | Ben Straub <bstraub@github.com> | 2012-07-31 19:49:19 -0700 |
| commit | 5f4d2f9f6574fd41d9340ef80de0813bde80b76d (patch) | |
| tree | 1c8e95f2816c8f1024df2b5c177be58bcf9972e8 /tests-clar | |
| parent | 5280f4e6983555e9ae111a6cb10765c7635e7e12 (diff) | |
| download | libgit2-5f4d2f9f6574fd41d9340ef80de0813bde80b76d.tar.gz | |
Checkout: fix problem with detached HEAD.
Diffstat (limited to 'tests-clar')
| -rw-r--r-- | tests-clar/checkout/checkout.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests-clar/checkout/checkout.c b/tests-clar/checkout/checkout.c index 3a27fe5c1..af3bae9ef 100644 --- a/tests-clar/checkout/checkout.c +++ b/tests-clar/checkout/checkout.c @@ -177,3 +177,8 @@ void test_checkout_checkout__open_flags(void) cl_git_pass(git_checkout_head(g_repo, &opts, NULL)); test_file_contents("./testrepo/new.txt", "hi\nmy new file\n"); } + +void test_checkout_checkout__detached_head(void) +{ + /* TODO: write this when git_checkout_commit is implemented. */ +} |
