From: Anders Melchiorsen Date: Thu, 13 Nov 2008 23:11:13 GMT Subject: Re: [BUG] git ls-files -m --with-tree does double output Message-ID: <57320.N1gUGH5fRhE=.1226617873.squirrel@webmail.hotelhot.dk> In-Reply-To: <7vod0jfe51.fsf@gitster.siamese.dyndns.org> Junio C Hamano wrote: > What's the use case of using -m together with --with-tree to begin with? The script runs git ls-files -d -m -o -t --with-tree=HEAD to get a parseable "git status"-like output. If I leave out --with-tree=HEAD, I do not get information about staged changes. I could use "git diff --name-status HEAD", but then there was a problem about untracked files, I think. Thanks, Anders.