Skip to content

Commit

Permalink
doc [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Sep 30, 2024
1 parent 9f9dded commit bb6763b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 1 addition & 7 deletions src/gitutils/status.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
"""
detect Git local repo modifications.
replaced by git status --porcelain:
git ls-files -o -d --exclude-standard: # check for uncommitted files
git --no-pager diff HEAD , # check for uncommitted work
DOES NOT WORK git log --branches --not --remotes # check for uncommitted branches
detect Git local repo modifications
"""

from __future__ import annotations
Expand Down
6 changes: 6 additions & 0 deletions src/gitutils/status_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
This was the original implementation of mass-checking of Git status
using asyncio and subprocesses. It is much more efficient to use
libgit2 via pygit2, which is the current implementation.
replaced by git status --porcelain:
git ls-files -o -d --exclude-standard: # check for uncommitted files
git --no-pager diff HEAD , # check for uncommitted work
DOES NOT WORK git log --branches --not --remotes # check for uncommitted branches
"""

import subprocess
Expand Down

0 comments on commit bb6763b

Please sign in to comment.