summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--git-review.112
-rw-r--r--releasenotes/notes/branch-author-selection-02d8652d12c4dd7a.yaml6
-rw-r--r--releasenotes/notes/commit-hook-submodules-121f76901305ff98.yaml6
-rw-r--r--releasenotes/notes/default-notopic-3f854006482616cd.yaml5
-rw-r--r--releasenotes/notes/discontinue-draft-support-031e1fe3453ca839.yaml8
-rw-r--r--releasenotes/notes/drop-python27-support-37e1602a03d602ab.yaml11
-rw-r--r--releasenotes/notes/git-credentials-bytes-6fcecd405dc4ed29.yaml5
-rw-r--r--releasenotes/notes/preserve-local-edits-on-download-0f11c676e5516d9f.yaml5
-rw-r--r--releasenotes/notes/push-no-follow-tags-3f366ecee85b508d.yaml6
9 files changed, 63 insertions, 1 deletions
diff --git a/git-review.1 b/git-review.1
index e2f8266..1fba122 100644
--- a/git-review.1
+++ b/git-review.1
@@ -1,6 +1,6 @@
.\" Uses mdoc(7). See `man 7 mdoc` for details about the syntax used here
.\"
-.Dd June 12th, 2015
+.Dd 2021-02-09
.Dt GIT\-REVIEW 1
.Sh NAME
.Nm git\-review
@@ -151,6 +151,14 @@ Sets the target topic for this change on the Gerrit server.
If not specified, a bug number from the commit summary will be used. Alternatively, the local branch name will be used if different from remote branch.
.It Fl T , Fl \-no\-topic
Submit review without topic.
+.It Fl p , Fl \-private
+Send patch as a private patch ready for review. Gerrit versions >= 2.15
+.It Fl P , Fl \-remove\-private
+Send patch which already in private state to normal patch. Gerrit versions >= 2.15
+.It Fl w , Fl \-work\-in\-progress
+Send patch as work in progress for Gerrit versions >= 2.15
+.It Fl W , Fl \-ready
+Send patch that is already work in progress as ready for review. Gerrit versions >= 2.15
.It Fl \-reviewers Ar reviewer ...
Subscribe one or more reviewers to the uploaded patch sets. Reviewers should be identifiable by Gerrit (usually use their Gerrit username or email address).
.It Fl \-notify Ar type
@@ -195,6 +203,8 @@ on the command line.
.It Fl \-use-pushurl
Use the pushurl option for the origin remote rather than conventional
separate Gerrit remotes.
+.It Fl \-license
+Print the license text and exit.
.It Fl \-version
Print the version number and exit.
.El
diff --git a/releasenotes/notes/branch-author-selection-02d8652d12c4dd7a.yaml b/releasenotes/notes/branch-author-selection-02d8652d12c4dd7a.yaml
new file mode 100644
index 0000000..3713031
--- /dev/null
+++ b/releasenotes/notes/branch-author-selection-02d8652d12c4dd7a.yaml
@@ -0,0 +1,6 @@
+---
+features:
+ - |
+ A new ``gitreview.branchauthor`` option allows configuring the change
+ author (owner) name part of the autocreated branch name when downloading
+ changes.
diff --git a/releasenotes/notes/commit-hook-submodules-121f76901305ff98.yaml b/releasenotes/notes/commit-hook-submodules-121f76901305ff98.yaml
new file mode 100644
index 0000000..1ff56fb
--- /dev/null
+++ b/releasenotes/notes/commit-hook-submodules-121f76901305ff98.yaml
@@ -0,0 +1,6 @@
+---
+fixes:
+ - |
+ The Change-Id generating commit hook is now installed into any detected Git
+ submodules, so that it will take effect when creating changes within a
+ submodule and not just in the parent repository.
diff --git a/releasenotes/notes/default-notopic-3f854006482616cd.yaml b/releasenotes/notes/default-notopic-3f854006482616cd.yaml
new file mode 100644
index 0000000..32d01ec
--- /dev/null
+++ b/releasenotes/notes/default-notopic-3f854006482616cd.yaml
@@ -0,0 +1,5 @@
+---
+features:
+ - |
+ A new ``gitreview.notopic`` configuration setting makes git-review always
+ behave as if the ``--notopic`` command line option was supplied.
diff --git a/releasenotes/notes/discontinue-draft-support-031e1fe3453ca839.yaml b/releasenotes/notes/discontinue-draft-support-031e1fe3453ca839.yaml
new file mode 100644
index 0000000..16b7f7d
--- /dev/null
+++ b/releasenotes/notes/discontinue-draft-support-031e1fe3453ca839.yaml
@@ -0,0 +1,8 @@
+---
+deprecations:
+ - |
+ Not really a deprecation so much as a removal, Gerrit 2.15 (released in
+ 2017) ceased providing a draft state for changes, and many large sites were
+ disabling support for it far earlier than that. As of now, git-review has
+ removed the ``-D`` and ``--draft`` options entirely, and so can no longer
+ push draft changes on old Gerrit deployments which still allowed them.
diff --git a/releasenotes/notes/drop-python27-support-37e1602a03d602ab.yaml b/releasenotes/notes/drop-python27-support-37e1602a03d602ab.yaml
new file mode 100644
index 0000000..e7c3328
--- /dev/null
+++ b/releasenotes/notes/drop-python27-support-37e1602a03d602ab.yaml
@@ -0,0 +1,11 @@
+---
+critical:
+ - |
+ As of this release, git-review no longer supports running under the Python
+ 2.7 interpreter. The major version component has been increased
+ accordingly. Users wishing to use git-review with Python 2.7 can cap their
+ installations like ``pip install "git-review<2"``, though pip version 9 and
+ later will use python_requires package metadata to avoid installing
+ git-review on an unsupported interpreter. Future removal of support for
+ Python 3 minor versions will only result in a minor version increase for
+ corresponding git-review releases.
diff --git a/releasenotes/notes/git-credentials-bytes-6fcecd405dc4ed29.yaml b/releasenotes/notes/git-credentials-bytes-6fcecd405dc4ed29.yaml
new file mode 100644
index 0000000..31fcc20
--- /dev/null
+++ b/releasenotes/notes/git-credentials-bytes-6fcecd405dc4ed29.yaml
@@ -0,0 +1,5 @@
+---
+fixes:
+ - |
+ Encoding was corrected for Git credentials, which was previously causing
+ HTTP authentication to fail under some Python 3 versions.
diff --git a/releasenotes/notes/preserve-local-edits-on-download-0f11c676e5516d9f.yaml b/releasenotes/notes/preserve-local-edits-on-download-0f11c676e5516d9f.yaml
new file mode 100644
index 0000000..2afee50
--- /dev/null
+++ b/releasenotes/notes/preserve-local-edits-on-download-0f11c676e5516d9f.yaml
@@ -0,0 +1,5 @@
+---
+fixes:
+ - |
+ Change download functions now preserve any unapplied local edits on the
+ branch when attempting to reset the worktree.
diff --git a/releasenotes/notes/push-no-follow-tags-3f366ecee85b508d.yaml b/releasenotes/notes/push-no-follow-tags-3f366ecee85b508d.yaml
new file mode 100644
index 0000000..fed6a4e
--- /dev/null
+++ b/releasenotes/notes/push-no-follow-tags-3f366ecee85b508d.yaml
@@ -0,0 +1,6 @@
+---
+fixes:
+ - |
+ The ``--no-follow-tags`` option to ``git push`` is now used for all pushes,
+ so that git-review won't error when encountering a local tag which is
+ absent from Gerrit.