summaryrefslogtreecommitdiff
path: root/tests/refs/revparse.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-01-15 12:51:31 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2014-01-15 13:32:43 +0100
commit0b28217bdae4fd64f5b6b8f4cb8a6139518d037e (patch)
tree68ff2ad34826372104b12ed6de6dd9fecb905151 /tests/refs/revparse.c
parent3c1b3ded12afa443158287c22b81fb9419680072 (diff)
downloadlibgit2-0b28217bdae4fd64f5b6b8f4cb8a6139518d037e.tar.gz
refs: remove the _with_log differentiation
Any well-behaved program should write a descriptive message to the reflog whenever it updates a reference. Let's make this more prominent by removing the version without the reflog parameters.
Diffstat (limited to 'tests/refs/revparse.c')
-rw-r--r--tests/refs/revparse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/refs/revparse.c b/tests/refs/revparse.c
index 37d3981bb..522a44c82 100644
--- a/tests/refs/revparse.c
+++ b/tests/refs/revparse.c
@@ -596,7 +596,8 @@ void test_refs_revparse__issue_994(void)
repo,
"refs/remotes/origin/bim_with_3d@11296",
git_reference_target(head),
- 0));
+ 0,
+ NULL, NULL));
cl_git_pass(git_revparse_single(&target, repo, "origin/bim_with_3d@11296"));
git_object_free(target);