Re: [PATCH] t3700 (add): add failing test for add with submodules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 8, 2013 at 8:26 PM, Ramkumar Ramachandra <artagnon@xxxxxxxxx> wrote:
> +test_expect_failure 'git add should not go past submodule boundaries' '
> +       mkdir submodule_dir &&
> +       (
> +               cd submodule_dir &&
> +               git init &&
> +               cat >foo <<-\EOF &&
> +               Some content
> +               EOF
> +               git add foo &&
> +               git commit -a -m "Add foo"
> +       ) &&
> +       git add submodule_dir/foo

Thanks. I yhink the last line above should be "test_must_fail git add
...". I'm half way of fixing it (I think treat_leading_directory is a
bit loose). Will continue tomorrow (or this weekend, depending on
$DAYJOB)
--
Duy
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]