diff options
Diffstat (limited to 'examples/gbp-pq')
-rwxr-xr-x | examples/gbp-pq | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/examples/gbp-pq b/examples/gbp-pq index 035412ab..96b1fe6c 100755 --- a/examples/gbp-pq +++ b/examples/gbp-pq @@ -71,15 +71,16 @@ pq_import() return 1 fi - if [ ! -r ${patches}series ]; then - echo "Found no series file at \"$patches\"." - return 1 - fi - if ! git checkout -b $pq; then echo "Cannot create patch-queue branch \"$pq\"." return 1 fi + + if [ ! -r ${patches}series ]; then + echo "Found no series file at \"$patches\". Patch-queue branch will be empty." + return 0 + fi + QUILT_PATCHES=$patches git quiltimport } |