From: Jani Nikula <jani.nikula@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: jani.nikula@intel.com
Subject: [maintainer-tools PATCH 2/4] dim: remove dim cherry-pick-branch subcommand
Date: Fri, 11 Aug 2017 18:03:23 +0300 [thread overview]
Message-ID: <20170811150325.11033-2-jani.nikula@intel.com> (raw)
In-Reply-To: <20170811150325.11033-1-jani.nikula@intel.com>
Demote dim_cherry_pick_branch to an internal function. It's too
specialized (at least for now) to be useful for anything other than as a
helper for the cherry-pick-fixes and cherry-pick-next-fixes subcommands.
As a side effect, fixes mancheck for missing documentation for the
subcommand.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
dim | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dim b/dim
index 2b377cb3a3f3..2f8da975c36a 100755
--- a/dim
+++ b/dim
@@ -987,7 +987,7 @@ function git_list_fixes
"$@"
}
-function dim_cherry_pick_branch
+function cherry_pick_branch
{
local branch log fail_log needed have_fixes
@@ -1057,13 +1057,13 @@ function dim_cherry_pick_branch
function dim_cherry_pick_fixes
{
assert_branch drm-intel-fixes
- dim_cherry_pick_branch drm-intel-fixes "$@"
+ cherry_pick_branch drm-intel-fixes "$@"
}
function dim_cherry_pick_next_fixes
{
assert_branch drm-intel-next-fixes
- dim_cherry_pick_branch drm-intel-next-fixes "$@"
+ cherry_pick_branch drm-intel-next-fixes "$@"
}
dim_alias_ar=apply-resolved
--
2.11.0
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2017-08-11 14:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-11 15:03 [maintainer-tools PATCH 1/4] doc: add documentation for dim commit-add-tag Jani Nikula
2017-08-11 15:03 ` Jani Nikula [this message]
2017-08-11 17:52 ` [maintainer-tools PATCH 2/4] dim: remove dim cherry-pick-branch subcommand Rodrigo Vivi
2017-08-11 15:03 ` [maintainer-tools PATCH 3/4] dim: remove af and anf aliases Jani Nikula
2017-08-11 17:58 ` Rodrigo Vivi
2017-08-11 15:03 ` [maintainer-tools PATCH 4/4] dim: fix list-aliases to not include itself Jani Nikula
2017-08-11 17:57 ` Rodrigo Vivi
2017-08-11 17:47 ` [maintainer-tools PATCH 1/4] doc: add documentation for dim commit-add-tag Rodrigo Vivi
2017-08-14 9:16 ` Jani Nikula
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170811150325.11033-2-jani.nikula@intel.com \
--to=jani.nikula@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox