Live data from Hacker News

Git 1.7.8 changes for the everyday developer

johnkary.net

1–10 of 17 posts

Re: Git 1.7.8 changes for the everyday developer

#7

Whatever happened to generation numbers?

IIRC (I read the git mailing list) there was a lot of arguing about whether generation numbers should be in the commit headers or stored in separate cache, and then a different fix went in to speed up "tag --contains" and the discussion was pretty much abandoned.

Re: Git 1.7.8 changes for the everyday developer

#9
post #6

The author should try adding this to his .git/info/attributes file: *.py diff=python That should make --function-context work better on python source files.

I wonder how hard it is to teach it new languages.

All you need to do is write a regex to match. Currently supported languages are:

BibTeX, C/C++, html, java, ObjectiveC, Pascal, PHP, Python, Ruby, and TeX.

More details can be found in the gitattributes(5) manpage

Post reply on HN