git-bundle: die if a given ref is not included in bundle
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Fri, 9 Mar 2007 02:48:46 +0000 (03:48 +0100)
committerJunio C Hamano <junkio@cox.net>
Fri, 9 Mar 2007 06:58:03 +0000 (22:58 -0800)
commitd58c6184e345b9c8c8bfe8cc3eb1bbfe2f5ee4f9
treec79862f6bbed9f6698289fd81f692bd760f69ad7
parent263703fff38d252907d1c7ae9977038715e2e22f
git-bundle: die if a given ref is not included in bundle

The earlier patch tried to be nice by just warning, but it seems
more likely that the user wants to adjust the parameters.

Also, it prevents a bundle containing _all_ revisions in the case
when the user only gave one ref, but also rev-list options which
excluded the ref.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-bundle.c