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

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

 



Hi,

On Fri, 30 Jan 2009, Jeff King 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!

> 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?

> I can't bring myself to care about refactoring rsync, given the recent 
> deprecation discussion.

Don't do it, then.

> If it is going to be added to push or transport, then the transport API 
> needs refactoring to actually pass out information on what happened 
> (specifically, how we expanded the refspecs into matching ref pairs). 
> And maybe that is a more sensible long-term solution, but it is going 
> involve a lot of changes, too.

I think that the --track should just be passed to the transport API, which 
should call the necessary git_config thing itself upon successful push.

Ciao,
Dscho

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