From: Steven Rostedt <rostedt@goodmis.org>
To: Junio C Hamano <gitster@pobox.com>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>,
<git@vger.kernel.org>,
Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: Should "git apply --check" imply verbose?
Date: Tue, 20 Aug 2013 15:15:54 -0400 [thread overview]
Message-ID: <20130820151554.6afbcb7f@gandalf.local.home> (raw)
In-Reply-To: <xmqqzjsc5ggp.fsf@gitster.dls.corp.google.com>
On Tue, 20 Aug 2013 12:07:18 -0700
Junio C Hamano <gitster@pobox.com> wrote:
> Paul Gortmaker <paul.gortmaker@windriver.com> writes:
>
> > OK, so given your feedback, how do you feel about a patch to the
> > documentation that indicates to use "-v" in combination with the
> > "--check" to get equivalent "patch --dry-run" behaviour? If that
> > had existed, I'd have not gone rummaging around in the source, so
> > that should be good enough to help others avoid the same...
>
> I do not think it is necessarily a good idea to assume that people
> who are learning "git apply" know how GNU patch works.
Linus told me that "git apply" was basically a replacement for patch.
Why would you think it would not be a good idea to assume that people
would not be familiar with how GNU patch works?
Is it because you expect "git apply" to eventually replace patch all
out, and want no dependencies on its knowledge?
-- Steve
>
> But I do agree that the description of -v, --verbose has a lot of
> room for improvement.
>
> Report progress to stderr. By default, only a message about the
> current patch being applied will be printed. This option will cause
> additional information to be reported.
>
> It is totally unclear what "additional information" is reported at
> all.
>
> Thanks.
next prev parent reply other threads:[~2013-08-20 19:16 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-20 15:11 Should "git apply --check" imply verbose? Paul Gortmaker
2013-08-20 17:57 ` Junio C Hamano
2013-08-20 18:45 ` Paul Gortmaker
2013-08-20 18:51 ` Jonathan Nieder
2013-08-20 18:59 ` Paul Gortmaker
2013-08-20 19:07 ` Junio C Hamano
2013-08-20 19:15 ` Steven Rostedt [this message]
2013-08-20 19:45 ` Junio C Hamano
2013-08-20 19:54 ` Steven Rostedt
2013-08-20 20:19 ` Paul Gortmaker
2013-08-20 21:44 ` Junio C Hamano
2013-08-20 21:43 ` Junio C Hamano
2013-08-20 22:37 ` Steven Rostedt
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=20130820151554.6afbcb7f@gandalf.local.home \
--to=rostedt@goodmis.org \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=paul.gortmaker@windriver.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 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).