From: friedan@muon.rutgers.edu Date: Sat, 03 Jul 2010 10:08:32 GMT Subject: Re: 'git commit --short' without touching index? Message-ID: <4C2F0C20.1020004@muon.rutgers.edu> In-Reply-To: <20100703091748.GA11714@sigill.intra.peff.net> Thanks. Your suggestion seems to work. Much appreciated. Daniel On 2010.07.03 9:17 AM, Jeff King wrote: > 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 >