Sha256: be9ba900307a777437ec112a3910db54936380a22b8d203121dd35db30106868

Contents?: true

Size: 590 Bytes

Versions: 268

Compression:

Stored size: 590 Bytes

Contents

#!/usr/bin/env bash

set -e

source test/setup

use Test::More

clone-foo-and-bar

subrepo-clone-bar-into-foo

(
  cd $OWNER/bar
  add-new-files Bar2
  git tag -a CoolTag -m "Should stay in subrepo"
  git push
) &> /dev/null || die


# Fetch information
{
  is "$(
    cd $OWNER/foo
    git subrepo fetch bar
  )" \
    "Fetched 'bar' from '../../../tmp/upstream/bar' (master)." \
    'subrepo fetch command output is correct'
}

# Check that there is no tags fetched
{
  is "$(
    cd $OWNER/foo
    git tag -l 'CoolTag'
  )" \
    "" \
    'No tag is available'
}

done_testing

teardown

Version data entries

268 entries across 268 versions & 4 rubygems

Version Path
eac_tools-0.40.0 sub/eac_git/vendor/git-subrepo/test/fetch.t
eac_tools-0.39.0 sub/eac_git/vendor/git-subrepo/test/fetch.t
eac_tools-0.38.0 sub/eac_git/vendor/git-subrepo/test/fetch.t
eac_tools-0.37.2 sub/eac_git/vendor/git-subrepo/test/fetch.t
eac_git-0.13.0 vendor/git-subrepo/test/fetch.t
eac_tools-0.37.1 sub/eac_git/vendor/git-subrepo/test/fetch.t
eac_tools-0.37.0 sub/eac_git/vendor/git-subrepo/test/fetch.t
eac_tools-0.36.1 sub/eac_git/vendor/git-subrepo/test/fetch.t
eac_tools-0.36.0 sub/eac_git/vendor/git-subrepo/test/fetch.t
eac_tools-0.35.0 sub/eac_git/vendor/git-subrepo/test/fetch.t
eac_tools-0.34.0 sub/eac_git/vendor/git-subrepo/test/fetch.t
eac_git-0.12.3 vendor/git-subrepo/test/fetch.t
eac_tools-0.33.0 sub/eac_git/vendor/git-subrepo/test/fetch.t
eac_tools-0.32.0 sub/eac_git/vendor/git-subrepo/test/fetch.t
eac_tools-0.31.1 sub/eac_git/vendor/git-subrepo/test/fetch.t
eac_git-0.12.2 vendor/git-subrepo/test/fetch.t
avm-tools-0.129.0 sub/eac_git/vendor/git-subrepo/test/fetch.t
eac_tools-0.16.0 sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/fetch.t
avm-tools-0.128.0 sub/eac_git/vendor/git-subrepo/test/fetch.t
eac_tools-0.15.0 sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/fetch.t