git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-diff-tree -z HEAD | git-diff-helper -z fails for me
@ 2005-05-23  9:02 Thomas Glanzmann
  2005-05-23 16:38 ` Junio C Hamano
  0 siblings, 1 reply; 10+ messages in thread
From: Thomas Glanzmann @ 2005-05-23  9:02 UTC (permalink / raw)
  To: GIT

Hello,
this fails:

	(faui00u) [~/work/git/yagf] git-diff-tree -z HEAD | git-diff-helper -z
	03c70739ae572ea9832b97dfcf9ca2594702efe8 (from 30e756ea8569bb429b7073b304acd8a960f77e4b)
	:100755 100755 f2e04c3b45b2a5ab5cf53228025158902c9de5be b93fd0310e51eea4d48d42c6ad83399cff8ab56egitgit(faui00u) [~/work/git/yagf]

But:

	(faui00u) [~/work/git/yagf] git-diff-tree -z HEAD 30e756ea8569bb429b7073b304acd8a960f77e4b | git-diff-helper -z
	diff --git a/git b/git
	--- a/git
	+++ b/git
	@@ -540,11 +540,11 @@ changes

		if (defined ($options{'L'})) {
			pull('-o', shift);
	-               system("git-rev-tree HEAD '^REMOTE_HEAD' | sed -e 's/^[0-9]* //' | git-diff-tree --stdin -v $git_diff_tree_options");
	+               system("git-rev-tree HEAD ^REMOTE_HEAD | sed -e 's/^[0-9]* //' | git-diff-tree --stdin -v $git_diff_tree_options");

		} elsif (defined ($options{'R'})) {
			pull('-o', shift);
	-               system("git-rev-tree REMOTE_HEAD '^HEAD' | sed -e 's/^[0-9]* //' | git-diff-tree --stdin -v $git_diff_tree_options");
	+               system("git-rev-tree REMOTE_HEAD ^HEAD | sed -e 's/^[0-9]* //' | git-diff-tree --stdin -v $git_diff_tree_options");

		} else {
			system("git-rev-list HEAD | git-diff-tree --stdin -v $git_diff_tree_options");

works? What I am doing wrong here?

	Thomas

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

end of thread, other threads:[~2005-05-24  8:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-23  9:02 git-diff-tree -z HEAD | git-diff-helper -z fails for me Thomas Glanzmann
2005-05-23 16:38 ` Junio C Hamano
2005-05-23 18:21   ` Linus Torvalds
2005-05-23 18:44     ` Junio C Hamano
2005-05-23 19:07       ` Junio C Hamano
2005-05-23 23:47       ` Linus Torvalds
2005-05-24  0:15         ` Junio C Hamano
2005-05-24  1:14           ` [PATCH] Fix diff-pruning logic which was running prune too early Junio C Hamano
2005-05-24  5:24           ` interim report on a big screwup with diff -M and -C Junio C Hamano
2005-05-24  8:10             ` [PATCH] Redo rename/copy detection logic Junio C Hamano

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 NNTP newsgroup(s).