Re: What's cooking in git.git (topics)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Petr Baudis
Date: Monday, June 30, 2008 - 3:53 pm

On Mon, Jun 30, 2008 at 03:15:52PM -0700, Junio C Hamano wrote:

Cogito is getting somewhat broken by removing of the git- plumbing from
$PATH anyway (you have to hack around it; and I'm not saying it's bad
thing).

But it is actually quite resilient against this kind of stuff (as it was
constructed to be able to run on very rudimental repositories dating
early to the dawn of time). All versions supporting .git/branches [*] will
autocreate the .git/branches directory if missing.

[*] .git/branches was actually called .git/remotes even earlier; yay,
how rich our history is. ;-)


Now, I think it would be nice to keep backward compatibility here. I'm
still _regularly_ running into people who still use Cogito (and it's not
because they know me :-)) and are only now doing the switch, or only
planning to yet.

(On the other hand, using Git on repositories created by old Git
versions or Cogito can be quite a confusing experience for non-expert
users - things related to remote repositories behave differently to what
the documentation describes, obviously.  Maybe it _would_ be reasonable
option to do something radical when hitting old repository, like
"(Re-)clone me for non-confusing user experience, pretty please, or
git-config force_old_repo 1 if you know what are you doing.")

-- 
				Petr "Pasky" Baudis
The last good thing written in C++ was the Pachelbel Canon. -- J. Olson
--
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: What's cooking in git.git (topics), Junio C Hamano, (Mon Jun 30, 3:15 pm)
Re: What's cooking in git.git (topics), Andrew Morton, (Mon Jun 30, 3:51 pm)
Re: What's cooking in git.git (topics), Petr Baudis, (Mon Jun 30, 3:53 pm)
Re: What's cooking in git.git (topics), Johannes Schindelin, (Mon Jun 30, 4:09 pm)
Re: What's cooking in git.git (topics), Stephen Rothwell, (Mon Jun 30, 5:57 pm)
Re: What's cooking in git.git (topics), Kristian , (Tue Jul 1, 8:44 am)