Re: [PATCH] stash: handle specifying stashes with spaces

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

 



On Fri, Nov 29, 2013 at 2:22 PM, Øystein Walle <oystwa@xxxxxxxxx> wrote:
> diff --git a/t/t3903-stash.sh b/t/t3903-stash.sh
> index debda7a..0568ec5 100755
> --- a/t/t3903-stash.sh
> +++ b/t/t3903-stash.sh
> @@ -673,4 +673,15 @@ test_expect_success 'store updates stash ref and reflog' '
>         grep quux bazzy
>  '
>
> +test_expect_success 'handle stash specification with spaces' '
> +       git stash clear

Do you want && at the end of this line?

> +       echo pig > file &&
> +       git stash &&
> +       test_tick &&
> +       echo cow > file &&
> +       git stash &&
> +       git stash apply "stash@{Thu Apr 7 15:17:13 2005 -0700}" &&
> +       grep pig file
> +'
> +
>  test_done
> --
> 1.8.5.1.g359345f
--
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]