From patchwork Tue Jan 26 14:32:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jani Nikula X-Patchwork-Id: 8123631 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 975DDBEEE5 for ; Tue, 26 Jan 2016 14:33:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C662E2026F for ; Tue, 26 Jan 2016 14:33:24 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 5F09F2027D for ; Tue, 26 Jan 2016 14:33:23 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CF3106E5EF; Tue, 26 Jan 2016 06:33:22 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTP id 4E93A6E5EF for ; Tue, 26 Jan 2016 06:33:16 -0800 (PST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP; 26 Jan 2016 06:33:13 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,350,1449561600"; d="scan'208";a="901420422" Received: from jnikula-mobl.fi.intel.com (HELO localhost) ([10.237.72.67]) by fmsmga002.fm.intel.com with ESMTP; 26 Jan 2016 06:33:12 -0800 From: Jani Nikula To: intel-gfx@lists.freedesktop.org Date: Tue, 26 Jan 2016 16:32:30 +0200 Message-Id: <40d5e4572632380c796f81b2184e3930bd4ef72f.1453818220.git.jani.nikula@intel.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: References: In-Reply-To: References: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Cc: jani.nikula@intel.com Subject: [Intel-gfx] [maintainer-tools RFC PATCH 17/17] dim: abstract dim_push_* X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Jani Nikula --- dim | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/dim b/dim index 1f51ab9292b1..d5149f01db34 100755 --- a/dim +++ b/dim @@ -373,6 +373,21 @@ function dim_push_branch update_linux_next } +function dim_push_queued +{ + dim_push_branch drm-intel-next-queued "$@" +} + +function dim_push_next_fixes +{ + dim_push_branch drm-intel-next-fixes "$@" +} + +function dim_push_fixes +{ + dim_push_branch drm-intel-fixes "$@" +} + # ensure we're on branch $1, and apply patches. the rest of the arguments are # passed to git am. function dim_apply_branch @@ -803,15 +818,6 @@ case "$subcmd" in cd $DIM_PREFIX/drm-intel-nightly cat > `cat .fixup_file_path` ;; - push-queued) - dim_push_branch drm-intel-next-queued "$@" - ;; - push-next-fixes) - dim_push_branch drm-intel-next-fixes "$@" - ;; - push-fixes) - dim_push_branch drm-intel-fixes "$@" - ;; conq) dim_checkout drm-intel-next-queued ;;