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

Re: how to track changes of a file

From
BLbill lam <cbill.lam@gmail.com>
Date
Jun 16, 2008, 15:49 UTC
Message-ID
<48568B76.5050108@gmail.com>
In-Reply-To
<485646F9.1030300@viscovery.net>
Johannes Sixt wrote:
> $ git rev-list -3 -- glinvc03.ijs
> 
> 
> $ git show {23335c,31e4f2,b515f0}:glinvc03.ijs

Thank for you help, but these 2 command did not work, did I missing something? I I use git version 1.5.4.3 on linux.

$ git rev-list -3 -- glinvc03.ijs
usage: git-rev-list [OPTION] <commit-id>... [ -- paths... ]
   limiting output:
     --max-count=nr
     --max-age=epoch
     --min-age=epoch
     --sparse
     --no-merges
     --remove-empty
     --all
     --stdin
     --quiet
   ordering output:
     --topo-order
...

$ git show {23335c,31e4f2,b515f0}:glinvc03.ijs fatal: ambiguous argument '23335c:glinvc03.ijs': unknown revision or path not in the working tree. Use '--' to separate paths from revisions

Previous: Johannes SixtNext: Johannes Sixt
Message 3 of 4 in “how to track changes of a file”
  1. bill lamJun 16, 2008
  2. Johannes SixtJun 16, 2008
  3. bill lamJun 16, 2008
  4. Johannes SixtJun 16, 2008

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.