<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/git-clean.sh, branch v1.5.0.7</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.5.0.7</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.5.0.7'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2007-01-10T23:03:09Z</updated>
<entry>
<title>Disallow working directory commands in a bare repository.</title>
<updated>2007-01-10T23:03:09Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2006-12-31T04:32:38Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=7eff28a9b42cb0d3aad932338b2e645fc6ed8fa9'/>
<id>urn:sha1:7eff28a9b42cb0d3aad932338b2e645fc6ed8fa9</id>
<content type='text'>
If the user tries to run a porcelainish command which requires
a working directory in a bare repository they may get unexpected
results which are difficult to predict and may differ from command
to command.

Instead we should detect that the current repository is a bare
repository and refuse to run the command there, as there is no
working directory associated with it.

[jc: updated Shawn's original somewhat -- bugs are mine.]

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-clean: Fix the -q option.</title>
<updated>2007-01-06T18:44:40Z</updated>
<author>
<name>Alexandre Julliard</name>
<email>julliard@winehq.org</email>
</author>
<published>2007-01-06T10:19:44Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=e6d7b2f62e52c95c47b078f786705ef9ff8f43c2'/>
<id>urn:sha1:e6d7b2f62e52c95c47b078f786705ef9ff8f43c2</id>
<content type='text'>
The 'quiet' flag is set by -q, but it's not used anywhere.
Remove it and set the 'echo1' variable instead.

Signed-off-by: Alexandre Julliard &lt;julliard@winehq.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>git-clean fails on files beginning with a dash</title>
<updated>2006-05-30T06:14:51Z</updated>
<author>
<name>Dennis Stosberg</name>
<email>dennis@stosberg.net</email>
</author>
<published>2006-05-29T15:06:32Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=7484529d7f17d5bff1faefb007d604aba12a0e1b'/>
<id>urn:sha1:7484529d7f17d5bff1faefb007d604aba12a0e1b</id>
<content type='text'>
Reproducible with:

$ git init-db
$ echo "some text" &gt;-file
$ git clean
Removing -file
rm: invalid option -- l
Try `rm --help' for more information.

Signed-off-by: Dennis Stosberg &lt;dennis@stosberg.net&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
<entry>
<title>Teach git-clean optional &lt;paths&gt;... parameters.</title>
<updated>2006-05-08T23:40:45Z</updated>
<author>
<name>Junio C Hamano</name>
<email>junkio@cox.net</email>
</author>
<published>2006-05-08T19:02:44Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=393e3b1910221da5a78f7f79a45507b5fde59b77'/>
<id>urn:sha1:393e3b1910221da5a78f7f79a45507b5fde59b77</id>
<content type='text'>
When optional paths arguments are given, git-clean passes them
to underlying git-ls-files; with this, you can say:

	git clean 'temp-*'

to clean only the garbage files whose names begin with 'temp-'.

Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
Signed-off-by: Pavel Roskin &lt;proski@gnu.org&gt;
</content>
</entry>
<entry>
<title>Add git-clean command</title>
<updated>2006-04-05T09:51:27Z</updated>
<author>
<name>Pavel Roskin</name>
<email>proski@gnu.org</email>
</author>
<published>2006-04-05T06:00:48Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=c3b831bd84320374834f9984c118cb4fc7050ebc'/>
<id>urn:sha1:c3b831bd84320374834f9984c118cb4fc7050ebc</id>
<content type='text'>
This command removes untracked files from the working tree.  This
implementation is based on cg-clean with some simplifications.  The
documentation is included.

[jc: with trivial documentation fix, noticed by Jakub Narebski]

Signed-off-by: Pavel Roskin &lt;proski@gnu.org&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
