Commit e0b7bf1
committed
Assure windows home path is compared in absolute terms (#426)
In 'git', the passed path for ownership check probably is absolute
for reasons, but that's not an assumption we can make in `gitoxide`.
Hence we resolve the path fully before comparing one path with another.
Without this, using `gitoxide` powered applications from the current
working dir set to the home (probably) wouldn't work.1 parent 85ab096 commit e0b7bf1
3 files changed
+7
-1
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
76 | 80 | | |
77 | 81 | | |
78 | 82 | | |
| |||
0 commit comments