[PATCH 0/2] Adjust mkbranch for automating git branch creation

Pierre-Yves Chibon pingou at pingoured.fr
Tue Nov 4 11:23:32 UTC 2014


Hi all,

Here is a proposed set of changes to the mkbranch script.
The first patch is just replacing all tabs in the file by spaces (simple
clean-up).

The second is the more important one. It drops the use/support of the
-s/--source argument.
This argument is currently used to specify from which point to branch when
creating a branch in the repo.
We argeed that instead of pointing to a specific branch (which would require
keeping a mapping somewhere of which branch should be branched from which other
branch), we would create the new branch by pointing them to the first commit in
the repository.
That's what this commit (hopefully) does :)

Thanks,
Pierre


Pierre-Yves Chibon (2):
  Replace tab with spaces
  Drop the -s/--source branch argument in mkbranch

 roles/distgit/files/mkbranch | 102 +++++++++++++++++++------------------------
 1 file changed, 44 insertions(+), 58 deletions(-)

-- 
1.9.3



More information about the rel-eng mailing list