Skip to content

Commit bb6763b

Browse files
committed
doc [skip ci]
1 parent 9f9dded commit bb6763b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/gitutils/status.py

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
"""
2-
detect Git local repo modifications.
3-
4-
replaced by git status --porcelain:
5-
git ls-files -o -d --exclude-standard: # check for uncommitted files
6-
git --no-pager diff HEAD , # check for uncommitted work
7-
8-
DOES NOT WORK git log --branches --not --remotes # check for uncommitted branches
2+
detect Git local repo modifications
93
"""
104

115
from __future__ import annotations

src/gitutils/status_cmd.py

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
This was the original implementation of mass-checking of Git status
33
using asyncio and subprocesses. It is much more efficient to use
44
libgit2 via pygit2, which is the current implementation.
5+
6+
replaced by git status --porcelain:
7+
git ls-files -o -d --exclude-standard: # check for uncommitted files
8+
git --no-pager diff HEAD , # check for uncommitted work
9+
10+
DOES NOT WORK git log --branches --not --remotes # check for uncommitted branches
511
"""
612

713
import subprocess

0 commit comments

Comments
 (0)