From: Oleg Pykhalov <go.wigust@gmail.com>
To: 33454@debbugs.gnu.org
Subject: [bug#33454] [PATCH] describe: Delete directory argument from 'display-checkout-info'.
Date: Wed, 21 Nov 2018 17:27:06 +0300 [thread overview]
Message-ID: <20181121142706.21058-1-go.wigust@gmail.com> (raw)
In-Reply-To: <20181121085959.31035-1-go.wigust@gmail.com>
This commit is a following 1255400faabfcf0ca1666d17f2f34ea0d49f6b1f which
added unused optional 'directory' argument.
* guix/scripts/describe.scm (display-checkout-info): Delete directory
argument.
---
guix/scripts/describe.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/guix/scripts/describe.scm b/guix/scripts/describe.scm
index d817d7f7c..761f212f0 100644
--- a/guix/scripts/describe.scm
+++ b/guix/scripts/describe.scm
@@ -84,11 +84,11 @@ Display information about the channels currently in use.\n"))
(format #t (G_ "~%;; warning: GUIX_PACKAGE_PATH=\"~a\"~%")
string))))))
-(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)))
--
2.19.1
next prev parent reply other threads:[~2018-11-21 14:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-21 8:59 [bug#33454] [PATCH] describe: Add profile option Oleg Pykhalov
2018-11-21 9:40 ` Ludovic Courtès
2018-11-21 11:48 ` Oleg Pykhalov
2018-11-21 14:27 ` Oleg Pykhalov [this message]
2018-11-27 10:25 ` [bug#33454] [PATCH] describe: Delete directory argument from 'display-checkout-info' Ludovic Courtès
2018-11-27 17:13 ` Oleg Pykhalov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181121142706.21058-1-go.wigust@gmail.com \
--to=go.wigust@gmail.com \
--cc=33454@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.