mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
describe: Delete 'directory' argument from 'display-checkout-info'.
This commit follows 1255400faa
.
* guix/scripts/describe.scm (display-checkout-info): Delete 'directory'
argument.
This commit is contained in:
parent
5df8f0689d
commit
01262f1ece
1 changed files with 2 additions and 2 deletions
|
@ -103,11 +103,11 @@ (define (channel->recutils channel port)
|
|||
(format port "url: ~a~%" (channel-url channel))
|
||||
(format port "commit: ~a~%" (channel-commit channel)))
|
||||
|
||||
(define* (display-checkout-info fmt #:optional directory)
|
||||
(define (display-checkout-info fmt)
|
||||
"Display information about the current checkout according to FMT, a symbol
|
||||
denoting the requested format. Exit if the current directory does not lie
|
||||
within a Git checkout."
|
||||
(let* ((program (or directory (car (command-line))))
|
||||
(let* ((program (car (command-line)))
|
||||
(directory (catch 'git-error
|
||||
(lambda ()
|
||||
(repository-discover (dirname program)))
|
||||
|
|
Loading…
Reference in a new issue