Commit log

b5fd4af Release version 0.9.1

Josh Triplett created

35c12e8 Pad all patch numbers to the same width using 0s

Click to expand commit body
This ensures that sorting by subject will put the patches in the right
order.

Josh Triplett created

e16e8d1 Add a copy of the MIT license.

Josh Triplett created

9e3d027 Release version 0.9.0

Josh Triplett created

c824bed Use series diff for `git series commit -v`

Josh Triplett created

fe892f5 Factor out a function to write the series diff between two trees

Click to expand commit body
This removes a bit more duplication between diff and log -p, making it
easier to use diff elsewhere or further improve the format.

Josh Triplett created

c9de16b Support diffs between patch series

Click to expand commit body
Inspired by tbdiff, the diff algorithm computes the interdiff for each
possible corresponding pair of commits (as well as the possibility of an
added or deleted commit), and then treats that as an instance of the
Assignment Problem to find a correspondence with the minimal total
interdiffs.

Add a new `git series diff` command to show the diff between the working
and staged versions of the patch series.  Also use the new diff format
for `git series log -p`.

Josh Triplett created

6f2ab61 README: Discuss updating outdated versions of Rust and Cargo

Click to expand commit body
Mention that outdated versions may lead to build errors, and suggest
downloading the stable version in that case as well.

Josh Triplett created

2c973b6 Update to git2 0.6

Josh Triplett created

7c8bf89 log: Walk series commits by hand, to allow pruning while walking

Click to expand commit body
Current versions of libgit2 no longer allow hiding commits while
walking.  With those versions, the revwalk would walk the entire project
history, not just the series history, taking seconds or minutes on large
repositories.  Work around that by doing the initial walk of series
commits by hand rather than with a revwalk.  The second walk still uses
a revwalk, for topological sorting.

Josh Triplett created

9dae10a INTERNALS: Fix the path for git-series refs

Josh Triplett created

fb679bd Release version 0.8.11

Josh Triplett created

c037d05 Add cp and mv commands to copy and move (rename) a series

Josh Triplett created

df2859f Simplify delete by moving deletion of the series itself into Internals::delete

Click to expand commit body
This avoids code duplication; nothing wants to delete the internals
without also deleting the series.

Josh Triplett created

42b2acf Remove redundant .to_string()

Josh Triplett created

6a47bc2 format: Add --rfc option to use [RFC PATCH] as subject prefix

Josh Triplett created

a8fd3e1 Colorize diffs

Josh Triplett created

003e059 Update to colorparse 2.0.0 and ansi_term 0.9.0

Josh Triplett created

5bf5bbe Cargo.lock: Update dependencies

Josh Triplett created

b5e0bd8 git-series.1: Document the new --subject-prefix option

Josh Triplett created

73b627c format: Handle empty subject-prefix

Click to expand commit body
Don't write "[] " with an empty subject-prefix, but do write [v2] or
[M/N] if needed.

Josh Triplett created

dc0e755 format: add --subject-prefix option

Click to expand commit body
Add a --subject-prefix option that behaves roughly similarly to the
--subject-prefix option for git format-patch.

Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>

Andrew Donnellan created

0dc01c9 Add a blank line between the diff and base-commit

Josh Triplett created

d8f4adc format: Provide base-commit information

Click to expand commit body
We know the hash of the base commit, so provide that information as part
of the mail, in the same format format-patch uses.

Josh Triplett created

0d3aa94 format: Don't number a single patch with no cover letter

Click to expand commit body
Use "PATCH" rather than "PATCH 1/1" for that case.

Josh Triplett created

11105e2 cover: Fix suggested cover deletion command

Click to expand commit body
The suggested command "git series -d" to delete the cover letter (when
all text of the cover is removed) doesn't work. It should be "git series
cover -d" instead.

James Hogan created

6249cb2 Release version 0.8.10

Josh Triplett created

68a6b3f Update to colorparse 1.1.0 and ansi_term 0.8.0

Josh Triplett created

afdf260 Release version 0.8.9

Josh Triplett created

ba740ac rebase: Print a message and stop if base unchanged and not interactive

Click to expand commit body
Rebase has nothing to do in this case.

Josh Triplett created

740ac29 base: Don't treat "Base unchanged" as an error

Click to expand commit body
Notify the user but return successfully, so that it won't cause a rebase
to fail.

Josh Triplett created

8cc4318 base, rebase: Support specifying a tag rather than a commit

Click to expand commit body
After parsing the revision, peel it to a commit before getting its id.

Josh Triplett created

60659d0 Release version 0.8.8

Josh Triplett created

810dad4 start: detach HEAD when starting a series

Click to expand commit body
checkout detaches HEAD, but start left it attached, resulting in
inconsistent behavior.  Change start to detach HEAD as well.

Josh Triplett created

c09677c .gitattributes: Warn about tabs in indentation

Josh Triplett created

07e003b Remove a stray tab in indentation

Josh Triplett created

9d28f5a README: Link to manpage

Click to expand commit body
Thanks to Michael Kerrisk for hosting a rendered version of the manpage.

Josh Triplett created

0ae82c2 README: Add an example of developing a patch series with git-series

Click to expand commit body
Walk through developing or importing v1, and then developing v2 in
response to feedback.

Josh Triplett created

6ab1d81 README.md: Expand the explanation of `git series commit`

Josh Triplett created

fb93811 Release version 0.8.7

Josh Triplett created

2108507 format: Improve handling of commit authorship and mail "From:" headers

Click to expand commit body
Default to the behavior of git format-patch --from, which uses your
committer identity as the "From:" header for the patch mail, and
preserves commit authorship in an in-body "From:" header when formatting
commits you didn't write.  Add a --no-from option to use the commit
author as the "From:" address for each patch mail.

Josh Triplett created

cd4a2d9 format: Use committer identity, not author identity, to match git format-patch

Josh Triplett created

142e237 Update manpage for format -v N | --reroll-count=N

Josh Triplett created

267d26e Release version 0.8.6

Josh Triplett created

446ade8 format: Add -v N, --reroll-count=N option to set patch series version

Josh Triplett created

e9a450f Make clap's generated help messages not distinguish "flags" and "options"

Click to expand commit body
Clap normally distinguishes between "flags" (which don't take a value)
and "options" (which take a value), displaying them separately in help.
Enable the UnifiedHelpMessage setting, to unify these two in generated
help messages.

Josh Triplett created

814615f Release version 0.8.5

Josh Triplett created

794ac35 checkout: Support checking out a series from git-series/* with no internals

Click to expand commit body
A series copied via "git branch git-series/newname git-series/oldname"
will not have any corresponding git-series-internals branches.  In that
case, checkout should populate those internals from the committed
version of the series.

In the process, since Internals::read_series now supports reading the
git-series ref as a fallback, change Internals::exists accordingly to
treat that as the series existing, and simplify its callers, who both
wanted that anyway.

Josh Triplett created

eb11989 Use git2::Tree::get_id to find tree entries by Oid

Josh Triplett created

e7ac748 Support non-linear series histories

Click to expand commit body
Document the format of a git-series merge commit, which has multiple
git-series commits as parents in addition to the parents referencing
gitlinks.  (git-series does not yet generate such commits.)

Modify revision walking in "git series log" to walk a git-series merge
commit correctly.  ("git series log -p" will warn that it cannot show
diffs for such commits yet, as libgit2 doesn't support generating merge
diffs yet.)

Josh Triplett created