pulli 0.2.7__tar.gz → 0.2.8__tar.gz
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.
- {pulli-0.2.7 → pulli-0.2.8}/PKG-INFO +1 -1
- {pulli-0.2.7 → pulli-0.2.8}/src/pulli/__init__.py +1 -1
- {pulli-0.2.7 → pulli-0.2.8}/src/pulli/tree.py +6 -2
- {pulli-0.2.7 → pulli-0.2.8}/.gitignore +0 -0
- {pulli-0.2.7 → pulli-0.2.8}/LICENSE +0 -0
- {pulli-0.2.7 → pulli-0.2.8}/README.md +0 -0
- {pulli-0.2.7 → pulli-0.2.8}/pyproject.toml +0 -0
- {pulli-0.2.7 → pulli-0.2.8}/scripts/release.sh +0 -0
- {pulli-0.2.7 → pulli-0.2.8}/src/pulli/cli.py +0 -0
- {pulli-0.2.7 → pulli-0.2.8}/src/pulli/discovery.py +0 -0
- {pulli-0.2.7 → pulli-0.2.8}/src/pulli/pull.py +0 -0
- {pulli-0.2.7 → pulli-0.2.8}/src/pulli/spinner.py +0 -0
- {pulli-0.2.7 → pulli-0.2.8}/src/pulli/status.py +0 -0
- {pulli-0.2.7 → pulli-0.2.8}/src/pulli/update.py +0 -0
- {pulli-0.2.7 → pulli-0.2.8}/tests/test_pulli.py +0 -0
- {pulli-0.2.7 → pulli-0.2.8}/uv.lock +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"""pulli — discover git repos under a root and report their status."""
|
|
2
|
-
__version__ = "0.2.
|
|
2
|
+
__version__ = "0.2.8"
|
|
@@ -166,8 +166,12 @@ def _ahead_behind(node: RepoNode, C=lambda s, *c: s) -> str:
|
|
|
166
166
|
if not node.upstream:
|
|
167
167
|
return "· ·"
|
|
168
168
|
behind, ahead = node.behind or 0, node.ahead or 0
|
|
169
|
-
|
|
170
|
-
|
|
169
|
+
# When the whole line is already cyan (behind repos get that in the
|
|
170
|
+
# flat renderer), the count must not re-cyan a subset — nested SGR of
|
|
171
|
+
# the same color makes the rest of the line render differently. Bold
|
|
172
|
+
# alone is enough emphasis there.
|
|
173
|
+
b = C(f"↓{behind}", _BOLD) if behind else f"↓{behind}"
|
|
174
|
+
a = C(f"↑{ahead}", _BOLD) if ahead else f"↑{ahead}"
|
|
171
175
|
return f"{b} {a}"
|
|
172
176
|
|
|
173
177
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|