Git 1.7.8 changes for the everyday developer
johnkary.net
Git 1.7.8 changes for the everyday developer
1–10 of 17 posts
Re: Git 1.7.8 changes for the everyday developer
#2Nice summary. Thanks!
Re: Git 1.7.8 changes for the everyday developer
#3wow. I didn't even know about git grep. Very useful
Re: Git 1.7.8 changes for the everyday developer
#4Whatever happened to generation numbers?
Re: Git 1.7.8 changes for the everyday developer
#5wow. I didn't even know about git grep. Very useful
It's probably my most commonly-used git command, to the point where I have it aliased to "g g".
Re: Git 1.7.8 changes for the everyday developer
#6The 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.Re: Git 1.7.8 changes for the everyday developer
#7Whatever 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
#8The 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.
Re: Git 1.7.8 changes for the everyday developer
#9The 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
Re: Git 1.7.8 changes for the everyday developer
#10wow. I didn't even know about git grep. Very useful
It's probably my most commonly-used git command, to the point where I have it aliased to "g g".
You guys should really look into http://betterthangrep.com/ :)