From 960eef53438ef5879544d36b1dfcd3d04c61a7f7 Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Mon, 3 Jun 2013 12:36:29 +0300 Subject: [PATCH] import: give --create-missing-branches to git-import-srpm Makes importing into existing git repository easier as one doesn't need to manually create any missing (master or upstream) branches. Change-Id: I6b1f21bf7a99fc9810c7972166f1506007d75134 Signed-off-by: Markus Lehtonen --- gitbuildsys/cmd_import.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gitbuildsys/cmd_import.py b/gitbuildsys/cmd_import.py index efd8e88..67c7d52 100644 --- a/gitbuildsys/cmd_import.py +++ b/gitbuildsys/cmd_import.py @@ -64,6 +64,7 @@ def main(args): params.append('--upstream-vcs-tag=%s' % args.upstream_vcs_tag) if path.endswith('.src.rpm') or path.endswith('.spec'): + params.append("--create-missing-branches") if args.allow_same_version: params.append("--allow-same-version") if args.native: -- 2.34.1