2 ms·
First time hearing about pijul. Thank you, this looks pretty awesome! I have a question. Applying formatting/indenting on the entire codebase is known to destr
by johnisgood 8y ago
First time hearing about pijul. Thank you, this looks pretty awesome!
I have a question. Applying formatting/indenting on the entire codebase is known to destroy (making it useless) blaming completely in git. Would it work with pijul?
- pabs3 8y agoI think you would need a smarter blame system, probably something that can tokenise your source code like cregit: https://github.com/cregit/cregit/ https://github.com/cregit/cregit/ https://lwn.net/Articles/698425/ https://lwn.net/Articles/698425/
- johnisgood 8y agoSmarter than what pijul has? Do they have a fix for this planned? That would be cool. Thanks for the links!
- pabs3 8y agoI've never looked at pijul but without some knowledge of how to tokenise or parse source code, it would be hard for any VCS to have a smarter blame system. cregit doesn't care much about the underlying VCS, so presumably it could be adapted to being used with pijul too.
- twiss 8y ago`git blame -w` ignores whitespace changes, at least.