Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: 5.8: add information to git-clean completion
- X-seq: zsh-workers 47343
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Oliver Kiddle <opk@xxxxxxx>
- Subject: Re: PATCH: 5.8: add information to git-clean completion
- Date: Fri, 28 Aug 2020 02:32:31 +0000
- Archived-at: <https://zsh.org/workers/47343>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2020-08/20200828023231.40c6d453%40tarpaulin.shahaf.local2>
- Authentication-results: zsh.org; iprev=pass (out3-smtp.messagingengine.com) smtp.remote-ip=66.111.4.27; dkim=pass header.d=daniel.shahaf.name header.s=fm1 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm3 header.a=rsa-sha256; dmarc=skipped; arc=none
- Cc: "Heinrich, Jens" <J.Heinrich@xxxxxxxxxxxxxxxxxxx>, <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=date:from:to:cc:subject:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=fm1; bh=870T1kv8A1zV9ronS3sT+kgByj fpZ+WBhUKY7vNPZTk=; b=cTyhzjn/2IqDbiQ0Vy2ln0DZMpR4UjyMXqfkllFpXB bBgRc3GHzHsZSDN6J3D19ZGFE++ojxsconfNECWcDEVRN7EcLT3yn/yFnALmmS4e fX34j3A8RP321uA5DM8QdNPAj8FStmK1uJKbLvxcyncoGyoO885QlPVg1YguXu5e 7RG7hBzN7OXMeYdJjlJkDjfQaO9P4sK7av2BY9yaauW8amo1kjH/FS8SO4BhlipT l4KN3TXw0qJ2ed4MJqpTSrnbxF06waEW3B4DD8zjGO6M2m8Xt9fnrMqdukby1r+r bdAflrjDmYBoP2/CIa8FM9y4pXeLIG0dcKT3viY75QGQ==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=870T1kv8A1zV9ronS3sT+kgByjfpZ+WBhUKY7vNPZ Tk=; b=jiICKz7WHxRvt3ON0cbUQKSAnCbyV7BlQjbqqF7XcijBXn0yjIICWiN6b wq3FglF2RZ39+yvsH7sl2zTU4ZSr1KQZTkZXYMYSIoHNEsVG0E+5Ls/xtnZCAbo8 oOeWuE+XJnHB772OqB3m0bu4edywvN5AkXRip/lh+kvWquChRXgrMPAYKFtPF4A9 hYoq3Ehq3qNeXFTQPZAaqXnBNuD+4/0HswlotpEx6MWYZNIxLmAgq/3AFBZe7O16 9Gk1npW80CQdnal06Sz7hYiha9+YUo5JrjEs2BZDy3Bgpi1lGrAIMD/qtaBKwmq2 prViOic5UsQDIRbQugkp9Ch+wAG+w==
- In-reply-to: <26553-1598547067.054970@ssWS.aY8a.gI7l>
- List-archive: <http://www.zsh.org/sympa/arc/zsh-workers>
- List-help: <mailto:sympa@zsh.org?subject=help>
- List-id: <zsh-workers.zsh.org>
- List-owner: <mailto:zsh-workers-request@zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-subscribe: <mailto:sympa@zsh.org?subject=subscribe%20zsh-workers>
- List-unsubscribe: <mailto:sympa@zsh.org?subject=unsubscribe%20zsh-workers>
- References: <157c404c1df34a08b4de5627a1a237ff@ub.uni-frankfurt.de> <26553-1598547067.054970@ssWS.aY8a.gI7l>
- Sender: zsh-workers-request@xxxxxxx
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".
Messages sorted by:
Reverse Date,
Date,
Thread,
Author