▲
Hacker News
new
|
best
|
ask
|
show
|
jobs
points by
alt227
1 day ago | 0 comments
Why does it need to perform a commit to read the log?
[–]
handoflixue
1 day ago
The repo's other commits could be from someone else - whereas a commit it wrote itself is guaranteed to be from the correct/local account.
[–]
alt227
1 day ago
Can it not check the current credentials that it would potentially be using to make said commit?
[–]
jstanley
1 day ago
Sure, I was providing an example of how it could be done, not an exhaustive list.
[–] handoflixue 1 day ago
[–] alt227 1 day ago
[–] jstanley 1 day ago