git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jon Loeliger <jdl@freescale.com>
To: Git List <git@vger.kernel.org>
Subject: Dry run flag for git-pull or git-fetch?
Date: Mon, 05 Mar 2007 14:41:48 -0600	[thread overview]
Message-ID: <1173127307.23776.37.camel@ld0161-tx32> (raw)

Folks,

Is there a "dry-run" flag for git-pull and git-fetch
that I missed somewhere?

Specifically, I'm looking for a  "git pull -n foo"
command that would tell me, as output, the gross-level
effect without actually doing the steps.  That is,
I'd expect something like:

    Fetching from remote "foo"
        URL: git://example.com/pub/foostuff.git
        Remote branch: foo/main into remote/foo/main
        Remote branch: foo/testing into remote/foo/testing
    Merging:
        Remote foo/main into local heads/master

Or something down that line.  Basically parrot the
config file plus command line effect back at the
user as a sanity check first.

Thanks,
jdl

                 reply	other threads:[~2007-03-05 20:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1173127307.23776.37.camel@ld0161-tx32 \
    --to=jdl@freescale.com \
    --cc=git@vger.kernel.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).