On Thu 23 Nov 2017 04:54, Jan Nieuwenhuizen <jann...@gnu.org> writes:
> Hi! > > Attached is a patch to get the hash of a git archive without having to > clean the tree or do a clean checkout. > > Using > > guix hash -gr . > > procudes the same hash as doing something like > > git clone . tmp && guix hash -rx tmp && rm -r tmp > > I marked it as WIP because while it is already "handy" as it is, I > consider adding a commit argument and imply --recursive, like so > > guix hash --git HEAD > guix hash --git v0.13 > > WDYT? Weird that we have done the same thing :) https://git.savannah.gnu.org/gitweb/?p=guix.git;a=commit;h=572907daff98a77a4215861a88b81d2f30542c09 Andy