Thread (11 messages) flat view 11 messages, 2 authors, 2016-06-15

Re: [PATCH v2 4/4] buitin-status: Add tests for submodule summary

From: Johannes Sixt <hidden>
Date: 2016-06-15 22:44:22

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help