UltraStar-Deluxe / USDX

The free and open source karaoke singing game UltraStar Deluxe, inspired by Sony SingStarâ„¢
https://usdx.eu
GNU General Public License v2.0
808 stars 160 forks source link

add .gitattributes to have more descriptive git diff hunk headers #822

Closed barbeque-squared closed 3 months ago

barbeque-squared commented 3 months ago

When looking at the raw diff, most hunk headers in Pascal source files are currently literally begin, which doesn't really say anything useful.

Adding this .gitattributes changes that to print the function the change is in. This won't affect any actual git apply of diffs (it's just a comment for humans) but it makes it a lot easier to understand where we're changing things.