whygit 0.1.0__tar.gz → 0.1.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: whygit
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Explains what state your Git repository is in and how to fix it, in plain English. CLI and MCP server; read-only.
5
5
  Keywords: git,education,mcp,cli,merge-conflict,beginners
6
6
  Author: Kameswara Sai Srikar Manda
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "whygit"
3
- version = "0.1.0"
3
+ version = "0.1.1"
4
4
  description = "Explains what state your Git repository is in and how to fix it, in plain English. CLI and MCP server; read-only."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "whygit"
3
- version = "0.1.0"
3
+ version = "0.1.1"
4
4
  description = "Explains what state your Git repository is in and how to fix it, in plain English. CLI and MCP server; read-only."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -0,0 +1 @@
1
+ __version__ = "0.1.1"
@@ -200,10 +200,13 @@ def _child_repos(st: RepoState) -> list[str]:
200
200
  found.append(f"{c.name}/{g.name}")
201
201
  except OSError:
202
202
  pass
203
- if len(found) >= 8:
203
+ if len(found) > 50:
204
204
  break
205
205
  except OSError:
206
206
  pass
207
+ if len(found) > 8:
208
+ more = f"{len(found) - 8}+" if len(found) > 50 else str(len(found) - 8)
209
+ return found[:8] + [f"... and {more} more"]
207
210
  return found
208
211
 
209
212
 
@@ -1 +0,0 @@
1
- __version__ = "0.1.0"
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