lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 24 Oct 2008 16:56:15 +0200
From:	Björn Steinbrink <B.Steinbrink@....de>
To:	Alexey Dobriyan <adobriyan@...il.com>
Cc:	Alistair John Strachan <alistair@...zero.co.uk>,
	"Rafael J. Wysocki" <rjw@...k.pl>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: git-clean [Was: Linux 2.6.28-rc1]

On 2008.10.24 17:13:40 +0400, Alexey Dobriyan wrote:
> On Fri, Oct 24, 2008 at 01:52:45PM +0100, Alistair John Strachan wrote:
> > git reset --hard v2.6.27 ; git clean -d -f
> > git status ("Nothing to commit")
> > 
> > cp /path/to/config .config
> > make oldconfig prepare
> > git clean -d -f ; git reset --hard
> > git status ("Nothing to commit")
> > 
> > Observe at this point that include/asm is valid and points to
> > include/asm-x86, despite the clean and reset (I guess this file is
> > being ignored).
> 
> Use this script for super-clean project-agnostic clean:
> 
> 	$ cat ~/bin/git-mrproper
> 	#!/bin/sh
> 	git-ls-files -o --directory -z | xargs -0 rm -rf

JFYI, that should be the same as:
git clean -xdf

The -x makes it wipe out ignored files as well.

Björn
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ