summaryrefslogtreecommitdiff
path: root/devel/git-tracker.py
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-04-04 21:56:05 +0200
committerJohannes Berg <johannes.berg@intel.com>2013-04-04 21:56:05 +0200
commitc5918122192e4a4e8accb15003321ca681ba61a8 (patch)
tree3a6e521131af80142d0e3fbebfb6b67c00056b10 /devel/git-tracker.py
parentc1fc9d2c356d6b6337a3494189d6f2ff4c0d132d (diff)
git tracker: don't chdir, remove verbose argument
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'devel/git-tracker.py')
-rwxr-xr-xdevel/git-tracker.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/devel/git-tracker.py b/devel/git-tracker.py
index 3d7ab26e..8ee26e6c 100755
--- a/devel/git-tracker.py
+++ b/devel/git-tracker.py
@@ -93,17 +93,13 @@ def handle_commit(args, msg, branch, treename, kernelobjdir, tmpdir, wgitdir, ba
return failure
if __name__ == '__main__':
- os.chdir(source_dir)
-
parser = argparse.ArgumentParser(description='backport git tracker')
parser.add_argument('--config', metavar='<config-file>', type=str,
- default='git-tracker.ini',
+ default=os.path.join(source_dir, 'devel', 'git-tracker.ini'),
help='Configuration file for the tracker')
parser.add_argument('--copy-list', metavar='<listfile>', type=str,
- default='copy-list',
+ default=os.path.join(source_dir, 'copy-list'),
help='File containing list of files/directories to copy')
- parser.add_argument('--verbose', const=True, default=False, action="store_const",
- help='Print more verbose information')
args = parser.parse_args()
# Load configuration