mirror of
https://github.com/two-torial/sp2xpatcher.git
synced 2024-11-23 20:30:56 +01:00
Count unstaged but changed files
This commit is contained in:
parent
3943525d47
commit
c4099f7300
@ -18,7 +18,7 @@ def git_files(command):
|
||||
# Get a list of changes json files using git
|
||||
def get_changed_jsons():
|
||||
commands = [
|
||||
# ['git', 'diff', '--name-only'], # changed files
|
||||
['git', 'diff', '--name-only'], # changed files
|
||||
['git', 'diff', '--cached', '--name-only'], # staged files
|
||||
['git', 'log', 'origin/main..HEAD', '--name-only', '--pretty=format:'] # comitted files
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user