git/list[1] front-page[2] threads[3] people[4] search[5] about
 

error when git-diff get pipe args

From
CQchunguang qu <quchunguang@gmail.com>
Date
Nov 5, 2013, 00:03 UTC
Message-ID
<CABk77Dj6RUaY9bBShiUJkZp0SdURCNR0SbpS3HFXdmeEAOMYow@mail.gmail.com>

$ cat a 111 fdsf 333 $ cat b 111 222 333 $ git diff a b # OK

diff --git a/a b/b
index 768560b..641d574 100644
--- a/a
+++ b/b
@@ -1,3 +1,3 @@
 111
-fdsf
+222
 333
$ git diff <(cat a) <(cat b)          # ERROR: no result print out
diff --git a/dev/fd/63 b/dev/fd/62
index 311e262..554e9f4 120000
--- a/dev/fd/63
+++ b/dev/fd/62
@@ -1 +1 @@
-pipe:[729963]
\ No newline at end of file
+pipe:[729965]
\ No newline at end of file

# compare with diff
$ diff -u a b                            # OK
--- a 2013-11-05 00:18:17.394805923 +0800
+++ b 2013-11-05 00:18:25.546805865 +0800
@@ -1,3 +1,3 @@
 111
-fdsf
+222
 333
$ diff -u <(cat a) <(cat b)         # OK: get result in same case
--- /dev/fd/63 2013-11-05 01:02:59.706787117 +0800
+++ /dev/fd/62 2013-11-05 01:02:59.706787117 +0800
@@ -1,3 +1,3 @@
 111
-fdsf
+222
 333
Next: brian m. carlson
Message 1 of 2 in “error when git-diff get pipe args”
  1. chunguang quNov 5, 2013
  2. brian m. carlsonNov 5, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.