All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: "Kristian Høgsberg" <krh@redhat.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: Latest builtin-commit series
Date: Tue, 18 Sep 2007 15:25:35 -0700	[thread overview]
Message-ID: <7vbqbzvcf4.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <1190129009.23692.24.camel@hinata.boston.redhat.com> (Kristian Høgsberg's message of "Tue, 18 Sep 2007 11:23:29 -0400")

Kristian Høgsberg <krh@redhat.com> writes:

> Better late than never:
>
>       * rebase to Pierres strbuf changes.  Note, there is still some
>         strbuf tweaking required, to let stripspace work on a strbuf.
>         Also, I changed the semantics of stripspace to always add a
>         newline if the last line doesn't have one.  I believe the
>         current odd semantics (always remove the last newline) comes
>         from not being able to easily add a newline, but now that it's a
>         strbuf, that's easy.

I do not find the "remove trailing newline" so odd.  Didn't it
come because you sometimes needed to _not_ add it?

>       * Set the test suite default editor to '/bin/true' instead of ':'.
>         Since we're not exec'ing the editor from shell anymore, ':'
>         won't work.  Maybe we should special case ':' in launch_editor
>         or perhaps make launch_editor use system(3).  Not sure.

We've had a few threads on the list about what to do with:

	GIT_EDITOR='emacs -nw'

I think David's 08874658b450600e72bb7cb0d0747c1ec4b0bfe1
(git-sh-setup.sh: make GIT_EDITOR/core.editor/VISUAL/EDITOR
accept commands) is a sensible to deal with this issue, and
prefer to see the same semantics kept in the C version.

  parent reply	other threads:[~2007-09-18 22:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-18 15:23 Latest builtin-commit series Kristian Høgsberg
2007-09-18 21:39 ` Alex Riesen
2007-09-18 22:24   ` Johannes Schindelin
2007-09-18 22:25 ` Junio C Hamano [this message]
2007-09-18 23:15   ` Kristian Høgsberg
2007-09-18 22:31 ` Pierre Habouzit
2007-09-19 23:16 ` Junio C Hamano
  -- strict thread matches above, loose matches on Subject: below --
2007-09-18 15:12 Kristian Høgsberg

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=7vbqbzvcf4.fsf@gitster.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=krh@redhat.com \
    /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.