X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=dgit-maint-debrebase.7.pod;h=b4330f9d8a6804088ae7a45659bc4b26580bb7a0;hb=48cd6449acfebc08b1ba2c00871737759c285216;hp=b8f26400ab6b486bb5047a80a70d7a616a300aff;hpb=b043825debebbfe4d3f44b6c51712f787dd0bf11;p=dgit.git diff --git a/dgit-maint-debrebase.7.pod b/dgit-maint-debrebase.7.pod index b8f26400..b4330f9d 100644 --- a/dgit-maint-debrebase.7.pod +++ b/dgit-maint-debrebase.7.pod @@ -458,6 +458,53 @@ Note that this will introduce a new pseudomerge. After dgit pushing, be sure to git push to B, if you're using that. +=head1 INSPECTING THE HISTORY + +The git history made by git-debrebase can seem complicated. +Here are some suggestions for helpful invocations of gitk and git. +They can be adapted for other tools like tig, git log, etc. + +=over + +=item History of package in Debian (disregarding history from upstream): + + % gitk --first-parent + +In a laundered branch, the delta queue is at the top. + +=item History of the packaging (excluding the delta queue) + + % gitk :/debian :!/debian/patches + +=item Just the delta queue (ie, Debian's changes to upstream): + + % gitk --first-parent -- :/ :!/debian + +=item Full history including old versions of the delta queue: + + % gitk --date-order + +The "Declare fast forward" commits you see have an older history +(usually, an older delta queue) as one parent, +and a newer history as the other. +--date-order makes gitk show the delta queues in the right order. + +=item Show complete diff since the last upload: + + % git diff dgit/dgit/sid..HEAD -- :/ :!/debian/patches +(Includes changes to upstream files.) + +=item Interdiff of delta queue since last upload, if you really want that: + + % git debrebase make-patches + % git diff dgit/dgit/sid..HEAD -- debian/patches + +=back + +Also of course there is + + % git debrebase status + =head1 HANDLING DFSG-NON-FREE MATERIAL =head2 Illegal material @@ -661,6 +708,7 @@ git-rebase without a base argument will often start the rebase too early, and should be avoided. Run git-debrebase instead. +See also "ILLEGAL OPERATIONS" in git-debrebase(5). =head1 SEE ALSO