Andy Wingo writes:
> + (pk "git" "clone" file checkout)
> + (recursive-hash checkout)
One of those cursed pk's made it in here.
Exciting! Look forward to having this option.
Andy Wingo skribis:
> On Tue 04 Apr 2017 14:21, l...@gnu.org (Ludovic Courtès) writes:
>
>>> +For example:
>>> +@example
>>> +$ git clone http://example.org/foo.git
>>> +$ guix hash -g foo
>>> +@end example
>>
>> In this case -g is equivalent to -rx.
>
> My main use case is when I am in a git che
On Tue 04 Apr 2017 14:21, l...@gnu.org (Ludovic Courtès) writes:
>> +For example:
>> +@example
>> +$ git clone http://example.org/foo.git
>> +$ guix hash -g foo
>> +@end example
>
> In this case -g is equivalent to -rx.
My main use case is when I am in a git checkout that has build products
or ot
Hello!
Andy Wingo skribis:
> * guix/scripts/hash.scm (show-help, %options): Add -g option.
> (guix-hash): Support hashing of Git URLs.
> * doc/guix.texi (Invoking guix hash): Document guix hash --git.
[...]
> +For example:
> +@example
> +$ git clone http://example.org/foo.git
> +$ guix hash -g