Download raw body.
got {diff,log,update} -c KEYWORD (cf. svn revision keywords)
Mark Jamsek:
> +test_diff_commit_keywords() {
> + local testroot=`test_init diff_commit_keywords`
> +
> + got checkout $testroot/repo $testroot/wt > /dev/null
> + ret=$?
> + if [ $ret -ne 0 ]; then
> + echo "checkout failed unexpectedly" >&2
> + test_done "$testroot" "$ret"
> + return 1
> + fi
> +
> + set -A ids "$(git_show_head $testroot/repo)"
> + set -A alpha_ids "$(get_blob_id $testroot/repo "" alpha)"
> + set -A beta_ids "$(get_blob_id $testroot/repo "" beta)"
"set -A" is a Korn shell construct and not portable to Bourne/POSIX-style
shells. There is no equivalent either.
--
Christian "naddy" Weisgerber naddy@mips.inka.de
got {diff,log,update} -c KEYWORD (cf. svn revision keywords)