Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix undefined parent variable bug | Adam Spiers | 2018-09-11 | 1 | -4/+6 |
| | | | | | This was introduced by recent refactoring which split blame_hunk() into several smaller methods. | ||||
* | move more important debug to INFO level | Adam Spiers | 2018-09-11 | 1 | -14/+14 |
| | | | | | In the future, this will let us control the verbosity of the debug output. | ||||
* | clarify that the hunk gets listed later in the debug | Adam Spiers | 2018-09-10 | 1 | -1/+1 |
| | |||||
* | rename blame_hunk to blame_diff_hunk | Adam Spiers | 2018-09-10 | 1 | -2/+2 |
| | | | | This makes it a bit clearer where the hunk came from. | ||||
* | tweak indentation to make debug easier to follow | Adam Spiers | 2018-09-09 | 1 | -3/+3 |
| | |||||
* | fix indentation when debugging hunks | Adam Spiers | 2018-09-09 | 1 | -1/+1 |
| | |||||
* | extract process_hunk_line() method | Adam Spiers | 2018-09-09 | 1 | -24/+30 |
| | |||||
* | extract debug_hunk() method | Adam Spiers | 2018-09-09 | 1 | -0/+5 |
| | |||||
* | extract record_dependency_source() method | Adam Spiers | 2018-09-09 | 1 | -19/+26 |
| | |||||
* | extract process_new_dependency() method | Adam Spiers | 2018-09-09 | 1 | -30/+37 |
| | |||||
* | extract register_new_dependent() method | Adam Spiers | 2018-09-09 | 1 | -5/+8 |
| | |||||
* | reflow some doc strings | Adam Spiers | 2018-09-09 | 1 | -11/+11 |
| | |||||
* | extract run_blame() method | Adam Spiers | 2018-09-09 | 1 | -7/+10 |
| | |||||
* | fix Python 3 uses of subprocess.check_output | Adam Spiers | 2018-05-16 | 1 | -2/+2 |
| | | | | https://stackoverflow.com/questions/15817420/subprocess-and-type-str-doesnt-support-the-buffer-api/15817457#15817457 | ||||
* | notify of new dependency even if target already done | Adam Spiers | 2018-05-15 | 1 | -8/+12 |
| | | | | | | | | | When a new dependency is discovered, its target may have already been placed on the TODO list via a different source (and maybe even analysed for dependencies), e.g. if find_dependencies() was previously called on it, or if it was previously found via recursion. In this case we still need to notify listeners of the dependency, even though we won't add it to the TODO list. | ||||
* | allow DependencyDetector to be reused | Adam Spiers | 2018-05-15 | 1 | -0/+6 |
| | | | | | | | | Avoid any errors if find_dependencies() is called repeatedly. Previously this could fail when recursion was enabled, because a commit could be processed via recursion, and then again via a subsequent call to the TODO list, at which point the sanity check that each blame line hadn't been seen before would fail. | ||||
* | improve blame line tracking | Adam Spiers | 2018-05-15 | 1 | -4/+9 |
| | |||||
* | use dependent_sha1 temporary variable | Adam Spiers | 2018-05-15 | 1 | -6/+7 |
| | | | | Avoid calling hex() repeatedly | ||||
* | improve debugging | Adam Spiers | 2018-05-15 | 1 | -24/+32 |
| | |||||
* | move Repository instantiation to GitUtils | Adam Spiers | 2018-05-15 | 1 | -8/+5 |
| | |||||
* | extract GitUtils.ref_commit() function | Adam Spiers | 2018-05-15 | 1 | -7/+1 |
| | |||||
* | extract commit_summary() function into gitutils.py | Adam Spiers | 2018-05-15 | 1 | -2/+2 |
| | | | | This helper can be reused elsewhere, e.g. in git-explode. | ||||
* | move oneline() to gitutils.py | Adam Spiers | 2018-05-15 | 1 | -6/+5 |
| | | | | | It has nothing to do with DependencyDetector, and this will let us reuse it from git-explode too. | ||||
* | fix handling of annotated tags | Adam Spiers | 2018-05-15 | 1 | -1/+4 |
| | | | | | | pygit2.revparse_single(annotated_tag) returns a pygit2.Tag object, and this extra layer of indirection has to be resolved to obtain the pygit2.Commit. | ||||
* | move instantiation of standard logger to utils.py | Adam Spiers | 2018-05-15 | 1 | -8/+3 |
| | |||||
* | move debug logger setup to utils.py | Adam Spiers | 2018-05-15 | 1 | -13/+2 |
| | | | | This is cleaner and will allow it to be reused elsewhere. | ||||
* | fix PEP8 issues | Adam Spiers | 2018-05-15 | 1 | -3/+3 |
| | |||||
* | convert into a proper Python module | Adam Spiers | 2018-05-15 | 1 | -0/+332 |
Sem-Ver: api-break |