# Re: git repository for net drivers available

3 messages from 2005-05-15 to 2005-05-15. Participants: Petr Baudis, Jeff Garzik, Junio C Hamano.
Thread: https://gitlist.dev/t/632

## Petr Baudis, 2005-05-15 20:05

Subject: Re: git repository for net drivers available
Message-ID: <20050515200514.GA31414@pasky.ji.cz>
URL: https://gitlist.dev/e/20050515200514.GA31414%40pasky.ji.cz
In-Reply-To: <4284C7DA.1020707@pobox.com>

```
Dear diary, on Fri, May 13, 2005 at 05:29:30PM CEST, I got a letter
where Jeff Garzik <jgarzik@pobox.com> told me that...
> Looks like cogito is using $repo/heads/$branch, whereas my git repo is 
> using $repo/branches/$branch.

Would it be a big problem to use refs/heads/$branch? That's the
currently commonly agreed convention about location for storing branch
heads, not just some weird Cogito-specific invention. And it'd be very
nice to have those locations consistent across git repositories.

Thanks,

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor

```

## Jeff Garzik, 2005-05-15 20:20

Subject: Re: git repository for net drivers available
Message-ID: <4287AF22.8090300@pobox.com>
URL: https://gitlist.dev/e/4287AF22.8090300%40pobox.com
In-Reply-To: <20050515200514.GA31414@pasky.ji.cz>

```
Petr Baudis wrote:
> Dear diary, on Fri, May 13, 2005 at 05:29:30PM CEST, I got a letter
> where Jeff Garzik <jgarzik@pobox.com> told me that...
> 
>>Looks like cogito is using $repo/heads/$branch, whereas my git repo is 
>>using $repo/branches/$branch.
> 
> 
> Would it be a big problem to use refs/heads/$branch? That's the
> currently commonly agreed convention about location for storing branch
> heads, not just some weird Cogito-specific invention. And it'd be very
> nice to have those locations consistent across git repositories.

Sure, that's doable.

I've pushed out this change to kernel.org.

	Jeff




```

## Junio C Hamano, 2005-05-15 21:46

Subject: Re: git repository for net drivers available
Message-ID: <7vacmwqi1o.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7vacmwqi1o.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <20050515200514.GA31414@pasky.ji.cz>

```
>>>>> "PB" == Petr Baudis <pasky@ucw.cz> writes:

PB> Dear diary, on Fri, May 13, 2005 at 05:29:30PM CEST, I got a letter
PB> where Jeff Garzik <jgarzik@pobox.com> told me that...
>> Looks like cogito is using $repo/heads/$branch, whereas my git repo is 
>> using $repo/branches/$branch.

PB> Would it be a big problem to use refs/heads/$branch? That's the
PB> currently commonly agreed convention about location for storing branch
PB> heads, not just some weird Cogito-specific invention. And it'd be very
PB> nice to have those locations consistent across git repositories.

Since Jeff brought up $repo/branches/$branch, you may also want
to add that $repo/branches/$branch is used to record the URL of
the remote $branch (the information used to be in a flat file
$repo/remotes, branch name and URL separated by shell $IFS, one
record on each line), and is quite different from those 40-byte
SHA1 plus LF files you see in $repo/refs/*/ directory.

I think it is a reasonable one, I also follow the
$repo/branches/$branch convention Cogito uses, and I would
encorage other Porcelain implementations to follow suit.


```
