Re: TopGit: ensure worktree (was: [TopGit PATCH] Check for help invocation before setup)
also sprach Bert Wesarg <bert.wesarg@googlemail.com> [2008.11.21.1315 +0100]:
> I CC'ed Junio, because I think this git rev-parse --git-dir is
> a bug. For example you can try starting git gui inside a .git dir.
You might want to let him know of your intention. :)
> A patch would depent on your --help patch, Because help should
> work everywhere. So either I wait for you or do do it.
No, not depend, but the patch makes the --help situation slightly worse, for now you cannot call --help inside .git anymore either. This will force us to fix the --help situation quicker.
I've run out of time, for a while at least. If you want to pick up the pieces and convert argument parsing to POSIX getopt, or maybe even better, git-rev-parse --parseopt, then please go for it. You can find my current TopGit branch at
http://git.debian.org/?p=collab-maint/topgit.git;a=shortlog;h=refs/heads/fixes/independent-help
git://git.debian.org/git/collab-maint/topgit.git, branch fixes/independent-help
If you use Debian: debcheckout topgit (requires devscripts 2.10.40)
Thanks,
--
.''`. martin f. krafft <madduck@debian.org>
: :' : proud Debian developer, author, administrator, and user
`. `'` http://people.debian.org/~madduck - http://debiansystem.info
`- Debian - when you have better things to do than fixing systems
"heuristic is computer science jargon for 'doesn't actually work.'"
-- charlie reiman