Re: [PATCH v2 4/4] buitin-status: Add tests for submodule summary
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Mar 13, 2008, 14:21 UTC
- Message-ID
- <47D93875.1050407@viscovery.net>
- In-Reply-To
- <1205416085-23431-5-git-send-email-pkufranky@gmail.com>
Ping Yin schrieb:
> +cd sm && > +head=$(git rev-parse --verify HEAD | cut -c1-7) && > +cd ..
I think you can make these three lines into:
test_expect_success 'get short SHA1 of submodule HEAD' '
head=$(cd sm && git rev-parse --verify HEAD | cut -c1-7) '
(not tested, though).
> +test_expect_success "status submodule summary (--amend)" '
Thanks for adding this one.
-- Hannes