t / t5704-bundle.shon commit Introduce remove_or_warn function (80d706a)
   1#!/bin/sh
   2
   3test_description='some bundle related tests'
   4. ./test-lib.sh
   5
   6test_expect_success 'setup' '
   7
   8        : > file &&
   9        git add file &&
  10        test_tick &&
  11        git commit -m initial &&
  12        test_tick &&
  13        git tag -m tag tag &&
  14        : > file2 &&
  15        git add file2 &&
  16        : > file3 &&
  17        test_tick &&
  18        git commit -m second &&
  19        git add file3 &&
  20        test_tick &&
  21        git commit -m third
  22
  23'
  24
  25test_expect_success 'tags can be excluded by rev-list options' '
  26
  27        git bundle create bundle --all --since=7.Apr.2005.15:16:00.-0700 &&
  28        git ls-remote bundle > output &&
  29        ! grep tag output
  30
  31'
  32
  33test_done