From: Thomas Glanzmann Date: Mon, 23 May 2005 09:02:06 GMT Subject: git-diff-tree -z HEAD | git-diff-helper -z fails for me Message-ID: <20050523090206.GJ23388@cip.informatik.uni-erlangen.de> 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