Re: 'git commit --short' without touching index?
Thanks. Your suggestion seems to work. Much appreciated.
Daniel
On 2010.07.03 9:17 AM, Jeff King wrote:
Show 13 quoted lines
> However, both "status" and "commit --dry-run" will opportunistically
> refresh the index. If you don't want to touch the index at all, you can
> use a combination of:
>
> # show changes between HEAD and index
> git diff-index HEAD
>
> # show changes between index and working tree
> git diff-files
>
> # show untracked files
> git ls-files --exclude-standard -o
>