git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* t4055 failure: see error
@ 2012-10-02 12:18 Brian Charles Gernhardt
  2012-10-02 18:45 ` Junio C Hamano
  2012-10-02 19:00 ` Junio C Hamano
  0 siblings, 2 replies; 7+ messages in thread
From: Brian Charles Gernhardt @ 2012-10-02 12:18 UTC (permalink / raw)
  To: Git List

Another problem caused by BSD v GNU sed, I think.

$ ./t4055-diff-context.sh -i -v
Initialized empty Git repository in /Users/brian/dev/git/t/trash directory.t4055-diff-context/.git/
expecting success: 
	cat >x <<-\EOF &&
	firstline
	b
	c
	d
	e
	f
	preline
	postline
	i
	j
	k
	l
	m
	n
	EOF
	git update-index --add x &&
	git commit -m initial &&

	git cat-file blob HEAD:x |
	sed "/preline/a\
	ADDED" >x &&
	git update-index --add x &&
	git commit -m next &&

	git cat-file blob HEAD:x |
	sed s/ADDED/MODIFIED/ >x

[master (root-commit) d5fa2e5] initial
 Author: A U Thor <author@example.com>
 1 file changed, 14 insertions(+)
 create mode 100644 x
sed: 1: "/preline/a	ADDED": command a expects \ followed by text

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-10-07 22:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-02 12:18 t4055 failure: see error Brian Charles Gernhardt
2012-10-02 18:45 ` Junio C Hamano
2012-10-02 18:52   ` Junio C Hamano
2012-10-02 19:00 ` Junio C Hamano
2012-10-02 19:09   ` Junio C Hamano
2012-10-07 15:43     ` Brian Charles Gernhardt
2012-10-07 22:37       ` Junio C Hamano

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).