Re: [PATCH 0/7] limit the usage of the default remote "origin" to the minimum

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Paolo Bonzini <bonzini@...>
Cc: <git@...>, <spearce@...>, <gitster@...>, <johannes.schindelin@...>, <srb@...>
Date: Tuesday, April 29, 2008 - 3:35 pm

On Mon, Apr 28, 2008 at 05:23:53PM +0200, Paolo Bonzini wrote:


I like patches 1 and 2. The principle of "remove defaults from code, and
put them into the automatically generated config file" makes sense to
me. It gives users an easy place to look to understand and change such
behavior. So even without the rest of the patches, I think this is an
improvement.


This feels a little wrong, since we treat push and fetch lines
differently. That is, I can add just a fetch ("git remote add"), or both
("git remote add --push"), but not just a push. It seems like the
concepts should be orthogonal to "git remote" (as they are in the config
file).


I think you understand the compatibility issues, but I think it needs to
be not "warned in the release notes" but "warned in the release notes,
followed by a period of adjustment, and then the change". And maybe it
would even make sense to wait for a larger-number version change (like
1.6.0).


I agree that patch 5 is a reasonable cleanup, regardless.

I'm not sure about patch 6. What are the cases that can trigger this? I
assume people still with ancient .git/remotes files? Are those actually
deprecated?


Again, I like this behavior just fine, but it probably needs a warning
period and a major version bump.


This was from me, and I do like this behavior better.

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 0/7] limit the usage of the default remote "origi..., Jeff King, (Tue Apr 29, 3:35 pm)
[PATCH 1/7] add special "matching refs" refspec, Paolo Bonzini, (Mon Apr 28, 11:32 am)
[PATCH 2/7] add push line in git-clone, Paolo Bonzini, (Mon Apr 28, 11:32 am)
Re: [PATCH 2/7] add push line in git-clone, Junio C Hamano, (Thu May 1, 2:28 am)
Re: [PATCH 2/7] add push line in git-clone, Paolo Bonzini, (Tue May 6, 4:37 am)
Re: [PATCH 2/7] add push line in git-clone, Paolo Bonzini, (Wed May 14, 11:20 am)
Re: [PATCH 2/7] add push line in git-clone, Junio C Hamano, (Wed May 14, 2:16 pm)
Re: [PATCH 2/7] add push line in git-clone, Paolo Bonzini, (Wed May 14, 3:07 pm)
Re: [PATCH 2/7] add push line in git-clone, Junio C Hamano, (Wed May 14, 3:23 pm)
Re: [PATCH 2/7] add push line in git-clone, Paolo Bonzini, (Wed May 14, 3:40 pm)
[PATCH 3/7] Add a --push option to "git-remote add", Paolo Bonzini, (Mon Apr 28, 11:32 am)
[PATCH 4/7] make "git push" update all push repositories., Paolo Bonzini, (Mon Apr 28, 11:32 am)
[PATCH 7/7] make "git fetch" update all fetch repositories, Paolo Bonzini, (Mon Apr 28, 11:32 am)
Re: [PATCH 7/7] make "git fetch" update all fetch repositories, Johannes Schindelin, (Tue Apr 29, 5:39 pm)
Re: [PATCH 7/7] make "git fetch" update all fetch repositories, Johannes Schindelin, (Tue Apr 29, 6:26 pm)
Re: [PATCH 7/7] make "git fetch" update all fetch repositories, しらいしななこ, (Tue Apr 29, 5:08 pm)
Re: [PATCH 7/7] make "git fetch" update all fetch repositories, Johannes Schindelin, (Tue Apr 29, 12:13 pm)
Re: [PATCH resend] make "git push" update origin and mirrors..., Johannes Schindelin, (Mon Apr 28, 6:33 am)
Re: [PATCH resend] make "git push" update origin and mirrors..., Johannes Schindelin, (Mon Apr 28, 7:57 am)
Re: [PATCH resend] make "git push" update origin and mirrors..., Stephen R. van den Berg, (Mon Apr 28, 2:08 am)