From: Junio C Hamano <gitster@pobox.com>
To: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: git cvsimport and case-insensitive config
Date: Tue, 30 Mar 2010 14:20:30 -0700 [thread overview]
Message-ID: <7vr5n1v74x.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <cb7bb73a1003301105v691624sdcdadf6809c50b89@mail.gmail.com> (Giuseppe Bilotta's message of "Tue\, 30 Mar 2010 20\:05\:57 +0200")
Giuseppe Bilotta <giuseppe.bilotta@gmail.com> writes:
> We might be able to skip (2) by relying on the fact that if the
> lowercase is boolean, the uppercase isn't, and conversely.
That was the idea I wrote in an earlier draft of my response that I later
scrapped. I started with "cvsimport.a? If it is 'true' then that is -a;
if it names an existing file, then it is -A." I continued the draft up to
'-p' vs '-P' (the former would begin with a hyphen, the latter likely
wouldn't). But I don't think you can reliably guess -s/-S (both strings).
A bigger reason is that, if you have _any_ combination that you cannot
reliably guess, you would either need the user to ask for help, or you
need to convert by reading the configuration file case-sensitively
yourself to come up with a reliable conversion. I opted for the latter.
next prev parent reply other threads:[~2010-03-30 21:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-30 8:32 git cvsimport and case-insensitive config Giuseppe Bilotta
2010-03-30 17:29 ` Junio C Hamano
2010-03-30 18:05 ` Giuseppe Bilotta
2010-03-30 21:20 ` Junio C Hamano [this message]
2010-03-30 22:17 ` Giuseppe Bilotta
2010-03-30 23:14 ` Junio C Hamano
2010-03-31 6:54 ` Giuseppe Bilotta
2010-03-31 9:45 ` Junio C Hamano
2010-03-31 11:17 ` Giuseppe Bilotta
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=7vr5n1v74x.fsf@alter.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=giuseppe.bilotta@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 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.