git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-status:  Use "-sb" options by default?
@ 2012-11-10 11:04 Jason Timrod
  2012-11-11 10:50 ` Ramkumar Ramachandra
  0 siblings, 1 reply; 2+ messages in thread
From: Jason Timrod @ 2012-11-10 11:04 UTC (permalink / raw)
  To: git@vger.kernel.org

Hi,

I've been rooting around the "git-config" man page as well as the "git-status" man page, but couldn't find the following, which suggests it's not (yet) possible.

I'm looking for a way to make the "-sb" options to git-status the default somehow.  That is, I would like the short form of git-status to be the default when typing in "git status".  I appreciate I am able to do this in an indirect way using aliases, but this is slightly suboptimal for me.

If this isn't possible directly, would someone mind considering this a feature request?

Out of interest, would this be done via the git-config system, most likely?

Thanks kindly,

Jason

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: git-status: Use "-sb" options by default?
  2012-11-10 11:04 git-status: Use "-sb" options by default? Jason Timrod
@ 2012-11-11 10:50 ` Ramkumar Ramachandra
  0 siblings, 0 replies; 2+ messages in thread
From: Ramkumar Ramachandra @ 2012-11-11 10:50 UTC (permalink / raw)
  To: Jason Timrod; +Cc: git@vger.kernel.org

Jason Timrod wrote:
> I'm looking for a way to make the "-sb" options to git-status the default somehow.

I've aliased `git status` to `git status -sb` too, and I think it's a
very sensible default; who wants to see

  # Changes not staged for commit:
  #   (use "git add <file>..." to update what will be committed)
  #   (use "git checkout -- <file>..." to discard changes in working directory)

over and over again?

Maybe a status.shortWithBranch is in order?  However, I don't know if
we can have one configuration option that turns on both `-s` and `-b`.

Ram

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-11 10:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-10 11:04 git-status: Use "-sb" options by default? Jason Timrod
2012-11-11 10:50 ` Ramkumar Ramachandra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).