Re: Pushing and fetching sha1s directly

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: Pushing and fetching sha1s directly

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:44:01

Finn Arne Gangstad [off-list ref] writes:
Currently there seems to be no way of pusing a sha1 directly, or to
fetch a sha1 directly. When working with submodules, it is convenient
to be able to work with detached HEADs, so it would be good if this
could be supported also by fetch and push.
At least push of an arbitrary commit is already supported, I
think.

For fetch, I would normally say "check the list archives", but
it was very long time ago that it was proposed and discussed.
It has some security and performance implications.

Re: Pushing and fetching sha1s directly

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:44:01

Hi,

On Sat, 22 Dec 2007, Junio C Hamano wrote:
Finn Arne Gangstad [off-list ref] writes:
quoted
Currently there seems to be no way of pusing a sha1 directly, or to 
fetch a sha1 directly. When working with submodules, it is convenient 
to be able to work with detached HEADs, so it would be good if this 
could be supported also by fetch and push.
For fetch, I would normally say "check the list archives", but it was 
very long time ago that it was proposed and discussed. It has some 
security and performance implications.
To enhance on that: sometimes you need to delete a branch in a hurry, 
because you publicised some secret code/file.  In that case, you do _not_ 
want people being able to fetch arbitrary commits.

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help