Limit branch length
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
3f9c6dc4c3
commit
0419fd00c8
2 changed files with 3 additions and 5 deletions
|
@ -1,6 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -e
|
set -euo pipefail
|
||||||
set -o pipefail
|
|
||||||
|
|
||||||
git checkout -b $(slugify "$@")
|
git checkout -b $(slugify -l 35 "$@")
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -eu
|
set -euo pipefail
|
||||||
set -o pipefail
|
|
||||||
|
|
||||||
source "${HOME}/bin/script_framework.sh"
|
source "${HOME}/bin/script_framework.sh"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue