From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Dan McGee <dpmcgee@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Update local tracking refs when pushing- no way to disable
Date: Fri, 6 Jul 2007 02:17:01 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.64.0707060201200.9789@racer.site> (raw)
In-Reply-To: <449c10960707051722q6650ec7dq6012695acdfba4af@mail.gmail.com>
Hi,
[on this list, it is considered polite to not cull the Cc list anyway]
On Thu, 5 Jul 2007, Dan McGee wrote:
> In this commit:
> b516968ff62ec153e008d033c153affd7ba9ddc6
You might be interested to look only at the changes to builtin-push.c. I
have a hunch that you just need to disable setting the remote if
"remote.<name>.skipDefaultUpdate" is set.
Of course, for that to work, you would also need to add a member variable
to struct remote in remote.h, and handle it at the end of handle_config()
in remote.c.
Then just use remote->skip_default_update in builtin-push.c, to guard
around lines 90--93.
As for submitting, please read Documentation/SubmittingPatches first, it
is not really long, and most of it is obvious.
Hth,
Dscho
next prev parent reply other threads:[~2007-07-06 1:17 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-06 0:22 Update local tracking refs when pushing- no way to disable Dan McGee
2007-07-06 1:17 ` Johannes Schindelin [this message]
2007-07-06 1:31 ` Junio C Hamano
2007-07-06 3:37 ` Daniel Barkalow
2007-07-06 8:26 ` Marco Costalba
2007-07-06 8:42 ` Shawn O. Pearce
2007-07-06 12:46 ` Johannes Schindelin
2007-07-06 18:56 ` Daniel Barkalow
2007-07-06 18:59 ` Johannes Schindelin
2007-07-06 19:20 ` Daniel Barkalow
2007-07-06 19:46 ` Johannes Schindelin
2007-07-06 13:20 ` Dan McGee
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=Pine.LNX.4.64.0707060201200.9789@racer.site \
--to=johannes.schindelin@gmx.de \
--cc=dpmcgee@gmail.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).