git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Victor Leschuk <vleschuk@accesssoftek.com>
To: Junio C Hamano <gitster@pobox.com>, Eric Wong <normalperson@yhbt.net>
Cc: "git@vger.kernel.org" <git@vger.kernel.org>,
	Victor Leschuk <vleschuk@gmail.com>
Subject: Re: [PATCH] git-svn: shorten glob error message
Date: Fri, 22 Jan 2016 16:07:32 +0000	[thread overview]
Message-ID: <1453478851657.1340@accesssoftek.com> (raw)
In-Reply-To: <xmqqvb6wjacq.fsf@gitster.mtv.corp.google.com>

Hello all,

On 01/14/2016 09:15 PM, Junio C Hamano wrote:
> Eric Wong <normalperson@yhbt.net> writes:
>
>> Error messages should attempt to fit within the confines of
>> an 80-column terminal to avoid compatibility and accessibility
>> problems.  Furthermore the word "directories" can be misleading
>> when used in the context of git refnames.
>>
>> Signed-off-by: Eric Wong <normalperson@yhbt.net>
>> ---
>>    Eric Wong <normalperson@yhbt.net> wrote:
>>    > I also noticed the "Only one set of wildcard directories" error
>>    > message is unnecessary long and "wildcard directories" should
>>    > probably be shortened to "wildcards" to avoid wrapping in a terminal.
>>    > That will probably be a separate patch for me.
>>
>>    There's likely more instances of this in git-svn, but I figured
>>    we'll get this one fixed, first.
>>
>>    Also pushed to bogomips.org/git-svn.git
>>    (commit dc6aa7e61e9d33856f54d63b7acb518383420373)
>>    along with Victor's patch.
> Thanks.
>
> I am not sure if it is a good idea to show */*/* as an example in
> the message (that is an anti-example of 'one set of wildcard' by
> having three stars, isn't it?), but that is not a new issue this
> change introduces.

I agree, this should be changed, however I think this should be done in 
separate patch.

Do we have any questions left open before this could be merged into main 
git repo?

--
Victor

  reply	other threads:[~2016-01-22 16:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-11 14:25 [PATCH] git-svn: loosen config globs limitations Victor Leschuk
2016-01-13  3:16 ` Eric Wong
2016-01-13  6:40   ` Victor Leschuk
2016-01-13 18:45   ` Junio C Hamano
2016-01-13 19:26     ` Eric Wong
2016-01-14  4:07   ` [PATCH] git-svn: shorten glob error message Eric Wong
2016-01-14 18:15     ` Junio C Hamano
2016-01-22 16:07       ` Victor Leschuk [this message]
2016-01-27  2:54       ` Eric Wong
2016-01-27 20:26         ` 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=1453478851657.1340@accesssoftek.com \
    --to=vleschuk@accesssoftek.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    --cc=normalperson@yhbt.net \
    --cc=vleschuk@gmail.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 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).