Re: [PATCH 0/4] Pulling refs files
- From
Daniel Barkalow <barkalow@iabervon.org>
- Date
- May 15, 2005, 03:23 UTC
- Message-ID
- <Pine.LNX.4.21.0505142306021.30848-100000@iabervon.org>
- In-Reply-To
- <20050513233738.GL32232@pasky.ji.cz>
On Sat, 14 May 2005, Petr Baudis wrote:
Show 6 quoted lines
> So what about just something like > > git-wormhole-pull remote:refs/head/master wormhole://localhost/ > > That is, you could just specify remote:path_relative_to_url instead of > SHA1 id as the commit.
Do you have any sensible alternatives to "remote:refs/<something>" in mind? I suppose that "remote:HEAD" would also work. How are you thinking of having the value get written locally?
Do you also have some idea for user-invoked rpush? It has to call something that writes the value on the other side (and I'd ideally like it to do the update atomically and locked against other clients). This series uses the same mechanism to write it that it uses to write hashes fetched from remote machines.
-Daniel *This .sig left intentionally blank*