File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
"""
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
9
3
"""
10
4
11
5
from __future__ import annotations
Original file line number Diff line number Diff line change 2
2
This was the original implementation of mass-checking of Git status
3
3
using asyncio and subprocesses. It is much more efficient to use
4
4
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
5
11
"""
6
12
7
13
import subprocess
You can’t perform that action at this time.
0 commit comments