From: Junio C Hamano <junkio@cox.net>
To: Jeff King <peff@peff.net>
Cc: git@vger.kernel.org
Subject: Re: [PATCH 3/3] git-commit.sh: convert run_status to a C builtin
Date: Thu, 07 Sep 2006 22:56:11 -0700 [thread overview]
Message-ID: <7v64fynbpg.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <20060908054226.GA19537@coredump.intra.peff.net> (Jeff King's message of "Fri, 8 Sep 2006 01:42:26 -0400")
Jeff King <peff@peff.net> writes:
> On Thu, Sep 07, 2006 at 05:20:20PM -0700, Junio C Hamano wrote:
>
>> "status.h" and "struct status" somehow sounds too broad.
>> Granted, "object.h" is also broad, but in git context "object"
>> has a specific meaning.
>
> I agree it is quite broad (as is git-runstatus). Conceptually it's
> another type of diff format, but making it a diff argument doesn't
> really makes much sense. We're at least not introducing any broadness,
> since there is already git-status; are we interested in fixing that
> name?
The command name is a name exposed to the end user. We do not
currently have a command to give "repository status", and even
if we had one such a specialized command for repository
administrators would be called git-repository-status so
git-status is definitely fine as is.
I just wanted to point it out because I felt the names to
programmers are slightly different matter.
> wt_status? ucu_status (updated, changed, untracked)?
Yeah, something along those lines.
>> Very nicely done. Especially I liked that you are careful not
>> to paint leading '#\t' (which is noticeable when you use reverse
>> as an attribute).
>
> Yes. I seem to recall some issues raised about color attributes
> persisting over a newline, but I can't find any reference to it now.
> Using color_printf makes sure every color is 'closed' but it sometimes
> includes the newline in the colorized portion. Does anybody object to
> that?
In a distant past I saw some terminals get confused near the
edge if you do that, but these days everybody is on some sort of
Xterm so it may not matter. But that would probably be nice to
fix.
> OK. Besides the things you mentioned, what improvements would you like
> to see?
Besides the things I mentioned? I dunno offhand -- otherwise I
would have mentioned them ;-).
next prev parent reply other threads:[~2006-09-08 5:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <64c62cc942e872b29d7225999e74a07be586674a.1157610743.git.peff@peff.net>
2006-09-07 6:36 ` [PATCH 3/3] git-commit.sh: convert run_status to a C builtin Jeff King
2006-09-07 9:10 ` Jeff King
2006-09-08 0:20 ` Junio C Hamano
2006-09-08 5:42 ` Jeff King
2006-09-08 5:56 ` Junio C Hamano [this message]
2006-09-08 7:34 ` Jeff King
2006-09-08 8:03 ` [PATCH] Move color option parsing out of diff.c and into color.[ch] Jeff King
2006-09-08 8:49 ` Junio C Hamano
2006-09-08 9:12 ` Jeff King
2006-09-08 21:19 ` 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=7v64fynbpg.fsf@assigned-by-dhcp.cox.net \
--to=junkio@cox.net \
--cc=git@vger.kernel.org \
--cc=peff@peff.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).