update packages and add valign
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
;;; magit-bundle.el --- Bundle support for Magit -*- lexical-binding:t -*-
|
||||
|
||||
;; Copyright (C) 2008-2025 The Magit Project Contributors
|
||||
;; Copyright (C) 2008-2026 The Magit Project Contributors
|
||||
|
||||
;; Author: Jonas Bernoulli <emacs.magit@jonas.bernoulli.dev>
|
||||
;; Maintainer: Jonas Bernoulli <emacs.magit@jonas.bernoulli.dev>
|
||||
@@ -61,14 +61,14 @@
|
||||
("t" "create tracked bundle" magit-bundle-create-tracked)
|
||||
("u" "update tracked bundle" magit-bundle-update-tracked)]
|
||||
(interactive
|
||||
(and (eq transient-current-command 'magit-bundle-create)
|
||||
(list (read-file-name "Create bundle: " nil nil nil
|
||||
(concat (file-name-nondirectory
|
||||
(directory-file-name (magit-toplevel)))
|
||||
".bundle"))
|
||||
(magit-completing-read-multiple "Refnames (zero or more): "
|
||||
(magit-list-refnames))
|
||||
(transient-args 'magit-bundle-create))))
|
||||
(and (eq transient-current-command 'magit-bundle-create)
|
||||
(list (read-file-name "Create bundle: " nil nil nil
|
||||
(concat (file-name-nondirectory
|
||||
(directory-file-name (magit-toplevel)))
|
||||
".bundle"))
|
||||
(magit-completing-read-multiple "Refnames (zero or more): "
|
||||
(magit-list-refnames))
|
||||
(transient-args 'magit-bundle-create))))
|
||||
(if file
|
||||
(magit-git-bundle "create" file refs args)
|
||||
(transient-setup 'magit-bundle-create)))
|
||||
@@ -77,17 +77,17 @@
|
||||
(defun magit-bundle-create-tracked (file tag branch refs args)
|
||||
"Create and track a new bundle."
|
||||
(interactive
|
||||
(let ((tag (magit-read-tag "Track bundle using tag"))
|
||||
(branch (magit-read-branch "Bundle branch"))
|
||||
(refs (magit-completing-read-multiple
|
||||
"Additional refnames (zero or more): "
|
||||
(magit-list-refnames))))
|
||||
(list (read-file-name "File: " nil nil nil (concat tag ".bundle"))
|
||||
tag branch
|
||||
(if (equal branch (magit-get-current-branch))
|
||||
(cons "HEAD" refs)
|
||||
refs)
|
||||
(transient-args 'magit-bundle-create))))
|
||||
(let ((tag (magit-read-tag "Track bundle using tag"))
|
||||
(branch (magit-read-branch "Bundle branch"))
|
||||
(refs (magit-completing-read-multiple
|
||||
"Additional refnames (zero or more): "
|
||||
(magit-list-refnames))))
|
||||
(list (read-file-name "File: " nil nil nil (concat tag ".bundle"))
|
||||
tag branch
|
||||
(if (equal branch (magit-get-current-branch))
|
||||
(cons "HEAD" refs)
|
||||
refs)
|
||||
(transient-args 'magit-bundle-create))))
|
||||
(magit-git-bundle "create" file (cons branch refs) args)
|
||||
(magit-git "tag" "--force" tag branch
|
||||
"-m" (concat ";; git-bundle tracking\n"
|
||||
@@ -142,6 +142,7 @@
|
||||
;; ("and>" . "cond-let--and>")
|
||||
;; ("and-let" . "cond-let--and-let")
|
||||
;; ("if-let" . "cond-let--if-let")
|
||||
;; ("when$" . "cond-let--when$")
|
||||
;; ("when-let" . "cond-let--when-let")
|
||||
;; ("while-let" . "cond-let--while-let")
|
||||
;; ("match-string" . "match-string")
|
||||
|
||||
Reference in New Issue
Block a user