In DiffDetective, we analyze the git histories of projects. However, we cannot freely configure so far which parts of the history we are looking at (which branch for example). We have a DiffFilter to filter out certain commits or files (e.g., merge commits and non C/C++ source code files). We cannot configure the git log call though, which is deeply buried in some static functions in the GitDiffer class:
here and
here. These should be the only places where we call git log but I cannot promise.
Tasks:
New classes should be located within the same Java package as the other classes linked above.
In DiffDetective, we analyze the git histories of projects. However, we cannot freely configure so far which parts of the history we are looking at (which branch for example). We have a DiffFilter to filter out certain commits or files (e.g., merge commits and non C/C++ source code files). We cannot configure the
git logcall though, which is deeply buried in some static functions in the GitDiffer class:here and
here. These should be the only places where we call
git logbut I cannot promise.Tasks:
git logto make it configurable. Probably an Interface would be good here with a default implementation (same as current implementation). This interface could then be implemented for other configurations of the git-log-call (e.g., show only commits from main branch for example, or show all commits).New classes should be located within the same Java package as the other classes linked above.