git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-format-patch possible regressions
@ 2006-05-25 19:23 Marco Costalba
  2006-05-25 19:43 ` Linus Torvalds
  2006-05-25 19:56 ` Junio C Hamano
  0 siblings, 2 replies; 14+ messages in thread
From: Marco Costalba @ 2006-05-25 19:23 UTC (permalink / raw)
  To: git

A couple of possible regressions:

1) Unreconized --signoff option

$ git --version
git version 1.3.3.ged90
$ git-format-patch -s HEAD^..HEAD
0001-cat-file-document-p-option.txt
$ git-format-patch --signoff HEAD^..HEAD
fatal: unrecognized argument: --signoff


2) Unhandled ranges list

$ git --version
git version 1.3.3.ged90
$ git-format-patch -s HEAD^..HEAD HEAD^^..HEAD^
0001-cat-file-document-p-option.txt

$ git --version
git version 1.3.3.gf205
git checkout -b test 51ce34b9923d9b119ac53414584f80e05520abea
$ git-format-patch HEAD^..HEAD HEAD^^..HEAD^
0001-Builtin-git-show-branch.txt
0002-Builtin-git-apply.txt

Both regressions brake qgit. The first one is easy to fix (--signoff  --> -s)
The second one is not so easy.
It is use to format a patch series starting from a mouse selected
multiple revisions. Note that the revisions could be not consecutive.
Note also that looping git-format-patch for each revision does not
updates patch number that always stay at 0001.

Feeding all the selected revisions in one go in the form
git-format-patch sel1^..sel1  sel2^..sel2    ........  seln^..seln is
the only way I have found to:

1) create a patch series of (randomly) selected revisions

2) increment patch numbers for each patch


   Marco

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2006-05-28  9:57 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-25 19:23 git-format-patch possible regressions Marco Costalba
2006-05-25 19:43 ` Linus Torvalds
2006-05-25 20:10   ` Marco Costalba
2006-05-25 19:56 ` Junio C Hamano
2006-05-25 20:21   ` Marco Costalba
2006-05-25 21:55   ` Johannes Schindelin
2006-05-25 22:18     ` Johannes Schindelin
2006-05-25 23:11       ` Junio C Hamano
2006-05-25 23:28         ` Johannes Schindelin
2006-05-26  6:09           ` Marco Costalba
2006-05-26  6:16             ` Junio C Hamano
2006-05-26  6:26               ` Jakub Narebski
2006-05-27  9:12               ` Marco Costalba
2006-05-28  9:57                 ` Johannes Schindelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).