skilleter-thingy 0.2.12__py3-none-any.whl → 0.2.13__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of skilleter-thingy might be problematic. Click here for more details.
- skilleter_thingy/thingy/git.py +5 -2
- {skilleter_thingy-0.2.12.dist-info → skilleter_thingy-0.2.13.dist-info}/METADATA +1 -1
- {skilleter_thingy-0.2.12.dist-info → skilleter_thingy-0.2.13.dist-info}/RECORD +7 -7
- {skilleter_thingy-0.2.12.dist-info → skilleter_thingy-0.2.13.dist-info}/WHEEL +0 -0
- {skilleter_thingy-0.2.12.dist-info → skilleter_thingy-0.2.13.dist-info}/entry_points.txt +0 -0
- {skilleter_thingy-0.2.12.dist-info → skilleter_thingy-0.2.13.dist-info}/licenses/LICENSE +0 -0
- {skilleter_thingy-0.2.12.dist-info → skilleter_thingy-0.2.13.dist-info}/top_level.txt +0 -0
skilleter_thingy/thingy/git.py
CHANGED
|
@@ -595,13 +595,16 @@ def commit_info(commit_1=None, commit_2=None, paths=None, diff_stats=False, path
|
|
|
595
595
|
lines_del = 0 if p.group(2) == '-' else int(p.group(2))
|
|
596
596
|
|
|
597
597
|
# Check for rename and get both old and new names
|
|
598
|
+
# The replace of '//' with '/' is to cope with the case where a file is moved
|
|
599
|
+
# to a parent or subdirectory where the git output will be 'PARENT/{SUBDIR => }/NAME'
|
|
600
|
+
# and the new name would otherwise be 'PARENT//NAME'
|
|
598
601
|
|
|
599
602
|
if ' => ' in p.group(3):
|
|
600
603
|
q = _DIFF_OUTPUT_RENAME_RE.fullmatch(p.group(3))
|
|
601
604
|
|
|
602
605
|
if q:
|
|
603
|
-
old_filename = q.group(1) + q.group(2) + q.group(4)
|
|
604
|
-
new_filename = q.group(1) + q.group(3) + q.group(4)
|
|
606
|
+
old_filename = (q.group(1) + q.group(2) + q.group(4)).replace('//', '/')
|
|
607
|
+
new_filename = (q.group(1) + q.group(3) + q.group(4)).replace('//', '/')
|
|
605
608
|
else:
|
|
606
609
|
old_filename, new_filename = p.group(3).split(' => ')
|
|
607
610
|
else:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: skilleter_thingy
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.13
|
|
4
4
|
Summary: A collection of useful utilities, mainly aimed at making Git more friendly
|
|
5
5
|
Author-email: John Skilleter <john@skilleter.org.uk>
|
|
6
6
|
Project-URL: Home, https://skilleter.org.uk
|
|
@@ -42,7 +42,7 @@ skilleter_thingy/thingy/dc_util.py,sha256=Df73imXhHx3HzcPHiRcHAoea0e3HURdLcrolUs
|
|
|
42
42
|
skilleter_thingy/thingy/dircolors.py,sha256=aBcq9ci855GSOIjrZWm8kG0ksCodvUmc4FlIOEOyBcA,12292
|
|
43
43
|
skilleter_thingy/thingy/docker.py,sha256=zFgLLGAmqGsBdy9SWhl6BVkPyng9vZygPe7dJylkTEc,2533
|
|
44
44
|
skilleter_thingy/thingy/files.py,sha256=jNnLpkhfmZ3W2uqdQvt-zI27FSwBLBERwAbsVeQ2TTs,4708
|
|
45
|
-
skilleter_thingy/thingy/git.py,sha256=
|
|
45
|
+
skilleter_thingy/thingy/git.py,sha256=NTZv9um6-Yigqdt-O9WTNxA19LyNTXw9IunrdflEpoM,43036
|
|
46
46
|
skilleter_thingy/thingy/gitlab.py,sha256=uXAF918xnPk6qQyiwPQDbMZfqtJzhiRqDS7yEtJEIAg,6079
|
|
47
47
|
skilleter_thingy/thingy/path.py,sha256=8uM2Q9zFRWv_SaVOX49PeecQXttl7J6lsmBuRXWsXKY,4732
|
|
48
48
|
skilleter_thingy/thingy/popup.py,sha256=hNfA9yh4jCv2su8XK33udcTWwgf98noBdYRRkFX1mxc,2517
|
|
@@ -51,9 +51,9 @@ skilleter_thingy/thingy/run.py,sha256=mqafCzW9op_xKCt8OY3jJ6YltmoOJGh44vzl667mww
|
|
|
51
51
|
skilleter_thingy/thingy/tfm_pane.py,sha256=XTTpSm71CyQyGmlVLuCthioOwech0jhUiFUXb-chS_Q,19792
|
|
52
52
|
skilleter_thingy/thingy/tidy.py,sha256=AQ2RawsZJg6WHrgayi_ZptFL9occ7suSdCHbU3P-cys,5971
|
|
53
53
|
skilleter_thingy/thingy/venv_template.py,sha256=ZfUvi8qFNGrk7J030Zy57xjwMtfIArJyqa-MqafyjVk,1016
|
|
54
|
-
skilleter_thingy-0.2.
|
|
55
|
-
skilleter_thingy-0.2.
|
|
56
|
-
skilleter_thingy-0.2.
|
|
57
|
-
skilleter_thingy-0.2.
|
|
58
|
-
skilleter_thingy-0.2.
|
|
59
|
-
skilleter_thingy-0.2.
|
|
54
|
+
skilleter_thingy-0.2.13.dist-info/licenses/LICENSE,sha256=ljOS4DjXvqEo5VzGfdaRwgRZPbNScGBmfwyC8PChvmQ,32422
|
|
55
|
+
skilleter_thingy-0.2.13.dist-info/METADATA,sha256=p-NDmQvDF8A6oO5s1Lx1VIKmApg1e2f1VfyJsKqfTg8,28914
|
|
56
|
+
skilleter_thingy-0.2.13.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
57
|
+
skilleter_thingy-0.2.13.dist-info/entry_points.txt,sha256=MTNWf8jOx8Fy3tSwVLCZPlEyzlDF36odw-IN-cSefP8,1784
|
|
58
|
+
skilleter_thingy-0.2.13.dist-info/top_level.txt,sha256=8-JhgToBBiWURunmvfpSxEvNkDHQQ7r25-aBXtZv61g,17
|
|
59
|
+
skilleter_thingy-0.2.13.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|