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 @@ Display information about the channels currently in use.\n")) | |||
|   (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))) | ||||
|  |  | |||
		Reference in a new issue