HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by alt227 | Hacker News Reader
Parent
Full thread
alt227
·
Why does it need to perform a commit to read the log?
View on HN
handoflixue
·
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
·
Can it not check the current credentials that it would potentially be using to make said commit?
jstanley
·
Sure, I was providing an example of how it could be done, not an exhaustive list.
Reply on news.ycombinator.com