[Intel-gfx] [maintainer-tools RFC PATCH 10/17] dim: rename magic_patch to dim_magic_patch
Jani Nikula
jani.nikula at intel.com
Tue Jan 26 06:32:23 PST 2016
Add dim_ prefix to functions corresponding to subcommands.
Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
dim | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dim b/dim
index c72f58302bae..b9152a256a26 100755
--- a/dim
+++ b/dim
@@ -396,7 +396,7 @@ function dim_apply_branch
eval $DRY $DIM_POST_APPLY_ACTION
}
-function magic_patch
+function dim_magic_patch
{
if [[ "$1" = "-a" ]]; then
cd `cat ~/.dim-last-path`
@@ -818,7 +818,7 @@ case "$subcommand" in
git am --whitespace=fix -3 -s
;;
magic-patch|mp)
- magic_patch "$@"
+ dim_magic_patch "$@"
;;
magic-rebase-resolve|mrr)
git diff HEAD | patch -p1 -R
--
2.1.4
More information about the Intel-gfx
mailing list