{"thread":{"id":"38656","subject":"[PATCH] Documentation/git-clean.txt: document that -f may need to be given twice","startedAt":"2015-02-26T12:56:40Z","lastAt":"2015-02-26T13:16:49Z","messageCount":4,"participants":["Mikko Rapeli"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"256682","messageId":"1424955400-13897-1-git-send-email-mikko.rapeli@iki.fi","threadId":"38656","inReplyTo":null,"subject":"[PATCH] Documentation/git-clean.txt: document that -f may need to be given twice","fromName":"Mikko Rapeli","fromEmail":"mikko.rapeli@iki.fi","sentAt":"2015-02-26T12:56:40Z","receivedAt":"2015-02-26T12:56:40Z","isPatch":true,"sender":{"key":"mikko.rapeli@iki.fi","avatar":"https://avatars.githubusercontent.com/u/2036278?v=4"},"body":"This is needed in build automation where the tree really needs to\nbe reset to known state.\n\nSigned-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>\n---\n Documentation/git-clean.txt |    8 ++++++--\n 1 file changed, 6 insertions(+), 2 deletions(-)\n\ndiff --git a/Documentation/git-clean.txt b/Documentation/git-clean.txt\nindex 94b6d19..872ab45 100644\n--- a/Documentation/git-clean.txt\n+++ b/Documentation/git-clean.txt\n@@ -34,8 +34,12 @@ OPTIONS\n -f::\n --force::\n \tIf the Git configuration variable clean.requireForce is not set\n-\tto false, 'git clean' will refuse to run unless given -f, -n or\n-\t-i.\n+\tto false, 'git clean' will refuse to delete files or directories\n+\tunless given -f, -n or -i. Git will refuse to delete directories\n+\twith .git sub directory or file unless a second -f\n+\tis given. This affects also git submodules where the storage area of\n+\tof the removed submodule under .git/modules/ is not removed until\n+\t-f is give twice.\n \n -i::\n --interactive::\n-- \n1.7.10.4\n"},{"id":"256683","messageId":"1424955521-951-1-git-send-email-mikko.rapeli@iki.fi","threadId":"38656","inReplyTo":"1424955400-13897-1-git-send-email-mikko.rapeli@iki.fi","subject":"[PATCH] Documentation/git-clean.txt: document that -f may need to be given twice","fromName":"Mikko Rapeli","fromEmail":"mikko.rapeli@iki.fi","sentAt":"2015-02-26T12:58:41Z","receivedAt":"2015-02-26T12:58:41Z","isPatch":true,"sender":{"key":"mikko.rapeli@iki.fi","avatar":"https://avatars.githubusercontent.com/u/2036278?v=4"},"body":"This is needed in build automation where the tree really needs to\nbe reset to known state.\n\nSigned-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>\n---\n Documentation/git-clean.txt |    8 ++++++--\n 1 file changed, 6 insertions(+), 2 deletions(-)\n\ndiff --git a/Documentation/git-clean.txt b/Documentation/git-clean.txt\nindex 94b6d19..bd4e93d 100644\n--- a/Documentation/git-clean.txt\n+++ b/Documentation/git-clean.txt\n@@ -34,8 +34,12 @@ OPTIONS\n -f::\n --force::\n \tIf the Git configuration variable clean.requireForce is not set\n-\tto false, 'git clean' will refuse to run unless given -f, -n or\n-\t-i.\n+\tto false, 'git clean' will refuse to delete files or directories\n+\tunless given -f, -n or -i. Git will refuse to delete directories\n+\twith .git sub directory or file unless a second -f\n+\tis given. This affects also git submodules where the storage area\n+\tof the removed submodule under .git/modules/ is not removed until\n+\t-f is give twice.\n \n -i::\n --interactive::\n-- \n1.7.10.4\n"},{"id":"256684","messageId":"20150226125941.GJ12550@lakka.kapsi.fi","threadId":"38656","inReplyTo":"1424955400-13897-1-git-send-email-mikko.rapeli@iki.fi","subject":"Re: [PATCH] Documentation/git-clean.txt: document that -f may need to be given twice","fromName":"Mikko Rapeli","fromEmail":"mikko.rapeli@iki.fi","sentAt":"2015-02-26T12:59:41Z","receivedAt":"2015-02-26T12:59:41Z","isPatch":true,"sender":{"key":"mikko.rapeli@iki.fi","avatar":"https://avatars.githubusercontent.com/u/2036278?v=4"},"body":"On Thu, Feb 26, 2015 at 02:56:40PM +0200, Mikko Rapeli wrote:\n> This is needed in build automation where the tree really needs to\n> be reset to known state.\n> \n> Signed-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>\n> ---\n>  Documentation/git-clean.txt |    8 ++++++--\n>  1 file changed, 6 insertions(+), 2 deletions(-)\n> \n> diff --git a/Documentation/git-clean.txt b/Documentation/git-clean.txt\n> index 94b6d19..872ab45 100644\n> --- a/Documentation/git-clean.txt\n> +++ b/Documentation/git-clean.txt\n> @@ -34,8 +34,12 @@ OPTIONS\n>  -f::\n>  --force::\n>  \tIf the Git configuration variable clean.requireForce is not set\n> -\tto false, 'git clean' will refuse to run unless given -f, -n or\n> -\t-i.\n> +\tto false, 'git clean' will refuse to delete files or directories\n> +\tunless given -f, -n or -i. Git will refuse to delete directories\n> +\twith .git sub directory or file unless a second -f\n> +\tis given. This affects also git submodules where the storage area of\n\nOops, \"of\" is here twice.\n\n> +\tof the removed submodule under .git/modules/ is not removed until\n> +\t-f is give twice.\n>  \n>  -i::\n>  --interactive::\n> -- \n> 1.7.10.4\n> \n"},{"id":"256686","messageId":"1424956610-4951-1-git-send-email-mikko.rapeli@iki.fi","threadId":"38656","inReplyTo":"1424955521-951-1-git-send-email-mikko.rapeli@iki.fi","subject":"[PATCH] Documentation/git-clean.txt: document that -f may need to be given twice","fromName":"Mikko Rapeli","fromEmail":"mikko.rapeli@iki.fi","sentAt":"2015-02-26T13:16:49Z","receivedAt":"2015-02-26T13:16:49Z","isPatch":true,"sender":{"key":"mikko.rapeli@iki.fi","avatar":"https://avatars.githubusercontent.com/u/2036278?v=4"},"body":"This is needed in build automation where the tree really needs to\nbe reset to known state.\n\nSigned-off-by: Mikko Rapeli <mikko.rapeli@iki.fi>\n---\n Documentation/git-clean.txt |    8 ++++++--\n 1 file changed, 6 insertions(+), 2 deletions(-)\n\ndiff --git a/Documentation/git-clean.txt b/Documentation/git-clean.txt\nindex 94b6d19..641681f 100644\n--- a/Documentation/git-clean.txt\n+++ b/Documentation/git-clean.txt\n@@ -34,8 +34,12 @@ OPTIONS\n -f::\n --force::\n \tIf the Git configuration variable clean.requireForce is not set\n-\tto false, 'git clean' will refuse to run unless given -f, -n or\n-\t-i.\n+\tto false, 'git clean' will refuse to delete files or directories\n+\tunless given -f, -n or -i. Git will refuse to delete directories\n+\twith .git sub directory or file unless a second -f\n+\tis given. This affects also git submodules where the storage area\n+\tof the removed submodule under .git/modules/ is not removed until\n+\t-f is given twice.\n \n -i::\n --interactive::\n-- \n1.7.10.4\n"}]}