All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Kastrup <dak@gnu.org>
To: "Martin Langhoff" <martin.langhoff@gmail.com>
Cc: "Govind Salinas" <govindsalinas@gmail.com>,
	"Linus Torvalds" <torvalds@linux-foundation.org>,
	git@vger.kernel.org
Subject: Re: Can I have this, pretty please?
Date: Mon, 13 Aug 2007 00:54:33 +0200	[thread overview]
Message-ID: <85ir7k5pp2.fsf@lola.goethe.zz> (raw)
In-Reply-To: <46a038f90708121517s3ce137e6x898e3f7a59d55a2f@mail.gmail.com> (Martin Langhoff's message of "Mon\, 13 Aug 2007 10\:17\:20 +1200")

"Martin Langhoff" <martin.langhoff@gmail.com> writes:

> On 8/13/07, David Kastrup <dak@gnu.org> wrote:
>> Well, what I have in mind boils down to something I can use without
>> leaving my editor... (...) and I naturally use Emacs.
>
> heh! As an emacs user, I have to say this might just be a tad too
> much :-)
>
> The main fix for your immediate woes of having gitk work fast is -
> imho - to limit it by time, which I do all the time.
>
> And on that track I'd *love* it if gitk could work as follows:
> start-up as if I had said --since=10.days.ago (unless I pass an
> explicit --since) and put a "get more history" button at the bottom
> of the commit list. And make the default --since settable via git
> config as gitk.since or somesuch.
>
> That'd make newcomers to git go -- WOW -- on gitk, and save old
> hands some typing ;-)

Sigh.  Why does one have to limit _anything_?  gitk can just keep
asking git-rev-list -20 --stdin enough questions to fill the screen.
It can get more history if it _needs_ it.

tig actually sucks up the whole of Emacs history (100000 commits per
branch) as fast as git-rev-list can produce it.  Without locking or
swapping.

> On the gnus backend - I don't think the nntp backend is good enough,
> as it can't deal with merges. But if you can write up a new backend
> that can read merges, you'll be golden. You'll definitely want to
> limit the number of commits you read initially, too.
>
> Now - both your emacs-gnus-git backend and gitk/qgit would benefit
> from having a long-lived git process that you can talk to via a
> socket for the stuff that you are bound to be asking a lot of
> (cat-file, diff, etc). Something like git-fastimport but for common
> queries.

Can be pipes.  Pretty common way of talking to utilities from within
Emacs.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

  reply	other threads:[~2007-08-12 22:54 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-12 13:23 Can I have this, pretty please? David Kastrup
2007-08-12 14:21 ` Steven Grimm
2007-08-12 16:40   ` David Kastrup
2007-08-12 18:38 ` Linus Torvalds
2007-08-12 18:48   ` Linus Torvalds
2007-08-12 19:28     ` Jon Smirl
2007-08-12 19:45       ` Linus Torvalds
2007-08-12 19:48       ` David Kastrup
2007-08-12 19:29     ` David Kastrup
2007-08-12 19:51       ` Uwe Kleine-König
2007-08-12 20:04         ` David Kastrup
2007-08-12 20:21           ` Linus Torvalds
2007-08-12 19:53       ` Linus Torvalds
2007-08-12 20:10         ` David Kastrup
2007-08-13  0:22         ` Paul Mackerras
2007-08-13  5:49           ` David Kastrup
2007-08-12 19:10   ` David Kastrup
2007-08-12 19:24     ` Linus Torvalds
2007-08-12 19:46       ` David Kastrup
2007-08-12 19:59         ` Linus Torvalds
2007-08-12 20:30           ` David Kastrup
2007-08-12 20:58           ` Govind Salinas
2007-08-12 21:35             ` David Kastrup
2007-08-12 22:17               ` Martin Langhoff
2007-08-12 22:54                 ` David Kastrup [this message]
2007-08-12 20:02     ` Jeff King
2007-08-12 20:09       ` Jeff King
2007-08-12 21:51       ` David Kastrup
2007-08-12 23:10         ` Jeff King

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=85ir7k5pp2.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=git@vger.kernel.org \
    --cc=govindsalinas@gmail.com \
    --cc=martin.langhoff@gmail.com \
    --cc=torvalds@linux-foundation.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.