Skip to content

Commit

Permalink
Add minor comments
Browse files Browse the repository at this point in the history
Related: #19
Change-Id: I5653c9fc3a5c8a44f8b61da4182394ae41aaa6c6
  • Loading branch information
twmr committed Oct 2, 2021
1 parent 8aef0a6 commit 7d92c6b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gerrit.el
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ This refspec is a string of the form 'refs/changes/xx/xx/x'.
;; (e.g. if ssh-add was not called) this async call runs
;; magit-process-password-prompt-regexps (used in magit-process-filter)
;; which is called in magit-start-process
;; (see https://github.com/magit/magit/issues/4323)
(magit-run-git-async "fetch"
(gerrit-get-remote)
(gerrit-download--get-refspec change-metadata))
Expand Down Expand Up @@ -1247,6 +1248,7 @@ gerrit-upload: (current cmd: %(concat (gerrit-upload-create-git-review-cmd)))

(defun gerrit--select-change-from-matching-changes (search-string)
;; see https://gerrit-review.googlesource.com/Documentation/user-search.html
;; clients can let-bind `gerrit-change-singleline-columns'
(let* ((open-changes (seq-map #'gerrit-download-format-change
(gerrit-rest-change-query
(or search-string "is:open")
Expand Down

0 comments on commit 7d92c6b

Please sign in to comment.