public
Fork of Caged/gitnub
Description: A Gitk-like application written in RubyCocoa that looks like it belongs on a Mac. See the wiki for downloads and screenshots.
Homepage: http://alternateidea.com
Clone URL: git://github.com/bricooke/gitnub.git

bricooke's gitnub Feed   feed

timcharper commented on bricooke/gitnub 5 months ago
Comment in a1559ba:

yeah, I’m doing something very similar in the git textmate bundle (looking for the asterisk).
I suppose another way you could do it would be to look in .git/HEAD. The current branch pointer is stored in there.

Caged commented on bricooke/gitnub 5 months ago
Comment in a1559ba:

Hey bricooke,
I was told there was a patch in the queue that would add this support for grit. In the meantime, I can apply your workaround.

bricooke committed to bricooke/gitnub 5 months ago

a1559ba07bf97c8c0de790807a681ea8ce77842a

Some tomfoolery to system out and figure out what branch is active and make that the default instead of defaulting to "master". Surely a better way to do this (with grit?), but I don't know it.