summaryrefslogtreecommitdiff
path: root/tools/moveconfig.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/moveconfig.py')
-rwxr-xr-xtools/moveconfig.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/moveconfig.py b/tools/moveconfig.py
index 6fa394a..6921135 100755
--- a/tools/moveconfig.py
+++ b/tools/moveconfig.py
@@ -404,6 +404,8 @@ def get_matched_defconfigs(defconfigs_file):
line = line.strip()
if not line:
continue # skip blank lines silently
+ if ' ' in line:
+ line = line.split(' ')[0] # handle 'git log' input
matched = get_matched_defconfig(line)
if not matched:
print >> sys.stderr, "warning: %s:%d: no defconfig matched '%s'" % \