From: Johannes Schindelin Date: Fri, 06 Jul 2007 01:17:01 GMT Subject: Re: Update local tracking refs when pushing- no way to disable Message-ID: 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..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