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:	Wed, 11 Mar 2015 13:04:45 +0100
From:	Paul Bolle <pebolle@...cali.nl>
To:	Valentin Rothberg <valentinrothberg@...il.com>
Cc:	gregkh@...uxfoundation.org, stefan.hengelein@....de,
	linux-kernel@...r.kernel.org, rupran@...server.de
Subject: Re: [PATCH] checkkconfigsymbols.py:  make it Git aware

On Wed, 2015-03-11 at 12:16 +0100, Valentin Rothberg wrote:
> Note that both options require to 'git reset --hard' the user's Git
> tree, which can lead to the loss of uncommitted data.

My local "800 line perl monster" basically does
    git ls-tree -r $commit_or_tag

which allows you to generate a list of files and their corresponding
hashes (it also helps with filtering out symlinks by the way).

The you can do
    git cat-file blob $commit:$path

or just
    git cat-file blob $hash

for every file you're interested in and parse the output of that file
(in memory, as it were). None of that messes with the current state of
the tree you're working on.


Paul Bolle

--
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