summaryrefslogtreecommitdiff
path: root/sha1_name.c
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2007-03-09 16:30:15 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-03-12 06:55:46 (GMT)
commit34572ed2c809c2e0b00dc660bdb2dd201c5ff85f (patch)
tree4b1c5cd7eda6242cdb1359c0b05a6ee27f3e00f6 /sha1_name.c
parent4a62d3f5b237fb9fab7df778ecf62906ff892065 (diff)
downloadgit-34572ed2c809c2e0b00dc660bdb2dd201c5ff85f.zip
git-34572ed2c809c2e0b00dc660bdb2dd201c5ff85f.tar.gz
git-34572ed2c809c2e0b00dc660bdb2dd201c5ff85f.tar.bz2
git-bundle: only die if pack would be empty, warn if ref is skipped
A use case for git-bundle expected to be quite common is this: $ git bundle create daily.bundle --since=10.days.ago --all The expected outcome is _not_ to error out if only a couple of the refs were not changed during the last 10 days. This patch complains loudly about refs which are skipped due to the pack not containing the corresponding objects, but dies only if no objects would be in the pack _at all_. Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'sha1_name.c')
0 files changed, 0 insertions, 0 deletions