pdev créer la branche si elle n'existe pas
This commit is contained in:
parent
45528e1e08
commit
8c37fc15a8
9
bin/pdev
9
bin/pdev
@ -137,8 +137,13 @@ merge)
|
||||
;;
|
||||
esac
|
||||
git_ensure_cleancheckout
|
||||
ensure_branches
|
||||
merge_action "$@"
|
||||
if ! array_contains LocalBranches "$SrcBranch"; then
|
||||
# si la branche source n'existe pas, la créer
|
||||
exec "$MYDIR/pman" "$FEATURE${SrcBranch#$FEATURE}"
|
||||
else
|
||||
ensure_branches
|
||||
merge_action "$@"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
die "$action: action non implémentée"
|
||||
|
Reference in New Issue
Block a user