From: Ian Jackson Date: Fri, 10 Mar 2017 15:34:48 +0000 (+0000) Subject: git-debrebase: wip notes X-Git-Tag: archive/debian/5.0~377 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=c7326d0b665f3832ab36409d6c93cacccb6b8c68 git-debrebase: wip notes --- diff --git a/git-debrebase b/git-debrebase index 71167e89..ba990e74 100755 --- a/git-debrebase +++ b/git-debrebase @@ -20,8 +20,8 @@ # usages: # git-debrebase status -# git-debrebase start # like ffrebase start + debrebase launder -# git-debrebase new-upstream [-f] ... +# git-debrebase start # like ffqrebase start + debrebase launder +# git-debrebase new-upstream [stuff] # see below # git-debrebase # does debrebase start if necessary # # git-debrebase analyse @@ -36,9 +36,37 @@ # xxx want auto branch names # xxx too complicated # how about for now -# [+] [ [+]...] +# [+] [ [+]...] # ? plus options # --new-upstream-different-subtrees +# +# automatic case +# git-debrebase new-upstream +# - previous breakwater merge must be gdr-generated +# - orig set is the same as before +# - implicitly uses upstream branches according to orig set +# - not all upstream branches need be updated +# - insists on fast-forward of each branch, unless +# --force (or --force=[/]) +# branch set adjustments +# git-debrebase new-upstream --add / +# git-debrebase new-upstream --rm / +# git-debrebase new-upstream / [/ ...] +# - orig set is adjusted +# - otherwise like auto (--add is not checked for ffness, obv) +# - multiple --add and --rm may be specified +# - --add makes new upstream the last contributor +# explicit +# git-debrebase / [] [/ [] ...] +# - orig set is precisely as specified now +# - previous breakwater merge is irrelevant +# - no fast forward checks +# for now only explicit with commitids + + # implicitly uses `upstream' +# # (or multiple other branches) +# git-debrebase new-upstream \ +# [/]= # UPSTREAM[,[[SUBDIR:]SUBUPSTREAM] # default for SUBDIR: is from previous upstream merge[xxx terminology] @@ -48,15 +76,16 @@ # when starting must record original start (for ff) # and new rebase basis # -# git-ffrebase start [BASE] # records previous HEAD so it can be overwritten -# # records base for future git-ffrebase -# git-ffrebase set-base BASE -# git-ffrebase -# git-ffrebase finish -# git-ffrebase status [BRANCH] +# git-ffqrebase start [BASE] +# # records previous HEAD so it can be overwritten +# # records base for future git-ffqrebase +# git-ffqrebase set-base BASE +# git-ffqrebase +# git-ffqrebase finish +# git-ffqrebase status [BRANCH] # -# refs/ffrebase-prev/BRANCH BRANCH may be refs/...; if not it means -# refs/ffrebase-base/BRANCH refs/heads/BRANCH +# refs/ffqrebase-prev/BRANCH BRANCH may be refs/...; if not it means +# refs/ffqrebase-base/BRANCH refs/heads/BRANCH # zero, one, or both of these may exist use strict;