On Wed, Sep 02, 2009 at 06:12:36PM -0700, David Aguilar wrote: > The only use case would be for --amend. > Which is why I asked about --porcelain; really what I want is > something like > > git status --porcelain HEAD^ > > Rolling a patch to make --porcelain an alias for --short seems > like a good idea. If we want to support HEAD^ and HEAD^ only > then perhaps an --amend flag is useful. > > The real crux of my question was about being able to script > it, which is why commit --dry-run is not enough. I see. I still think you may want to improve "commit --dry-run" with a plumbing format, though, instead of "git status". Then it would automagically support "--amend", as well as other dry-run things (e.g., "git commit --dry-run --porcelain --amend foo.c"). And not having looked at the code, I would guess it is a one-liner patch to switch the "output format" flag that commit passes to the wt-status.c code. -Peff -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html