Re: svn versus git
From: Nguyen Thai Ngoc Duy <hidden>
Date: 2016-08-11 19:56:26
Hi, On 12/14/06, Johannes Schindelin [off-list ref] wrote:
quoted
quoted
- have you seen the patch for git-show today, which would include this functionality?I didn't. From the patch, it seems git-show can show the index via ::file syntax. If so, I'd like withdraw my opinion. '::file' syntax is not intuitive though. Perhaps you should mention that it can show index (and how) in the git-show documentWell, you can reference blobs that way, but not trees.
Oh, yeah. Isn't this a good oppotunity to add --index option to git-show? git-show --index will show the index. git-show --index file will show the file content. This makes git-show a little unconsistent though as it may or may not require argument <object>. Another option is treat '::' alone specially -- call git-ls-files. --