summaryrefslogtreecommitdiff
path: root/src/revwalk.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-10-08 10:45:47 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2014-10-08 10:45:47 +0200
commitad66bf88df087bee34bb0dd47a9eacfdbef89c57 (patch)
tree7e626b0cb2dcb610b6749bdf3621c6011756fc8f /src/revwalk.h
parent42835aa6b83c0c2f694cbe078b24243fe27486f2 (diff)
downloadlibgit2-ad66bf88df087bee34bb0dd47a9eacfdbef89c57.tar.gz
revwalk: keep a single list of user inputs
The old separation was due to the old merge-base finding, so it's no longer necessary.
Diffstat (limited to 'src/revwalk.h')
-rw-r--r--src/revwalk.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/revwalk.h b/src/revwalk.h
index d81f97c01..05a7a4223 100644
--- a/src/revwalk.h
+++ b/src/revwalk.h
@@ -35,9 +35,8 @@ struct git_revwalk {
first_parent: 1;
unsigned int sorting;
- /* merge base calculation */
- git_commit_list_node *one;
- git_vector twos;
+ /* the pushes and hides */
+ git_commit_list *user_input;
/* hide callback */
git_revwalk_hide_cb hide_cb;