From: Eric Sunshine <sunshine@sunshineco.com>
To: Luke Diamand <luke@diamand.org>
Cc: "Git List" <git@vger.kernel.org>,
"SZEDER Gábor" <szeder.dev@gmail.com>,
merlorom@yahoo.fr, "Miguel Torroja" <miguel.torroja@gmail.com>,
viniciusalexandre@gmail.com,
"Lars Schneider" <larsxschneider@gmail.com>
Subject: Re: [PATCHv1 2/2] git-p4: add option to disable syncing of p4/master with p4
Date: Tue, 5 Jun 2018 04:47:26 -0400 [thread overview]
Message-ID: <CAPig+cQH1n+c2sNijPBKTG2tGDYEWjBz_PUoWREQh8y9tG4a-Q@mail.gmail.com> (raw)
In-Reply-To: <20180605082854.17090-3-luke@diamand.org>
On Tue, Jun 5, 2018 at 4:29 AM Luke Diamand <luke@diamand.org> wrote:
> Add an option to the git-p4 submit command to disable syncing
> with Perforce.
>
> This is useful for the case where a git-p4 mirror has been setup
> on a server somewhere, running from (e.g.) cron, and developers
> then clone from this. Having the local cloned copy also sync
> from Perforce just isn't useful.
>
> Signed-off-by: Luke Diamand <luke@diamand.org>
> ---
> diff --git a/Documentation/git-p4.txt b/Documentation/git-p4.txt
> @@ -369,6 +369,11 @@ These options can be used to modify 'git p4 submit' behavior.
> +--disable-p4sync::
> + Disable the automatic sync of p4/master from Perforce after commit have
s/commit/commits/
> + been submitted. Implies --disable-rebase. Can also be set with
> + git-p4.disableP4Sync. Sync with origin/master still goes ahead if possible.
> diff --git a/git-p4.py b/git-p4.py
> @@ -1368,7 +1368,9 @@ def __init__(self):
> + optparse.make_option("--disable-p4sync", dest="disable_p4sync", action="store_true",
> + help="Skip perforce sync of p4/master after submit or shelve"),
s/perforce/Perforce/
prev parent reply other threads:[~2018-06-05 8:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-05 8:28 [PATCHv1 0/2] git-p4: disable sync after submit Luke Diamand
2018-06-05 8:28 ` [PATCHv1 1/2] git-p4: disable-rebase: allow setting this via configuration Luke Diamand
2018-06-05 8:28 ` [PATCHv1 2/2] git-p4: add option to disable syncing of p4/master with p4 Luke Diamand
2018-06-05 8:47 ` Eric Sunshine [this message]
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
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAPig+cQH1n+c2sNijPBKTG2tGDYEWjBz_PUoWREQh8y9tG4a-Q@mail.gmail.com \
--to=sunshine@sunshineco.com \
--cc=git@vger.kernel.org \
--cc=larsxschneider@gmail.com \
--cc=luke@diamand.org \
--cc=merlorom@yahoo.fr \
--cc=miguel.torroja@gmail.com \
--cc=szeder.dev@gmail.com \
--cc=viniciusalexandre@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.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).