Commit 5e5a207
committed
Have git verify the repository
Rather than simply check for the presence of `.git` when `git-save`
exists, run `git rev-parse --is-inside-work-tree` and replace the `.git`
directory when it returns an error. This will fix corrupted `.git`
directories left over from previous builds, as well as missing `.git`
directories.1 parent 6d6238f commit 5e5a207
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1074 | 1074 | | |
1075 | 1075 | | |
1076 | 1076 | | |
1077 | | - | |
| 1077 | + | |
1078 | 1078 | | |
1079 | | - | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
1080 | 1086 | | |
1081 | 1087 | | |
1082 | 1088 | | |
| |||
0 commit comments