Thread (7 messages) flat view 7 messages, 3 authors, 2016-06-15

Re: [PATCH 2/3] git-bundle: die if a given ref is not included in bundle

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:42:59

Hi,

On Sat, 10 Mar 2007, Mark Levedahl wrote:
Johannes Schindelin wrote:
quoted
IMHO saying "master ^master" should blow into the user's face. If she 
says "I want it" _and_ "I don't want it", she should sorta expect it 
not to work.
[...]

As long as the lists are syntactically acceptable (all exist), we should 
just create the bundle with the given refs and prerequisites.
So, what do you do if some of your users do, and some others do not, have 
the "blue-sky" branch? If you say "git bundle create new.bundle --all 
-10", your bundle will list "blue-sky" as a prerequisite.

Boom.

Some of your users -- those without "blue-sky" -- will _not_ be able 
to fetch _anything_ from the bundle. They are lacking the prerequisites.

The semantics of git-bundle used to be so clear and sensible, since they 
exactly reflected what git-pack-objects would do.

Now they are no longer?

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