Re: [PATCH] better git-submodule status output
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 9, 2008, 12:31 UTC
- Message-ID
- <alpine.DEB.1.00.0807091427270.5277@eeepc-johanness>
- In-Reply-To
- <20080709101330.GA3525@joyeux>
Hi,
On Wed, 9 Jul 2008, Sylvain Joyeux wrote:
Show 9 quoted lines
> On the symbols side, I propose: > > submodule commit is a direct descendant of the commit in the > superproject > < submodule commit is a direct ancestor of the commit in the > superproject > + no direct relation between submodule commit and commit in the > superproject > ? the commit in the superproject cannot be found in the submodule > (replaces the initial '!' in my patch)
I like the output of "git checkout" when your local branch is not agreeing with the tracked branch. Maybe it would be more user-friendly to have submodule use that type of message, instead of cryptic single letter?
On a related note, the long commit name has been a constant nuisance for me. A short commit name is perfectly enough, methinks.
> - define a git-submodule 'fetch' subcommand which call fetch in each > submodule and runs the verbose mode of git-status (can be disabled by > a --quiet option).
I like it.
You probably can refactor the code for "update" to do that nicely.
Ciao, Dscho