git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [CFH] Remotes conversion script
@ 2006-09-24 21:21 Petr Baudis
  2006-09-24 21:39 ` Jakub Narebski
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Petr Baudis @ 2006-09-24 21:21 UTC (permalink / raw)
  To: git

  Hi,

  if someone is currently bored, it would be very nice to have a
conversion script for converting remotes/ to [remote] .config sections
(unless I missed it and someone already did such a great thing).

  I think about supporting just the [remote] sections in Cogito since
they are much easier to handle than the remotes/ file format, but in
order to maintain reasonable degree of compatibility with current
repositories (even freshly cloned since git-clone still generates those
horrible things ;-) ) such a script would be a must... and since this is
not interesting strictly for Cogito only, I hoped that perhaps some core
Git people would be interested to help here.

  PS: It would be nice if Git, when writing remote records during clone,
would note "this is supposed to just cover all the remote branches".
While Git does not support it now, in cg-fetch I would like to support
automatically picking up new branches in case you cloned all the
branches initially, but I need to distinguish the case when you are
interested in just a fixed set of those. BTW, I want to also remove gone
branches, but in line with the Git paranoia I'll just move the refs to
refs/remotes/*/.attic/ and let the user shoot at will.

  Thanks,

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2006-09-24 23:51 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-24 21:21 [CFH] Remotes conversion script Petr Baudis
2006-09-24 21:39 ` Jakub Narebski
2006-09-24 21:49   ` Johannes Schindelin
2006-09-24 22:57     ` Jakub Narebski
2006-09-24 23:06     ` Jakub Narebski
2006-09-24 23:18       ` Santi
2006-09-24 21:46 ` Johannes Schindelin
     [not found] ` <8aa486160609241457u40fffdd8h298e44351749bb29@mail.gmail.com>
2006-09-24 22:16   ` Petr Baudis
2006-09-24 22:34     ` Santi
2006-09-24 22:40       ` Petr Baudis
2006-09-24 23:04         ` Jakub Narebski
2006-09-24 23:11           ` Petr Baudis
2006-09-24 23:40             ` Jakub Narebski
2006-09-24 23:50               ` Petr Baudis

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).