From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: Oliver Kiddle <opk@zsh.org>
Cc: "Heinrich, Jens" <J.Heinrich@ub.uni-frankfurt.de>, <zsh-workers@zsh.org>
Subject: Re: PATCH: 5.8: add information to git-clean completion
Date: Fri, 28 Aug 2020 02:32:31 +0000 [thread overview]
Message-ID: <20200828023231.40c6d453@tarpaulin.shahaf.local2> (raw)
In-Reply-To: <26553-1598547067.054970@ssWS.aY8a.gI7l>
Oliver Kiddle wrote on Thu, 27 Aug 2020 18:51 +0200:
> What exactly does the repeated use of -f do? Is it removing nested
> repositories or doing a clean in them. From my cursory testing, nested
> repositories seem to be ignored no-matter what arguments I give.
According to the current release of Documentation/git-clean.txt:
[[[
-f::
--force::
If the Git configuration variable clean.requireForce is not set
to false, 'git clean' will refuse to delete files or directories
unless given -f or -i. Git will refuse to modify untracked
nested git repositories (directories with a .git subdirectory)
unless a second -f is given.
]]]
So, for the description, how about:
required by default; twice, removes untracked nested repositories
> Is it
> perhaps only submodules that it does anything with. If so, "submodules"
> is shorter than "nested repositories".
prev parent reply other threads:[~2020-08-28 2:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-27 9:45 Heinrich, Jens
2020-08-27 16:51 ` Oliver Kiddle
2020-08-28 2:32 ` Daniel Shahaf [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=20200828023231.40c6d453@tarpaulin.shahaf.local2 \
--to=d.s@daniel.shahaf.name \
--cc=J.Heinrich@ub.uni-frankfurt.de \
--cc=opk@zsh.org \
--cc=zsh-workers@zsh.org \
/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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
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).