From: Johannes Schindelin <johannes.schindelin@gmx.de> To: git@vger.kernel.org Cc: Johannes Schindelin <johannes.schindelin@gmx.de>, Junio C Hamano <gitster@pobox.com>, Thomas Rast <tr@thomasrast.ch>, Thomas Gummerer <t.gummerer@gmail.com>, Ævar Arnfjörð Bjarmason <avarab@gmail.com>, Ramsay Jones <ramsay@ramsayjones.plus.com>, Stefan Beller <sbeller@google.com>, Jacob Keller <jacob.keller@gmail.com>, Eric Sunshine <sunshine@sunshineco.com> Subject: [PATCH v2 00/18] Add `branch-diff`, a `tbdiff` lookalike Date: Fri, 4 May 2018 17:34:27 +0200 Message-ID: <cover.1525448066.git.johannes.schindelin@gmx.de> (raw) In-Reply-To: <cover.1525361419.git.johannes.schindelin@gmx.de> The incredibly useful `git-tbdiff` tool to compare patch series (say, to see what changed between two iterations sent to the Git mailing list) is slightly less useful for this developer due to the fact that it requires the `hungarian` and `numpy` Python packages which are for some reason really hard to build in MSYS2. So hard that I even had to give up, because it was simply easier to reimplement the whole shebang as a builtin command. The project at https://github.com/trast/tbdiff seems to be dormant, anyway. Funny (and true) story: I looked at the open Pull Requests to see how active that project is, only to find to my surprise that I had submitted one in August 2015, and that it was still unanswered let alone merged. While at it, I forward-ported AEvar's patch to force `--decorate=no` because `git -p tbdiff` would fail otherwise. Side note: I work on implementing branch-diff not only to make life easier for reviewers who have to suffer through v2, v3, ... of my patch series, but also to verify my changes before submitting a new iteraion. And also, maybe even more importantly, I plan to use it to verify my merging-rebases of Git for Windows (for which I previously used to redirect the pre-rebase/post-rebase diffs vs upstream and then compare them using `git diff --no-index`). And of course any interested person can see what changes were necessary e.g. in the merging-rebase of Git for Windows onto v2.17.0 by running a command like: base=^{/Start.the.merging-rebase} tag=v2.17.0.windows.1 pre=$tag$base^2 git branch-diff --dual-color $pre$base..$pre $tag$base..$tag The --dual-color mode will identify the many changes that are solely due to different diff context lines (where otherwise uncolored lines start with a background-colored -/+ marker), i.e. merge conflicts I had to resolve. Changes since v1: - Fixed the usage to *not* say "rebase--helper" (oops, now everybody knows that I copy-edited that code... ;-)) - Removed `branch-diff` from the `git help` output for now, by removing the `info` keyword from the respective line in command-list.txt. - Removed the bogus `COLOR_DUAL_MODE` constant that was introduced in one patch, only to be removed in the next one. - Fixed typo "emtpy". - Fixed `make sparse` warnings. - Changed the usage string to avoid the confusing lower-case bare `base`. - Fixed tyop in commit message: "Pythong". - Removed an awkward empty line before a `continue;` statement. - Released the `line` strbuf after use. - Fixed a typo and some "foreigner's English" in the commit message of "branch-diff: also show the diff between patches". - Avoided introducing --no-patches too early and then replacing it by the version that uses the diff_options. - Fixed the man page to continue with upper-case after a colon. The branch-diff of v1 vs 2 is best viewed with --dual-color; This helps e.g. with identifying changed *context* lines in the diff: git branch-diff --dual-color origin/master branch-diff-v1 branch-diff-v2 (assuming that your `origin` points to git.git and that you fetched the tags from https://github.com/dscho/git). For example, you will see that the only change in patch #10 is a change in the diff context (due to the change of the usage string in patch #2): 10: 9810869ced9 ! 10: 2695a6abc46 branch-diff: do not show "function names" in hunk headers @@ -17,7 +17,7 @@ +#include "userdiff.h" static const char * const builtin_branch_diff_usage[] = { - N_("git rebase--helper [<options>] ( A..B C..D | A...B | base A B )"), + N_("git branch-diff [<options>] <old-base>..<old-tip> <new-base>..<new-tip>"), @@ return data; } Johannes Schindelin (17): Add a function to solve least-cost assignment problems Add a new builtin: branch-diff branch-diff: first rudimentary implementation branch-diff: improve the order of the shown commits branch-diff: also show the diff between patches branch-diff: right-trim commit messages branch-diff: indent the diffs just like tbdiff branch-diff: suppress the diff headers branch-diff: adjust the output of the commit pairs branch-diff: do not show "function names" in hunk headers branch-diff: use color for the commit pairs color: provide inverted colors, too diff: add an internal option to dual-color diffs of diffs branch-diff: offer to dual-color the diffs branch-diff --dual-color: work around bogus white-space warning branch-diff: add a man page completion: support branch-diff Thomas Rast (1): branch-diff: add tests .gitignore | 1 + Documentation/git-branch-diff.txt | 239 ++++++++++ Makefile | 2 + builtin.h | 1 + builtin/branch-diff.c | 534 ++++++++++++++++++++++ color.h | 6 + command-list.txt | 1 + contrib/completion/git-completion.bash | 18 + diff.c | 76 +++- diff.h | 6 +- git.c | 1 + hungarian.c | 205 +++++++++ hungarian.h | 19 + t/.gitattributes | 1 + t/t7910-branch-diff.sh | 144 ++++++ t/t7910/history.export | 604 +++++++++++++++++++++++++ 16 files changed, 1846 insertions(+), 12 deletions(-) create mode 100644 Documentation/git-branch-diff.txt create mode 100644 builtin/branch-diff.c create mode 100644 hungarian.c create mode 100644 hungarian.h create mode 100755 t/t7910-branch-diff.sh create mode 100644 t/t7910/history.export base-commit: 1f1cddd558b54bb0ce19c8ace353fd07b758510d Published-As: https://github.com/dscho/git/releases/tag/branch-diff-v2 Fetch-It-Via: git fetch https://github.com/dscho/git branch-diff-v2 Branch-diff vs v1: 1: 8bc517e35d4 ! 1: a1ea0320b64 Add a new builtin: branch-diff @@ -7,8 +7,9 @@ the next commits will turn `branch-diff` into a full-blown replacement for `tbdiff`. - At this point, we ignore tbdiff's color options, as they will all be - implemented later and require some patches to the diff machinery. + At this point, we ignore tbdiff's color options as well as the + --no-patches option, as they will all be implemented later using + diff_options. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> @@ -54,14 +55,15 @@ +++ b/builtin/branch-diff.c @@ +#include "cache.h" ++#include "builtin.h" +#include "parse-options.h" + +static const char * const builtin_branch_diff_usage[] = { -+ N_("git rebase--helper [<options>] ( A..B C..D | A...B | base A B )"), -+ NULL ++N_("git branch-diff [<options>] <old-base>..<old-tip> <new-base>..<new-tip>"), ++N_("git branch-diff [<options>] <old-tip>...<new-tip>"), ++N_("git branch-diff [<options>] <base> <old-tip> <new-tip>"), ++NULL +}; -+ -+#define COLOR_DUAL_MODE 2 + +static int parse_creation_weight(const struct option *opt, const char *arg, + int unset) @@ -76,11 +78,8 @@ + +int cmd_branch_diff(int argc, const char **argv, const char *prefix) +{ -+ int no_patches = 0; + double creation_weight = 0.6; + struct option options[] = { -+ OPT_BOOL(0, "no-patches", &no_patches, -+ N_("short format (no diffs)")), + { OPTION_CALLBACK, + 0, "creation-weight", &creation_weight, N_("factor"), + N_("Fudge factor by which creation is weighted [0.6]"), @@ -101,7 +100,7 @@ git-bisect mainporcelain info git-blame ancillaryinterrogators git-branch mainporcelain history -+git-branch-diff mainporcelain info ++git-branch-diff mainporcelain git-bundle mainporcelain git-cat-file plumbinginterrogators git-check-attr purehelpers 2: ec51c71779a ! 2: e530e450ebd branch-diff: first rudimentary implementation @@ -13,7 +13,7 @@ really concentrates on getting the patch matching part right. Note: due to differences in the diff algorithm (`tbdiff` uses the - Pythong module `difflib`, Git uses its xdiff fork), the cost matrix + Python module `difflib`, Git uses its xdiff fork), the cost matrix calculated by `branch-diff` is different (but very similar) to the one calculated by `tbdiff`. Therefore, it is possible that they find different matching commits in corner cases (e.g. when a patch was split @@ -26,6 +26,7 @@ +++ b/builtin/branch-diff.c @@ #include "cache.h" + #include "builtin.h" #include "parse-options.h" +#include "string-list.h" +#include "run-command.h" @@ -35,15 +36,7 @@ +#include "hungarian.h" static const char * const builtin_branch_diff_usage[] = { - N_("git rebase--helper [<options>] ( A..B C..D | A...B | base A B )"), - NULL - }; - --#define COLOR_DUAL_MODE 2 -- - static int parse_creation_weight(const struct option *opt, const char *arg, - int unset) - { + N_("git branch-diff [<options>] <old-base>..<old-tip> <new-base>..<new-tip>"), @@ return 0; } @@ -128,7 +121,6 @@ + strbuf_addbuf(&buf, &line); + strbuf_addch(&buf, '\n'); + } -+ + continue; + } else if (starts_with(line.buf, "@@ ")) + strbuf_addstr(&buf, "@@"); @@ -148,6 +140,7 @@ + util->diffsize++; + } + fclose(in); ++ strbuf_release(&line); + + if (util) + string_list_append(list, buf.buf)->util = util; @@ -323,7 +316,7 @@ + int cmd_branch_diff(int argc, const char **argv, const char *prefix) { - int no_patches = 0; + double creation_weight = 0.6; @@ 0, parse_creation_weight }, OPT_END() @@ -366,7 +359,7 @@ + strbuf_addf(&range1, "%s..%.*s", b, a_len, a); + strbuf_addf(&range2, "%.*s..%s", a_len, a, b); + } else { -+ error("Need two commit ranges"); ++ error(_("need two commit ranges")); + usage_with_options(builtin_branch_diff_usage, options); + } + 3: 6a618d6010f = 3: 3032e2709b8 branch-diff: improve the order of the shown commits 4: 141e5b63e45 ! 4: 12d9c7977fd branch-diff: also show the diff between patches @@ -4,10 +4,12 @@ Just like tbdiff, we now show the diff between matching patches. This is a "diff of two diffs", so it can be a bit daunting to read for the - beginnger. + beginner. - This brings branch-diff closer to be feature-complete with regard to - tbdiff. + And just like tbdiff, we now also accept the `--no-patches` option + (which is actually equivalent to the diff option `-s`). + + This brings branch-diff closer to feature parity with regard to tbdiff. An alternative would be to display an interdiff, i.e. the hypothetical diff which is the result of first reverting the old diff and then @@ -34,7 +36,7 @@ +#include "diffcore.h" static const char * const builtin_branch_diff_usage[] = { - N_("git rebase--helper [<options>] ( A..B C..D | A...B | base A B )"), + N_("git branch-diff [<options>] <old-base>..<old-tip> <new-base>..<new-tip>"), @@ return find_unique_abbrev(&util->oid, DEFAULT_ABBREV); } @@ -82,12 +84,9 @@ int cmd_branch_diff(int argc, const char **argv, const char *prefix) { -- int no_patches = 0; -+ struct diff_options diffopt = { 0 }; ++ struct diff_options diffopt = { NULL }; double creation_weight = 0.6; struct option options[] = { -- OPT_BOOL(0, "no-patches", &no_patches, -- N_("short format (no diffs)")), + OPT_SET_INT(0, "no-patches", &diffopt.output_format, + N_("short format (no diffs)"), + DIFF_FORMAT_NO_OUTPUT), 5: 303419c56c4 = 5: 53ee6ba3873 branch-diff: right-trim commit messages 6: 218e56a69e0 ! 6: c856c460a47 branch-diff: indent the diffs just like tbdiff @@ -26,7 +26,7 @@ @@ int cmd_branch_diff(int argc, const char **argv, const char *prefix) { - struct diff_options diffopt = { 0 }; + struct diff_options diffopt = { NULL }; + struct strbuf four_spaces = STRBUF_INIT; double creation_weight = 0.6; struct option options[] = { 7: 00ea45123ae = 7: 35a9681a192 branch-diff: suppress the diff headers 8: 40471263d3c ! 8: 0e4c8279e46 branch-diff: adjust the output of the commit pairs @@ -19,7 +19,7 @@ +#include "pretty.h" static const char * const builtin_branch_diff_usage[] = { - N_("git rebase--helper [<options>] ( A..B C..D | A...B | base A B )"), + N_("git branch-diff [<options>] <old-base>..<old-tip> <new-base>..<new-tip>"), @@ return res; } 9: 9810869ced9 ! 9: 2695a6abc46 branch-diff: do not show "function names" in hunk headers @@ -17,7 +17,7 @@ +#include "userdiff.h" static const char * const builtin_branch_diff_usage[] = { - N_("git rebase--helper [<options>] ( A..B C..D | A...B | base A B )"), + N_("git branch-diff [<options>] <old-base>..<old-tip> <new-base>..<new-tip>"), @@ return data; } 10: fe12b99a0b4 ! 10: 313beeed3d1 branch-diff: add tests @@ -12,7 +12,7 @@ sometimes ambiguous. In this case, a comment line and an empty line are added, but it is ambiguous whether they were added after the existing empty line, or whether an empty line and the comment line are added - *before* the existing emtpy line. And apparently xdiff picks a different + *before* the existing empty line. And apparently xdiff picks a different option here than Python's difflib. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> 11: c89937afc28 = 11: ba4791918c7 branch-diff: use color for the commit pairs 12: a94e94edf65 = 12: 1ebbe359547 color: provide inverted colors, too 13: 153425de2df = 13: ae0ea5dfca5 diff: add an internal option to dual-color diffs of diffs 14: 2f8017c732f ! 14: b9be01705d6 branch-diff: offer to dual-color the diffs @@ -18,7 +18,7 @@ +++ b/builtin/branch-diff.c @@ { - struct diff_options diffopt = { 0 }; + struct diff_options diffopt = { NULL }; struct strbuf four_spaces = STRBUF_INIT; + int dual_color = 0; double creation_weight = 0.6; 15: 62f0e2cf73f = 15: b99ab186c4f branch-diff --dual-color: work around bogus white-space warning 16: edb34bd4f8d ! 16: 950c7537701 branch-diff: add a man page @@ -158,7 +158,7 @@ +series), the cost matrix is extended to allow for that, by adding +fixed-cost entries for wholesale deletes/adds. + -+Example: let commits `1--2` be the first iteration of a patch series and ++Example: Let commits `1--2` be the first iteration of a patch series and +`A--C` the second iteration. Let's assume that `A` is a cherry-pick of +`2,` and `C` is a cherry-pick of `1` but with a small modification (say, +a fixed typo). Visualize the commits as a bipartite graph: 17: 5d047a830f1 = 17: 71698f11835 completion: support branch-diff -- 2.17.0.409.g71698f11835
next prev parent reply index Thread overview: 387+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-05-03 15:30 [PATCH " Johannes Schindelin 2018-05-03 15:30 ` [PATCH 01/18] Add a function to solve least-cost assignment problems Johannes Schindelin 2018-05-13 18:19 ` Duy Nguyen 2018-05-21 9:52 ` Johannes Schindelin 2018-05-03 15:30 ` [PATCH 02/18] Add a new builtin: branch-diff Johannes Schindelin 2018-05-03 16:10 ` Ramsay Jones 2018-05-03 20:25 ` Johannes Schindelin 2018-05-03 23:20 ` Ramsay Jones 2018-05-04 6:40 ` Johannes Schindelin 2018-05-04 15:37 ` Ramsay Jones 2018-05-05 19:41 ` Johannes Schindelin 2018-05-09 16:24 ` Ramsay Jones 2018-06-01 8:23 ` Johannes Schindelin 2018-05-04 16:34 ` Elijah Newren 2018-05-05 20:24 ` Johannes Schindelin 2018-05-03 16:41 ` Duy Nguyen 2018-05-03 20:30 ` Johannes Schindelin 2018-05-03 20:32 ` Johannes Schindelin 2018-05-04 5:15 ` Duy Nguyen 2018-05-04 7:23 ` Johannes Schindelin 2018-05-04 14:44 ` Duy Nguyen 2018-05-04 15:17 ` Duy Nguyen 2018-05-04 15:23 ` Johannes Schindelin 2018-05-04 15:29 ` Duy Nguyen 2018-05-03 16:43 ` Stefan Beller 2018-05-03 20:42 ` Johannes Schindelin 2018-05-03 21:12 ` Stefan Beller 2018-05-03 21:49 ` Johannes Schindelin 2018-05-04 3:23 ` Junio C Hamano 2018-05-04 2:35 ` Eric Sunshine 2018-05-04 6:52 ` Johannes Schindelin 2018-05-04 7:27 ` Eric Sunshine 2018-05-03 15:30 ` [PATCH 03/18] branch-diff: first rudimentary implementation Johannes Schindelin 2018-05-03 16:30 ` Ramsay Jones 2018-05-03 20:44 ` Johannes Schindelin 2018-05-03 17:06 ` Stefan Beller 2018-05-03 21:01 ` Johannes Schindelin 2018-05-03 21:19 ` Stefan Beller 2018-05-03 22:00 ` Johannes Schindelin 2018-05-04 2:35 ` Eric Sunshine 2018-05-04 7:03 ` Johannes Schindelin 2018-05-04 4:56 ` Junio C Hamano 2018-05-04 7:18 ` Johannes Schindelin 2018-05-03 15:30 ` [PATCH 04/18] branch-diff: improve the order of the shown commits Johannes Schindelin 2018-05-03 15:30 ` [PATCH 05/18] branch-diff: also show the diff between patches Johannes Schindelin 2018-05-04 2:51 ` Eric Sunshine 2018-05-04 3:15 ` Eric Sunshine 2018-05-04 7:15 ` Johannes Schindelin 2018-05-03 15:30 ` [PATCH 06/18] branch-diff: right-trim commit messages Johannes Schindelin 2018-05-03 15:30 ` [PATCH 07/18] branch-diff: indent the diffs just like tbdiff Johannes Schindelin 2018-05-03 15:30 ` [PATCH 08/18] branch-diff: suppress the diff headers Johannes Schindelin 2018-05-03 15:30 ` [PATCH 09/18] branch-diff: adjust the output of the commit pairs Johannes Schindelin 2018-05-03 15:30 ` [PATCH 10/18] branch-diff: do not show "function names" in hunk headers Johannes Schindelin 2018-05-03 15:30 ` [PATCH 11/18] branch-diff: add tests Johannes Schindelin 2018-05-03 16:56 ` Ævar Arnfjörð Bjarmason 2018-05-03 21:03 ` Johannes Schindelin 2018-05-03 17:11 ` Stefan Beller 2018-05-03 21:05 ` Johannes Schindelin 2018-05-03 23:27 ` Philip Oakley 2018-05-04 6:42 ` Johannes Schindelin 2018-05-03 15:30 ` [PATCH 12/18] branch-diff: use color for the commit pairs Johannes Schindelin 2018-05-03 15:30 ` [PATCH 13/18] color: provide inverted colors, too Johannes Schindelin 2018-05-03 15:30 ` [PATCH 14/18] diff: add an internal option to dual-color diffs of diffs Johannes Schindelin 2018-05-03 15:31 ` [PATCH 15/18] branch-diff: offer to dual-color the diffs Johannes Schindelin 2018-05-03 15:31 ` [PATCH 16/18] branch-diff --dual-color: work around bogus white-space warning Johannes Schindelin 2018-05-03 15:31 ` [PATCH 17/18] branch-diff: add a man page Johannes Schindelin 2018-05-04 3:27 ` Eric Sunshine 2018-05-04 7:17 ` Johannes Schindelin 2018-05-03 15:31 ` [PATCH 18/18] completion: support branch-diff Johannes Schindelin 2018-05-03 18:05 ` [PATCH 00/18] Add `branch-diff`, a `tbdiff` lookalike Ævar Arnfjörð Bjarmason 2018-05-03 21:07 ` Johannes Schindelin 2018-05-03 21:50 ` Jacob Keller 2018-05-04 5:24 ` Junio C Hamano 2018-05-04 7:24 ` Johannes Schindelin 2018-05-04 15:34 ` Johannes Schindelin [this message] 2018-05-04 15:34 ` [PATCH v2 01/18] Add a function to solve least-cost assignment problems Johannes Schindelin 2018-05-05 18:24 ` Jeff King 2018-05-05 21:55 ` Johannes Schindelin 2018-05-30 13:55 ` SZEDER Gábor 2018-05-30 16:14 ` Stefan Beller 2018-05-30 23:28 ` brian m. carlson 2018-05-31 12:19 ` Johannes Schindelin 2018-05-04 15:34 ` [PATCH v2 02/18] Add a new builtin: branch-diff Johannes Schindelin 2018-05-05 18:26 ` Jeff King 2018-05-05 21:57 ` Johannes Schindelin 2018-05-06 0:25 ` Todd Zullinger 2018-05-06 0:38 ` Todd Zullinger 2018-05-06 12:04 ` Johannes Schindelin 2018-05-06 1:05 ` Igor Djordjevic 2018-05-06 4:53 ` Jacob Keller 2018-05-06 8:32 ` Duy Nguyen 2018-05-06 12:08 ` Johannes Schindelin 2018-05-06 12:10 ` Johannes Schindelin 2018-05-06 13:37 ` Igor Djordjevic 2018-05-07 1:34 ` Johannes Schindelin 2018-05-07 22:05 ` Igor Djordjevic 2018-05-07 22:24 ` Stefan Beller 2018-05-07 23:39 ` Igor Djordjevic 2018-05-08 3:44 ` Jeff King 2018-05-08 3:48 ` Jeff King 2018-05-22 11:38 ` Ævar Arnfjörð Bjarmason 2018-05-25 22:06 ` Stefan Beller [not found] ` <CAA8fPEkNjy+ETz4Mx+C2kUfLjLzR9uuOmO3GfN48ZH1SwyfE1A@mail.gmail.com> 2018-05-26 6:15 ` Fwd: " Øyvind Rønningstad 2018-06-01 8:15 ` Johannes Schindelin 2018-05-06 2:33 ` Junio C Hamano 2018-05-06 12:21 ` Johannes Schindelin 2018-05-06 20:51 ` Eric Sunshine 2018-05-07 2:04 ` Johannes Schindelin 2018-05-07 7:48 ` Jeff King 2018-05-07 21:33 ` Igor Djordjevic 2018-05-21 10:33 ` Johannes Schindelin 2018-05-21 17:56 ` Stefan Beller 2018-05-21 20:24 ` Jeff King 2018-05-21 21:40 ` Brandon Williams 2018-05-21 21:48 ` Stefan Beller 2018-05-21 21:52 ` Jeff King 2018-05-22 2:08 ` Junio C Hamano 2018-05-08 0:30 ` Junio C Hamano 2018-05-07 1:45 ` Junio C Hamano 2018-05-07 5:39 ` Johannes Schindelin 2018-05-07 15:12 ` Junio C Hamano 2018-05-21 10:41 ` Johannes Schindelin 2018-05-07 7:50 ` Jeff King 2018-05-07 15:28 ` Duy Nguyen 2018-05-07 19:58 ` Stefan Beller 2018-05-04 15:34 ` [PATCH v2 03/18] branch-diff: first rudimentary implementation Johannes Schindelin 2018-05-04 15:34 ` [PATCH v2 04/18] branch-diff: improve the order of the shown commits Johannes Schindelin 2018-05-04 15:34 ` [PATCH v2 05/18] branch-diff: also show the diff between patches Johannes Schindelin 2018-05-06 1:14 ` Igor Djordjevic 2018-05-06 12:18 ` Johannes Schindelin 2018-05-04 15:34 ` [PATCH v2 06/18] branch-diff: right-trim commit messages Johannes Schindelin 2018-05-04 15:34 ` [PATCH v2 07/18] branch-diff: indent the diffs just like tbdiff Johannes Schindelin 2018-05-06 14:15 ` Martin Ågren 2018-05-07 1:54 ` Johannes Schindelin 2018-05-04 15:34 ` [PATCH v2 08/18] branch-diff: suppress the diff headers Johannes Schindelin 2018-05-04 15:34 ` [PATCH v2 09/18] branch-diff: adjust the output of the commit pairs Johannes Schindelin 2018-05-04 16:25 ` Elijah Newren 2018-05-04 15:34 ` [PATCH v2 10/18] branch-diff: do not show "function names" in hunk headers Johannes Schindelin 2018-05-04 15:34 ` [PATCH v2 11/18] branch-diff: add tests Johannes Schindelin 2018-05-04 15:34 ` [PATCH v2 12/18] branch-diff: use color for the commit pairs Johannes Schindelin 2018-05-05 23:48 ` Todd Zullinger 2018-05-07 1:52 ` Johannes Schindelin 2018-05-08 2:10 ` Todd Zullinger 2018-06-01 8:17 ` Johannes Schindelin 2018-05-04 15:34 ` [PATCH v2 13/18] color: provide inverted colors, too Johannes Schindelin 2018-05-05 18:29 ` Jeff King 2018-05-05 22:03 ` Johannes Schindelin 2018-05-06 6:35 ` Jeff King 2018-05-06 6:41 ` Jeff King 2018-05-07 1:20 ` Johannes Schindelin 2018-05-07 7:37 ` Jeff King 2018-05-07 1:35 ` Junio C Hamano 2018-05-07 5:38 ` Johannes Schindelin 2018-05-07 7:40 ` Jeff King 2018-05-04 15:34 ` [PATCH v2 14/18] diff: add an internal option to dual-color diffs of diffs Johannes Schindelin 2018-05-04 15:35 ` [PATCH v2 15/18] branch-diff: offer to dual-color the diffs Johannes Schindelin 2018-05-04 15:35 ` [PATCH v2 16/18] branch-diff --dual-color: work around bogus white-space warning Johannes Schindelin 2018-05-04 15:35 ` [PATCH v2 17/18] branch-diff: add a man page Johannes Schindelin 2018-05-04 15:35 ` [PATCH v2 18/18] completion: support branch-diff Johannes Schindelin 2018-05-06 8:24 ` Duy Nguyen 2018-05-07 1:23 ` Johannes Schindelin 2018-05-04 16:21 ` [PATCH v2 00/18] Add `branch-diff`, a `tbdiff` lookalike Elijah Newren 2018-05-04 16:30 ` Elijah Newren 2018-05-05 20:03 ` Johannes Schindelin 2018-05-07 17:07 ` Elijah Newren 2018-05-07 17:50 ` SZEDER Gábor 2018-05-07 18:38 ` Elijah Newren 2018-05-06 5:22 ` Junio C Hamano 2018-05-06 12:23 ` Johannes Schindelin 2018-05-06 22:56 ` brian m. carlson 2018-05-07 2:05 ` Johannes Schindelin 2018-07-03 11:26 ` [PATCH v3 00/20] Add `range-diff`, " Johannes Schindelin via GitGitGadget 2018-04-30 21:54 ` [PATCH v3 01/20] linear-assignment: a function to solve least-cost assignment problems Johannes Schindelin via GitGitGadget 2018-07-06 22:43 ` Junio C Hamano 2018-07-07 11:34 ` Johannes Schindelin 2018-07-07 16:34 ` Junio C Hamano 2018-07-07 19:27 ` Johannes Schindelin 2018-07-07 22:23 ` Johannes Schindelin 2018-07-09 22:08 ` refs/notes/amlog problems, was " Johannes Schindelin 2018-07-11 16:12 ` Junio C Hamano 2018-07-12 15:23 ` Johannes Schindelin 2018-07-12 16:59 ` Junio C Hamano 2018-07-19 17:06 ` Junio C Hamano 2018-07-20 18:51 ` Johannes Schindelin 2018-07-20 19:34 ` Junio C Hamano 2018-07-20 21:20 ` Stefan Beller 2018-07-20 21:24 ` Junio C Hamano [not found] ` <CAPc5daW-KoyUX3i7M5YbdQC2mFKAmVBS42-XT84hpm30VFcZ1g@mail.gmail.com> 2018-07-20 21:30 ` Stefan Beller 2018-07-21 22:02 ` Johannes Schindelin 2018-07-21 21:56 ` Johannes Schindelin 2018-07-23 1:25 ` Jeff King 2018-07-24 1:50 ` Junio C Hamano 2018-07-24 9:45 ` Jeff King 2018-07-09 22:23 ` Junio C Hamano 2018-07-10 10:47 ` refs/notes/amlog woes, was " Johannes Schindelin 2018-07-11 10:07 ` SZEDER Gábor 2018-07-12 15:11 ` Johannes Schindelin 2018-05-01 19:42 ` [PATCH v3 02/20] Introduce `range-diff` to compare iterations of a topic branch Johannes Schindelin via GitGitGadget 2018-05-02 0:34 ` [PATCH v3 03/20] range-diff: first rudimentary implementation Johannes Schindelin via GitGitGadget 2018-07-16 6:55 ` Eric Sunshine 2018-07-17 9:53 ` Johannes Schindelin 2018-05-02 10:22 ` [PATCH v3 04/20] range-diff: improve the order of the shown commits Johannes Schindelin via GitGitGadget 2018-05-02 14:49 ` [PATCH v3 06/20] range-diff: right-trim commit messages Johannes Schindelin via GitGitGadget 2018-05-02 14:52 ` [PATCH v3 07/20] range-diff: indent the diffs just like tbdiff Johannes Schindelin via GitGitGadget 2018-05-02 14:53 ` [PATCH v3 08/20] range-diff: suppress the diff headers Johannes Schindelin via GitGitGadget 2018-05-02 15:19 ` [PATCH v3 11/20] range-diff: add tests Thomas Rast via GitGitGadget 2018-07-16 7:28 ` Eric Sunshine 2018-07-17 16:28 ` Johannes Schindelin 2018-05-02 21:35 ` [PATCH v3 09/20] range-diff: adjust the output of the commit pairs Johannes Schindelin via GitGitGadget 2018-07-16 7:21 ` Eric Sunshine 2018-07-17 16:24 ` Johannes Schindelin 2018-07-17 17:47 ` Stefan Beller 2018-07-20 18:57 ` Johannes Schindelin 2018-07-20 19:16 ` Stefan Beller 2018-07-21 22:07 ` Johannes Schindelin 2018-05-02 23:32 ` [PATCH v3 12/20] range-diff: use color for " Johannes Schindelin via GitGitGadget 2018-05-03 0:14 ` [PATCH v3 13/20] color: add the meta color GIT_COLOR_REVERSE Johannes Schindelin via GitGitGadget 2018-05-03 0:17 ` [PATCH v3 14/20] diff: add an internal option to dual-color diffs of diffs Johannes Schindelin via GitGitGadget 2018-07-09 19:29 ` Stefan Beller 2018-07-10 17:45 ` [PATCH 0/2] " Stefan Beller 2018-07-10 17:45 ` [PATCH 1/2] diff.c: convert emit_line_ws_markup to take string for sign Stefan Beller 2018-07-10 17:45 ` [PATCH 2/2] WIP diff.c: clarify emit_line_0 Stefan Beller 2018-07-10 19:58 ` [PATCH 1/2] diff.c: convert emit_line_ws_markup to take string for sign Stefan Beller 2018-07-10 19:59 ` [PATCH] diff.c: clarify emit_line_0 Stefan Beller 2018-07-10 21:54 ` [PATCH] ws: do not reset and set color twice Stefan Beller 2018-07-21 21:13 ` [PATCH 0/2] Re: [PATCH v3 14/20] diff: add an internal option to dual-color diffs of diffs Johannes Schindelin 2018-05-03 1:01 ` [PATCH v3 15/20] range-diff: offer to dual-color the diffs Johannes Schindelin via GitGitGadget 2018-05-03 1:11 ` [PATCH v3 16/20] range-diff --dual-color: work around bogus white-space warning Johannes Schindelin via GitGitGadget 2018-07-09 19:34 ` Stefan Beller 2018-07-09 21:02 ` Junio C Hamano 2018-07-10 10:08 ` Johannes Schindelin 2018-07-10 15:50 ` Junio C Hamano 2018-07-10 16:32 ` Stefan Beller 2018-07-21 21:44 ` Johannes Schindelin 2018-05-03 13:50 ` [PATCH v3 17/20] range-diff: add a man page Johannes Schindelin via GitGitGadget 2018-07-09 18:20 ` Stefan Beller 2018-07-09 20:00 ` Johannes Schindelin 2018-07-09 20:25 ` Stefan Beller 2018-07-09 20:38 ` Johannes Schindelin 2018-07-16 8:01 ` Eric Sunshine 2018-07-17 16:39 ` Johannes Schindelin 2018-05-03 14:44 ` [PATCH v3 18/20] completion: support `git range-diff` Johannes Schindelin via GitGitGadget 2018-07-06 22:46 ` Junio C Hamano 2018-07-07 11:38 ` Johannes Schindelin 2018-05-05 19:52 ` [PATCH v3 19/20] range-diff: left-pad patch numbers Johannes Schindelin via GitGitGadget 2018-05-06 15:26 ` [PATCH v3 05/20] range-diff: also show the diff between patches Johannes Schindelin via GitGitGadget 2018-05-06 15:35 ` [PATCH v3 10/20] range-diff: do not show "function names" in hunk headers Johannes Schindelin via GitGitGadget 2018-06-30 20:41 ` [PATCH v3 20/20] range-diff: make --dual-color the default mode Johannes Schindelin via GitGitGadget 2018-07-16 8:06 ` Eric Sunshine 2018-07-17 16:40 ` Johannes Schindelin 2018-07-21 22:04 ` [PATCH v4 00/21] Add `range-diff`, a `tbdiff` lookalike Johannes Schindelin via GitGitGadget 2018-07-21 22:04 ` [PATCH v4 01/21] linear-assignment: a function to solve least-cost assignment problems Johannes Schindelin via GitGitGadget 2018-07-28 8:46 ` Thomas Gummerer 2018-07-30 15:59 ` Johannes Schindelin 2018-07-21 22:04 ` [PATCH v4 02/21] Introduce `range-diff` to compare iterations of a topic branch Johannes Schindelin via GitGitGadget 2018-07-21 22:04 ` [PATCH v4 03/21] range-diff: first rudimentary implementation Johannes Schindelin via GitGitGadget 2018-07-29 18:36 ` Thomas Gummerer 2018-07-30 16:21 ` Johannes Schindelin 2018-07-30 21:16 ` Thomas Gummerer 2018-08-10 20:50 ` Johannes Schindelin 2018-07-21 22:04 ` [PATCH v4 04/21] range-diff: improve the order of the shown commits Johannes Schindelin via GitGitGadget 2018-07-21 22:04 ` [PATCH v4 05/21] range-diff: also show the diff between patches Johannes Schindelin via GitGitGadget 2018-07-29 19:03 ` Thomas Gummerer 2018-07-29 19:22 ` Eric Sunshine 2018-07-29 21:45 ` Thomas Gummerer 2018-07-30 16:28 ` Johannes Schindelin 2018-07-30 21:26 ` Thomas Gummerer 2018-07-30 21:51 ` Eric Sunshine 2018-08-10 21:12 ` Johannes Schindelin 2018-08-10 21:31 ` Eric Sunshine 2018-08-10 22:02 ` Johannes Schindelin 2018-08-10 20:36 ` Johannes Schindelin 2018-07-21 22:04 ` [PATCH v4 06/21] range-diff: right-trim commit messages Johannes Schindelin via GitGitGadget 2018-07-21 22:04 ` [PATCH v4 07/21] range-diff: indent the diffs just like tbdiff Johannes Schindelin via GitGitGadget 2018-07-21 22:04 ` [PATCH v4 08/21] range-diff: suppress the diff headers Johannes Schindelin via GitGitGadget 2018-07-21 22:04 ` [PATCH v4 09/21] range-diff: adjust the output of the commit pairs Johannes Schindelin via GitGitGadget 2018-07-29 19:38 ` Thomas Gummerer 2018-08-10 21:01 ` Johannes Schindelin 2018-07-29 21:28 ` Thomas Gummerer 2018-07-21 22:04 ` [PATCH v4 10/21] range-diff: do not show "function names" in hunk headers Johannes Schindelin via GitGitGadget 2018-07-29 20:52 ` Thomas Gummerer 2018-08-10 21:03 ` Johannes Schindelin 2018-07-21 22:05 ` [PATCH v4 11/21] range-diff: add tests Thomas Rast via GitGitGadget 2018-07-22 5:04 ` Eric Sunshine 2018-07-30 16:30 ` Johannes Schindelin 2018-07-30 20:18 ` Junio C Hamano 2018-07-30 23:40 ` Stefan Beller 2018-07-31 15:19 ` Junio C Hamano 2018-07-23 21:25 ` Stefan Beller 2018-07-21 22:05 ` [PATCH v4 12/21] range-diff: use color for the commit pairs Johannes Schindelin via GitGitGadget 2018-07-21 22:05 ` [PATCH v4 13/21] color: add the meta color GIT_COLOR_REVERSE Johannes Schindelin via GitGitGadget 2018-07-21 22:05 ` [PATCH v4 14/21] diff: add an internal option to dual-color diffs of diffs Johannes Schindelin via GitGitGadget 2018-07-23 22:27 ` Junio C Hamano 2018-07-23 22:48 ` Stefan Beller 2018-07-21 22:05 ` [PATCH v4 15/21] range-diff: offer to dual-color the diffs Johannes Schindelin via GitGitGadget 2018-07-21 22:05 ` [PATCH v4 16/21] range-diff --dual-color: fix bogus white-space warning Johannes Schindelin via GitGitGadget 2018-07-23 22:20 ` Stefan Beller 2018-08-10 21:05 ` Johannes Schindelin 2018-07-23 22:39 ` Junio C Hamano 2018-07-24 1:27 ` Junio C Hamano 2018-07-21 22:05 ` [PATCH v4 17/21] range-diff: populate the man page Johannes Schindelin via GitGitGadget 2018-07-29 21:23 ` Thomas Gummerer 2018-08-10 21:06 ` Johannes Schindelin 2018-07-21 22:05 ` [PATCH v4 18/21] completion: support `git range-diff` Johannes Schindelin via GitGitGadget 2018-07-22 5:49 ` Eric Sunshine 2018-08-10 20:24 ` Johannes Schindelin 2018-07-21 22:05 ` [PATCH v4 19/21] range-diff: left-pad patch numbers Johannes Schindelin via GitGitGadget 2018-07-21 22:05 ` [PATCH v4 20/21] range-diff: make --dual-color the default mode Johannes Schindelin via GitGitGadget 2018-07-29 21:33 ` Thomas Gummerer 2018-08-10 21:07 ` Johannes Schindelin 2018-07-21 22:05 ` [PATCH v4 21/21] range-diff: use dim/bold cues to improve dual color mode Johannes Schindelin via GitGitGadget 2018-07-23 21:03 ` [PATCH v4 00/21] Add `range-diff`, a `tbdiff` lookalike Stefan Beller 2018-07-23 21:49 ` Junio C Hamano 2018-07-25 17:44 ` Stefan Beller 2018-07-26 9:47 ` Johannes Schindelin 2018-08-08 13:05 ` Johannes Schindelin 2018-08-08 17:33 ` Stefan Beller 2018-08-10 21:18 ` Johannes Schindelin 2018-08-10 21:31 ` Junio C Hamano 2018-08-10 22:00 ` Johannes Schindelin 2018-07-29 21:50 ` Thomas Gummerer 2018-08-10 22:14 ` [PATCH v5 00/21] Add range-diff, a tbdiff lookalike Johannes Schindelin via GitGitGadget 2018-08-10 22:14 ` [PATCH v5 01/21] linear-assignment: a function to solve least-cost assignment problems Johannes Schindelin via GitGitGadget 2018-08-10 22:14 ` [PATCH v5 02/21] Introduce `range-diff` to compare iterations of a topic branch Johannes Schindelin via GitGitGadget 2018-08-10 22:14 ` [PATCH v5 03/21] range-diff: first rudimentary implementation Johannes Schindelin via GitGitGadget 2018-08-10 22:14 ` [PATCH v5 04/21] range-diff: improve the order of the shown commits Johannes Schindelin via GitGitGadget 2018-08-10 22:14 ` [PATCH v5 05/21] range-diff: also show the diff between patches Johannes Schindelin via GitGitGadget 2018-08-12 21:47 ` Thomas Gummerer 2018-08-13 9:46 ` Johannes Schindelin 2018-08-13 18:01 ` Thomas Gummerer 2018-08-10 22:14 ` [PATCH v5 06/21] range-diff: right-trim commit messages Johannes Schindelin via GitGitGadget 2018-08-10 22:14 ` [PATCH v5 07/21] range-diff: indent the diffs just like tbdiff Johannes Schindelin via GitGitGadget 2018-08-10 22:14 ` [PATCH v5 08/21] range-diff: suppress the diff headers Johannes Schindelin via GitGitGadget 2018-08-10 22:14 ` [PATCH v5 09/21] range-diff: adjust the output of the commit pairs Johannes Schindelin via GitGitGadget 2018-08-10 22:14 ` [PATCH v5 10/21] range-diff: do not show "function names" in hunk headers Johannes Schindelin via GitGitGadget 2018-08-10 22:14 ` [PATCH v5 11/21] range-diff: add tests Thomas Rast via GitGitGadget 2018-08-10 22:14 ` [PATCH v5 12/21] range-diff: use color for the commit pairs Johannes Schindelin via GitGitGadget 2018-08-10 22:14 ` [PATCH v5 13/21] color: add the meta color GIT_COLOR_REVERSE Johannes Schindelin via GitGitGadget 2018-08-10 22:14 ` [PATCH v5 14/21] diff: add an internal option to dual-color diffs of diffs Johannes Schindelin via GitGitGadget 2018-08-10 22:14 ` [PATCH v5 15/21] range-diff: offer to dual-color the diffs Johannes Schindelin via GitGitGadget 2018-08-10 22:14 ` [PATCH v5 16/21] range-diff --dual-color: skip white-space warnings Johannes Schindelin via GitGitGadget 2018-08-10 22:14 ` [PATCH v5 17/21] range-diff: populate the man page Johannes Schindelin via GitGitGadget 2018-08-10 22:14 ` [PATCH v5 18/21] completion: support `git range-diff` Johannes Schindelin via GitGitGadget 2018-08-10 22:14 ` [PATCH v5 19/21] range-diff: left-pad patch numbers Johannes Schindelin via GitGitGadget 2018-08-10 22:14 ` [PATCH v5 20/21] range-diff: make --dual-color the default mode Johannes Schindelin via GitGitGadget 2018-08-10 22:14 ` [PATCH v5 21/21] range-diff: use dim/bold cues to improve dual color mode Johannes Schindelin via GitGitGadget 2018-08-13 11:32 ` [PATCH v6 00/21] Add range-diff, a tbdiff lookalike Johannes Schindelin via GitGitGadget 2018-08-13 11:33 ` [PATCH v6 01/21] linear-assignment: a function to solve least-cost assignment problems Johannes Schindelin via GitGitGadget 2018-08-13 11:33 ` [PATCH v6 02/21] Introduce `range-diff` to compare iterations of a topic branch Johannes Schindelin via GitGitGadget 2018-08-13 11:33 ` [PATCH v6 03/21] range-diff: first rudimentary implementation Johannes Schindelin via GitGitGadget 2019-03-05 6:29 ` Junio C Hamano 2018-08-13 11:33 ` [PATCH v6 04/21] range-diff: improve the order of the shown commits Johannes Schindelin via GitGitGadget 2018-08-13 11:33 ` [PATCH v6 05/21] range-diff: also show the diff between patches Johannes Schindelin via GitGitGadget 2018-08-13 11:33 ` [PATCH v6 06/21] range-diff: right-trim commit messages Johannes Schindelin via GitGitGadget 2018-08-13 11:33 ` [PATCH v6 07/21] range-diff: indent the diffs just like tbdiff Johannes Schindelin via GitGitGadget 2018-08-13 11:33 ` [PATCH v6 08/21] range-diff: suppress the diff headers Johannes Schindelin via GitGitGadget 2018-08-13 11:33 ` [PATCH v6 09/21] range-diff: adjust the output of the commit pairs Johannes Schindelin via GitGitGadget 2018-08-13 11:33 ` [PATCH v6 10/21] range-diff: do not show "function names" in hunk headers Johannes Schindelin via GitGitGadget 2018-08-13 11:33 ` [PATCH v6 11/21] range-diff: add tests Thomas Rast via GitGitGadget 2018-08-13 18:35 ` Thomas Gummerer 2018-08-14 14:53 ` Johannes Schindelin 2018-08-14 15:03 ` Jeff King 2018-08-14 15:06 ` Jeff King 2018-08-14 15:18 ` Junio C Hamano 2018-08-13 11:33 ` [PATCH v6 12/21] range-diff: use color for the commit pairs Johannes Schindelin via GitGitGadget 2018-08-13 11:33 ` [PATCH v6 13/21] color: add the meta color GIT_COLOR_REVERSE Johannes Schindelin via GitGitGadget 2018-08-13 11:33 ` [PATCH v6 14/21] diff: add an internal option to dual-color diffs of diffs Johannes Schindelin via GitGitGadget 2018-08-13 11:33 ` [PATCH v6 15/21] range-diff: offer to dual-color the diffs Johannes Schindelin via GitGitGadget 2018-08-13 11:33 ` [PATCH v6 16/21] range-diff --dual-color: skip white-space warnings Johannes Schindelin via GitGitGadget 2018-08-13 17:48 ` Junio C Hamano 2018-08-13 11:33 ` [PATCH v6 17/21] range-diff: populate the man page Johannes Schindelin via GitGitGadget 2018-09-09 11:14 ` Ævar Arnfjörð Bjarmason 2018-09-09 16:54 ` SZEDER Gábor 2018-09-09 17:19 ` Ævar Arnfjörð Bjarmason 2018-09-10 13:37 ` Jeff King 2018-10-02 15:06 ` Johannes Schindelin 2018-09-10 17:17 ` Junio C Hamano 2018-08-13 11:33 ` [PATCH v6 18/21] completion: support `git range-diff` Johannes Schindelin via GitGitGadget 2018-08-13 11:33 ` [PATCH v6 19/21] range-diff: left-pad patch numbers Johannes Schindelin via GitGitGadget 2018-08-13 11:33 ` [PATCH v6 20/21] range-diff: make --dual-color the default mode Johannes Schindelin via GitGitGadget 2018-08-13 11:33 ` [PATCH v6 21/21] range-diff: use dim/bold cues to improve dual color mode Johannes Schindelin via GitGitGadget 2018-08-13 11:38 ` [PATCH v6 00/21] Add range-diff, a tbdiff lookalike Johannes Schindelin 2018-08-13 20:47 ` Thomas Gummerer 2018-05-21 4:48 ` [PATCH 00/18] Add `branch-diff`, a `tbdiff` lookalike Junio C Hamano 2018-05-21 9:51 ` Johannes Schindelin 2018-05-22 1:42 ` Junio C Hamano 2018-06-01 8:28 ` Johannes Schindelin
Reply instructions: You may reply publically to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style List information: http://vger.kernel.org/majordomo-info.html * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=cover.1525448066.git.johannes.schindelin@gmx.de \ --to=johannes.schindelin@gmx.de \ --cc=avarab@gmail.com \ --cc=git@vger.kernel.org \ --cc=gitster@pobox.com \ --cc=jacob.keller@gmail.com \ --cc=ramsay@ramsayjones.plus.com \ --cc=sbeller@google.com \ --cc=sunshine@sunshineco.com \ --cc=t.gummerer@gmail.com \ --cc=tr@thomasrast.ch \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
git@vger.kernel.org list mirror (unofficial, one of many) Archives are clonable: git clone --mirror https://public-inbox.org/git git clone --mirror http://ou63pmih66umazou.onion/git git clone --mirror http://czquwvybam4bgbro.onion/git git clone --mirror http://hjrcffqmbrq6wope.onion/git Example config snippet for mirrors Newsgroups are available over NNTP: nntp://news.public-inbox.org/inbox.comp.version-control.git nntp://ou63pmih66umazou.onion/inbox.comp.version-control.git nntp://czquwvybam4bgbro.onion/inbox.comp.version-control.git nntp://hjrcffqmbrq6wope.onion/inbox.comp.version-control.git nntp://news.gmane.org/gmane.comp.version-control.git note: .onion URLs require Tor: https://www.torproject.org/ AGPL code for this site: git clone https://public-inbox.org/public-inbox.git