Commit ae3b18e
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 b99f853 commit ae3b18e
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1060 | 1060 | | |
1061 | 1061 | | |
1062 | 1062 | | |
1063 | | - | |
| 1063 | + | |
1064 | 1064 | | |
1065 | | - | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
1066 | 1072 | | |
1067 | 1073 | | |
1068 | 1074 | | |
| |||
0 commit comments