git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-svn eliminating master
@ 2007-09-28 20:01 Russ Brown
  2007-09-28 21:43 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Russ Brown @ 2007-09-28 20:01 UTC (permalink / raw)
  To: git

So I've been using git-svn for a while, and just decided to try
publishing my repo via gitweb so I can experiment with showing others my
local branches before I dcommit them to the subversion repository (i.e.
allowing code review prior to commit).

It's working pretty nicely: the only problem I have is the master
branch. I don't use master at all, and I'm willing to be that a lot of
other git-svn users don't either. I take all of my branches from either
trunk or one of the other upstream svn server branches.

The problem is gitweb appears to show the master branch by default,
while I'd rather show trunk by default. Is it legal to just delete the
master branch, or failing that have it automatically follow trunk so I
don't have to rebase it every time I want to push? Personally I'd rather
delete it because it's not used at all in my case and will only lead to
confuse the other developers who decide to look at my repo.

I've tried deleting master in a test repo, and it seems to be fine. But
I don't know if there are any hidden surprised that might come back to
bite me later.

Thanks.

-- 

Russ

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

* Re: git-svn eliminating master
  2007-09-28 20:01 git-svn eliminating master Russ Brown
@ 2007-09-28 21:43 ` Junio C Hamano
  2007-09-28 22:34   ` Russ Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Junio C Hamano @ 2007-09-28 21:43 UTC (permalink / raw)
  To: Russ Brown; +Cc: git

Russ Brown <pickscrape@gmail.com> writes:

> So I've been using git-svn for a while, and just decided to try
> publishing my repo via gitweb so I can experiment with showing others my
> local branches before I dcommit them to the subversion repository (i.e.
> allowing code review prior to commit).
>
> It's working pretty nicely: the only problem I have is the master
> branch. I don't use master at all, and I'm willing to be that a lot of
> other git-svn users don't either. I take all of my branches from either
> trunk or one of the other upstream svn server branches.
>
> The problem is gitweb appears to show the master branch by default,
> while I'd rather show trunk by default.

I think gitweb shows wherever HEAD points at.  Update the file
on the server and see if it helps.

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

* Re: git-svn eliminating master
  2007-09-28 21:43 ` Junio C Hamano
@ 2007-09-28 22:34   ` Russ Brown
  0 siblings, 0 replies; 3+ messages in thread
From: Russ Brown @ 2007-09-28 22:34 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

Junio C Hamano wrote:
> Russ Brown <pickscrape@gmail.com> writes:
> 
>> So I've been using git-svn for a while, and just decided to try
>> publishing my repo via gitweb so I can experiment with showing others my
>> local branches before I dcommit them to the subversion repository (i.e.
>> allowing code review prior to commit).
>>
>> It's working pretty nicely: the only problem I have is the master
>> branch. I don't use master at all, and I'm willing to be that a lot of
>> other git-svn users don't either. I take all of my branches from either
>> trunk or one of the other upstream svn server branches.
>>
>> The problem is gitweb appears to show the master branch by default,
>> while I'd rather show trunk by default.
> 
> I think gitweb shows wherever HEAD points at.  Update the file
> on the server and see if it helps.

Nice tip. I've updated that now. I'll know if it's worked once trunk
gets committed to again: I've rebased master against it so both
currently point at the same commit.

-- 

Russ

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

end of thread, other threads:[~2007-09-28 22:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-28 20:01 git-svn eliminating master Russ Brown
2007-09-28 21:43 ` Junio C Hamano
2007-09-28 22:34   ` Russ Brown

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