From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jakub Narebski Subject: Re: [CFH] Remotes conversion script Date: Mon, 25 Sep 2006 01:06:19 +0200 Organization: At home Message-ID: References: <20060924212142.GB20017@pasky.or.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-From: git-owner@vger.kernel.org Mon Sep 25 01:10:16 2006 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GRd6w-0008MT-Cc for gcvg-git@gmane.org; Mon, 25 Sep 2006 01:10:10 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751326AbWIXXKG (ORCPT ); Sun, 24 Sep 2006 19:10:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751348AbWIXXKG (ORCPT ); Sun, 24 Sep 2006 19:10:06 -0400 Received: from main.gmane.org ([80.91.229.2]:33715 "EHLO ciao.gmane.org") by vger.kernel.org with ESMTP id S1751326AbWIXXKF (ORCPT ); Sun, 24 Sep 2006 19:10:05 -0400 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1GRd6o-0008La-Gt for git@vger.kernel.org; Mon, 25 Sep 2006 01:10:02 +0200 Received: from host-81-190-26-109.torun.mm.pl ([81.190.26.109]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Sep 2006 01:10:02 +0200 Received: from jnareb by host-81-190-26-109.torun.mm.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 25 Sep 2006 01:10:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: git@vger.kernel.org X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: host-81-190-26-109.torun.mm.pl Mail-Copies-To: jnareb@gmail.com User-Agent: KNode/0.10.2 Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: Johannes Schindelin wrote: > On Sun, 24 Sep 2006, Jakub Narebski wrote: > >> If I remember correctly currently only some functionality provided by >> remotes file can be provided by [remote] and [branch] sections of git >> config. > > ... and what might the lacking functionality be? What about Pull: +refs/heads/pu:refs/heads/pu functionality, i.e. allowing force-update (non fast-forward) fetches? > .git/remotes/ config > > URL: remote..url > Pull: remote..fetch > Push: remote..push > > You can even have multiple entries in the config, and it behaves as if you > had multiple lines in .git/remotes/. And first pull line is default branch to merge, all the rest is marked as not-for-merge? -- Jakub Narebski Warsaw, Poland ShadeHawk on #git