Allow setting Model Revision Walker

This allows setting Model Revision Walker which will help in sharing multiple
walkers across different models
This commit is contained in:
Mahmoud Khalil 2020-08-15 15:35:50 +02:00
parent 5dc465d8c4
commit 5c172cce71
2 changed files with 12 additions and 1 deletions

View File

@ -41,7 +41,7 @@ namespace Gitg
}
d_branches = branches;
purge_model();
purge_model.begin();
}
construct

View File

@ -83,6 +83,17 @@ namespace Gitg
public uint limit { get; set; }
public Ggit.RevisionWalker walker
{
set
{
if(value != null)
{
d_walker = value;
}
}
}
public Ggit.SortMode sort_mode
{
get { return d_sortmode; }