git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-svn: Finding the svn-URL of the current branch in git

From
Karl Hasselström <kha@treskal.com>
Date
Aug 18, 2007, 21:18 UTC
Message-ID
<20070818211825.GA18252@diana.vm.bytemark.co.uk>
In-Reply-To
<7vmywpcg63.fsf@gitster.siamese.dyndns.org>
On 2007-08-18 03:04:20 -0700, Junio C Hamano wrote:
Show 8 quoted lines
> David Kastrup <dak@gnu.org> writes:
>
> > git-svn makes it possible for me to keep the mess that is git to
> > myself, and only expose others to the _results_ of my work with
> > it.
>
> Very well put. It is not just svn but I privately use git on top of
> cvs managed project for exactly this reason.

I use git (and git-svn, and StGIT) on top of our Subversion repository at work for this reason too: git lets me rewrite recent history until it's pretty, while svn considers history totally immutable (barring a dump+filter+reload of the whole (central) repository).

However, I object to the insinuation (in David's post, if not yours) that "history in git is a mess" because it's mutable. git lets you set the policy for each of your branches: either allow history editing (to be able to fix embarrassing mistakes), or don't (to let people rely on history to not change under their feet). This is strictly better than Subversion, which forces you to adopt the latter policy.

-- 
Karl Hasselström, kha@treskal.com
      www.treskal.com/kalle
Previous: Junio C Hamano
Message 15 of 15 in “git-svn: Finding the svn-URL of the current branch in git”
  1. Matthias KleineAug 7, 2007
  2. Peter BaumannAug 7, 2007
  3. Matthias KleineAug 8, 2007
  4. Junio C HamanoAug 8, 2007
  5. Matthias KleineAug 8, 2007
  6. Peter BaumannAug 8, 2007
  7. Peter BaumannAug 8, 2007
  8. Eric WongAug 16, 2007
  9. Peter BaumannAug 16, 2007
  10. Eric WongAug 17, 2007
  11. Junio C HamanoAug 17, 2007
  12. Eric WongAug 18, 2007
  13. David KastrupAug 18, 2007
  14. Junio C HamanoAug 18, 2007
  15. Karl HasselströmAug 18, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.