diff options
author | Simon Glass <sjg@chromium.org> | 2014-08-28 09:43:36 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-09-05 13:40:42 -0600 |
commit | 7428dc14b0f26f0f87a0f16370d39fd932af8464 (patch) | |
tree | c1cc79ea77d7d0051fbb60435d7989087daa26ee /tools/patman/patman.py | |
parent | e752edcb6b22b2c42c8064d66a93f0910cac6fef (diff) | |
download | u-boot-7428dc14b0f26f0f87a0f16370d39fd932af8464.tar.gz |
patman: Remove the -a option
It seems that this is no longer needed, since checkpatch.pl will catch
whitespace problems in patches. Also the option is not widely used, so
it seems safe to just remove it.
Suggested-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/patman.py')
-rwxr-xr-x | tools/patman/patman.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/patman/patman.py b/tools/patman/patman.py index ca34cb9fd8..5ab74fa251 100755 --- a/tools/patman/patman.py +++ b/tools/patman/patman.py @@ -25,9 +25,6 @@ import test parser = OptionParser() -parser.add_option('-a', '--no-apply', action='store_false', - dest='apply_patches', default=True, - help="Don't test-apply patches with git am") parser.add_option('-H', '--full-help', action='store_true', dest='full_help', default=False, help='Display the README file') parser.add_option('-c', '--count', dest='count', type='int', @@ -143,10 +140,6 @@ else: ok = checkpatch.CheckPatches(options.verbose, args) else: ok = True - if options.apply_patches: - if not gitutil.ApplyPatches(options.verbose, args, - options.count + options.start): - ok = False cc_file = series.MakeCcFile(options.process_tags, cover_fname, not options.ignore_bad_tags) |