diff options
author | Edward Thomson <ethomson@microsoft.com> | 2015-03-17 17:04:08 +0300 |
---|---|---|
committer | Edward Thomson <ethomson@microsoft.com> | 2015-04-20 23:22:27 +0300 |
commit | 30640aa9ad574761a3a69244c6194eb626e69d40 (patch) | |
tree | 02201b32fe3b2e3f8dbceaa83b018c0cb0ed48a2 /tests/rebase | |
parent | 08c45213b164fdb456c1b19b98039365c8f0cf98 (diff) |
rebase: identify a rebase that has not started
In `git_rebase_operation_current()`, indicate when a rebase has not
started (with `GIT_REBASE_NO_OPERATION`) rather than conflating that
with the first operation being in-progress.
Diffstat (limited to 'tests/rebase')
-rw-r--r-- | tests/rebase/iterator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rebase/iterator.c b/tests/rebase/iterator.c index 2cff82ced..23272d51c 100644 --- a/tests/rebase/iterator.c +++ b/tests/rebase/iterator.c @@ -65,7 +65,7 @@ void test_rebase_iterator__iterates(void) cl_git_pass(git_annotated_commit_from_ref(&upstream_head, repo, upstream_ref)); cl_git_pass(git_rebase_init(&rebase, repo, branch_head, upstream_head, NULL, NULL)); - test_operations(rebase, 0); + test_operations(rebase, GIT_REBASE_NO_OPERATION); git_rebase_free(rebase); cl_git_pass(git_rebase_open(&rebase, repo)); |