summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVicent Marti <vicent@github.com>2014-04-08 16:37:39 +0200
committerVicent Marti <vicent@github.com>2014-04-08 16:37:39 +0200
commit2795fb4ddd69ca72828c2d4f1b94b77e4d91db48 (patch)
treecd787938b7a3355c005b7f6e91bf08fc83140b7a /src
parent5f74c476939894c4512262ec11188a44bfe4f50a (diff)
parent8a8e312792807dda38fbe417ec5d511f767f3ace (diff)
downloadlibgit2-2795fb4ddd69ca72828c2d4f1b94b77e4d91db48.tar.gz
Merge pull request #2256 from jacquesg/graph-descendant
Correct grouping of parentheses
Diffstat (limited to 'src')
-rw-r--r--src/graph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graph.c b/src/graph.c
index 96fda7add..1c6441140 100644
--- a/src/graph.c
+++ b/src/graph.c
@@ -180,7 +180,7 @@ int git_graph_descendant_of(git_repository *repo, const git_oid *commit, const g
if (git_oid_equal(commit, ancestor))
return 0;
- if ((error = git_merge_base(&merge_base, repo, commit, ancestor) < 0))
+ if ((error = git_merge_base(&merge_base, repo, commit, ancestor)) < 0)
return error;
return git_oid_equal(&merge_base, ancestor);