From: "Shawn O. Pearce" <spearce@spearce.org>
To: David Kastrup <dak@gnu.org>
Cc: Johannes Schindelin <Johannes.Schindelin@gmx.de>,
Alexandre Bourget <alexandre.bourget@savoirfairelinux.com>,
Git Mailing List <git@vger.kernel.org>,
paulus@samba.org
Subject: Re: [PATCH] Mod. gitk to support REBASE (with stash support).
Date: Thu, 9 Aug 2007 02:58:10 -0400 [thread overview]
Message-ID: <20070809065810.GC24573@spearce.org> (raw)
In-Reply-To: <85odhhntmb.fsf@lola.goethe.zz>
David Kastrup <dak@gnu.org> wrote:
> "Shawn O. Pearce" <spearce@spearce.org> writes:
> >> Well, yes. But git-gui only works on a single branch head at a time,
> >> and that is not enough for rebasing.
> >
> > Sure. But so does git's command line tools. They tend to only
> > work on a single branch at time, the one called `HEAD`.
>
> "tend", and many accept an explicit override: rebase accepts three
> commit names, for example. Those that _write_ into the repository
> usually _end_ up at HEAD, but most need not start there.
>
> And git-gui does not have any operation either looking at or working
> other than on the current HEAD. No diff, no file view, no rebase,
> nothing.
Uh, "Repository->Browse Browse Branch Files..." will let you look
at files from any commit-ish, not just HEAD or an existing branch.
You can open many file browsers at once against the same commit or
different commits. Double clicking a file opens it in the blame
viewer, which itself can move around history a little bit.
"Merge->Local Merge..." will let you select any another commit to
merge with this current branch. That's two commits.
So your assertion that git-gui only works with one commit, HEAD,
is wrong.
And git-rebase taking three arguments? Its actually two; if it
is given the optional final argument of the branch to rebase it
first switches to that branch, then does the rebase. In other
words these are identical:
# this...
git checkout to-rebase &&
git rebase --onto upstreamA upstreamB
# is the same as this...
git rebase --onto upstreamA upstreamB to-rebase
> >> Could git-gui perhaps be merged with giggle at some point of time?
> >
> > Unlikely. A while ago I considered "Stay in Tcl/Tk or move to
> > something more 'powerful/better/faster/Linus friendly'" and stayed
> > in Tcl/Tk. I doubt git-gui will leave Tcl/Tk. giggle is Gtk based.
>
> My bad: git-gui has a nice polished look on my systems (Ubuntu Feisty)
> while gitk has an ugly retro-blockish old-font Tk look; so not looking
> at the innards, I had assumed they were implemented using different
> systems.
Nope. Myself and a few others have just spent some time making
git-gui look somewhat sane by default. It doesn't always; there are
at least a few places where it still has too much of a Tk-ish look
to it. This is especially true in a few of the dialog boxes that
git-gui might open when you are about to do something potentially
bad.
> User interfaces are really not what I am good at, and I don't even
> have enough time to deal with the things I am good at.
Hah. Me neither. Yet git-gui exists.
--
Shawn.
next prev parent reply other threads:[~2007-08-09 6:58 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-08 18:33 [PATCH] Mod. gitk to support REBASE (with stash support) Alexandre Bourget
2007-08-08 19:31 ` Peter Baumann
2007-08-08 19:42 ` Johannes Schindelin
2007-08-08 20:08 ` David Kastrup
2007-08-09 3:26 ` Shawn O. Pearce
2007-08-09 5:51 ` David Kastrup
2007-08-09 6:58 ` Shawn O. Pearce [this message]
2007-08-09 7:21 ` Shawn O. Pearce
2007-08-09 7:55 ` David Kastrup
2007-08-08 19:53 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070809065810.GC24573@spearce.org \
--to=spearce@spearce.org \
--cc=Johannes.Schindelin@gmx.de \
--cc=alexandre.bourget@savoirfairelinux.com \
--cc=dak@gnu.org \
--cc=git@vger.kernel.org \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.