git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: "Juan José López Villar" <jjoselvill@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Feature Request: git config for stash -u
Date: Fri, 13 Mar 2020 12:30:02 -0700	[thread overview]
Message-ID: <xmqqpndgaw91.fsf@gitster.c.googlers.com> (raw)
In-Reply-To: <CACTq9vvv+_cEv3Epk3tku47qogH0b8oUtVWUEt=tX5UGzxQZ6g@mail.gmail.com> ("Juan José López Villar"'s message of "Fri, 13 Mar 2020 10:36:30 +0100")

Juan José López Villar <jjoselvill@gmail.com> writes:

> I was wondering if a git configuration could be made for including by
> default untracked files to git stash, so every time it runs it is like
> it had the -u flag appended. For example: stash.includeUntracked

It probably won't be just an addition of a configuration variable,
but it would also need to adjust the command line option so that a
configured stash.includeUntracked==true can be countermanded from
the command line (e.g. "git stash --no-include-untracked").

Are you interested in running with your idea to implement it?

      reply	other threads:[~2020-03-13 19:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CACTq9vt0c+yX9hp5m84dQ7Y4qWk-RrP=zQ2s4PnNRC1ytGbOmw@mail.gmail.com>
     [not found] ` <CACTq9vuZO_wHhzBKsm=SOTcyXq3e=ur4NmNG9B-g=p5OXMuCNg@mail.gmail.com>
2020-03-13  9:36   ` Feature Request: git config for stash -u Juan José López Villar
2020-03-13 19:30     ` Junio C Hamano [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xmqqpndgaw91.fsf@gitster.c.googlers.com \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=jjoselvill@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).