4 ms·
it's not that simple. git is a snapshot, i.e. it saves an entire file. How to recover changed lines from it efficiently? And How to do it for the entire history
by billconan 6y ago
it's not that simple. git is a snapshot, i.e. it saves an entire file. How to recover changed lines from it efficiently? And How to do it for the entire history?
Basically, I want to understand this code
https://github.com/git/git/blob/master/blame.c https://github.com/git/git/blob/master/blame.c
- adkadskhj 6y agoI'm so confused on what you're saying. Are you saying it _isn't_ what commit last occurred on the given line? How would you explain this UI? https://github.com/git/git/blame/master/blame.c https://github.com/git/git/blame/master/blame.c Ie, what does blame mean to you?
- asxd 6y agoI was replying to another comment that has since been deleted. It said something roughly along the lines of git blame being a contentious and passive aggressive command. I totally agree the technical implementation would be cool to study :)
- Stratoscope 6y agoIf you ever want to see "deleted" (flagged/dead) comments like that one, turn on "showdead" in your profile.
- asxd 6y agoAh I see it now, thanks for the heads up!