On Thu, May 06, 2010 at 02:24:41PM +0200, Knittl wrote:
Try:
git branch oldmaster
rm .git/refs/heads/master
git config branch.master.remote .
git config branch.master.merge refs/heads/oldmaster
That being said, I still get "Initial commit on master". I think that
stat_tracking_branch just gives up if the branch doesn't exist (which
does make some sense). So in practice, I think your original and this
one actually behave the same (sorry, I know that changing it was my
suggestion).
And no, the "--set-upstream" behavior is not a bug. At least not
according to the documentation. ;)
I think it's much nicer, though the colors are a bit much for my liking.
Still, it's configurable, so I don't have to care. :)
You may also want to have a configuration option if it is the output you
prefer all the time (similarly, if you are using "git status -s" all the
time, you might want a config option to make "git status" do what you
want).
This patch looks OK, but:
1. I think for the final version you can just squash in part 2/2.
2. Your patch has wrapped lines which make it impossible to apply
without fixing up manually. This is a common gmail problem. See
the "gmail" section of SubmittingPatches.
-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html