Uh oh!
There was an error while loading. Please reload this page.
git: index: base: use os.path.relpath - #744
Conversation
97164b0 to
176474bCompareCodecov Report
@@ Coverage Diff @@## master #744 +/- ##
==========================================
+ Coverage 94.66% 94.66% +<.01%
==========================================
Files 59 59 Lines 9289 9298 +9 ==========================================
+ Hits 8793 8802 +9
Misses 496 496
Continue to review full report at Codecov.
|
Byron
left a comment
There was a problem hiding this comment.
Thanks a lot for submitting the fix! There is only a minor issue preventing a merge.
Thanks for having a look.
| repo = Mocked() | ||
| path = os.path.join(root, 'file') | ||
| index = IndexFile(repo) | ||
| index._to_relative_path(path) |
There was a problem hiding this comment.
Is there an assertion missing? It looks like _to_relative_path returns the relative path, which is not verified here.
There was a problem hiding this comment.
Ah, right. Thank you, fixed in a new version.
Fixesgitpython-developers#743 Signed-off-by: Ruslan Kuprieiev <kupruser@gmail.com>
Byron
commented
Apr 4, 2018
Thanks a lot! Looking good! |
Fixes#743
Signed-off-by: Ruslan Kuprieiev kupruser@gmail.com