From: Junio C Hamano <gitster@pobox.com>
To: "Nguyen Thai Ngoc Duy" <pclouds@gmail.com>
Cc: "Git Mailing List" <git@vger.kernel.org>,
"Johannes Sixt" <johannes.sixt@telecom.at>
Subject: Re: bug in t3700-add.sh?
Date: Fri, 03 Aug 2007 14:26:09 -0700 [thread overview]
Message-ID: <7vabt8mhse.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <fcaeb9bf0708031351g5e585a4bj849fbf2ec3720a18@mail.gmail.com> (Nguyen Thai Ngoc Duy's message of "Fri, 3 Aug 2007 16:51:37 -0400")
"Nguyen Thai Ngoc Duy" <pclouds@gmail.com> writes:
> Running test 17, I got this output:
Gaah. Those $s seem completely bogus.
diff --git a/t/t3700-add.sh b/t/t3700-add.sh
index b52fde8..a27c593 100755
--- a/t/t3700-add.sh
+++ b/t/t3700-add.sh
@@ -131,8 +131,8 @@ test_expect_success 'git add with filemode=0, symlinks=0 prefers stage 2 over st
(
echo "100644 $(git hash-object -w stage1) 1 file"
echo "100755 $(git hash-object -w stage2) 2 file"
- echo "100644 $(printf $s | git hash-object -w -t blob --stdin) 1 symlink"
- echo "120000 $(printf $s | git hash-object -w -t blob --stdin) 2 symlink"
+ echo "100644 $(echo 1 | git hash-object -w -t blob --stdin) 1 symlink"
+ echo "120000 $(echo 2 | git hash-object -w -t blob --stdin) 2 symlink"
) | git update-index --index-info &&
git config core.filemode 0 &&
git config core.symlinks 0 &&
next prev parent reply other threads:[~2007-08-03 21:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-03 20:51 bug in t3700-add.sh? Nguyen Thai Ngoc Duy
2007-08-03 21:26 ` Junio C Hamano [this message]
2007-08-03 21:29 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7vabt8mhse.fsf@assigned-by-dhcp.cox.net \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=johannes.sixt@telecom.at \
--cc=pclouds@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox