disable git status check

This commit is contained in:
Vladimir Mandic
2023-04-24 19:20:48 -04:00
parent 45079f7ce8
commit 023e13b371
2 changed files with 5 additions and 13 deletions
+1 -9
View File
@@ -57,12 +57,4 @@ Tech that can be integrated as part of the core workflow...
### Pending Code Updates
- use samples format for live preview
- identify race condition where generate locks up while fetching preview
- add pulldowns to x/y/z script
- add VAE rollback feature in case of NaNs
- add token merging
- use **Approx NN** for live preview
- create default `styles.csv`
- fix setup not installing `tensorflow` dependencies
- update default git flags to reduce number of warnings
- update GPU utility search paths for better GPU type detection
+4 -4
View File
@@ -396,10 +396,10 @@ def check_version():
if not os.path.exists('.git'):
log.error('Not a git repository')
exit(1)
status = git('status')
if 'branch' not in status:
log.error('Cannot get git repository status')
exit(1)
_status = git('status')
# if 'branch' not in status:
# log.error('Cannot get git repository status')
# exit(1)
ver = git('log -1 --pretty=format:"%h %ad"')
log.info(f'Version: {ver}')
commit = git('rev-parse HEAD')