Re: [PATCH] push: Learn to set up branch tracking with '--track'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 30, 2009 at 06:05:30PM +0100, Johannes Schindelin wrote:

> > I think the right thing to do is:
> > 
> >   1. factor out "generic" routines from send-pack, including status
> >      output formatting and tracking ref updating
> > 
> >   2. refactor http-push to use those routines, bringing it in line with
> >      send-pack
> > 
> >   3. add --track support in the same generic way, and hook it from both
> >      transports
> 
> Now we're thinking along the same lines!

OK, good.

> > I can try to work on this, but I'm not excited about major surgery to 
> > http-push, which I don't have a working test setup for.
> 
> You don't have an apache installed?

No, though "apt-get install apache" is easy enough. I was more concerned
about wading through the mess of apache configuration to turn on webdave
support. But that is just my empty grumbling and complaining; it's not a
real stumbling block to doing this patch.

And when I wrote that, I was fully intending to pick up this topic and
work on the steps outlined above.

_But_.

It looks like the consensus is to add a branch.master config section
even when cloning an empty repo. And that should address my concern in
the 99% of cases where people use the default "master" setup. Which kind
of takes away the main use case for this topic.

So it doesn't make much sense to me to put effort into it now.  The
http-push cleanups might be nice for http-push users, but I don't
remember even seeing a single user request or complaint about it. So I
am not too keen to go cleaning up code that _I_ don't care about, and
that I am not sure anyone _else_ even cares about.

-Peff
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux