# FIXME: are those 4 lines meaningful at all? i dont think so...
# commented in by rwittler. We dont need them if we use --ignore-new
# within git-buildpackage
- #cmd = ['/usr/bin/git', 'add', '-A']
- #subprocess.check_call(cmd)
- #cmd = ['/usr/bin/git', 'commit', '-a', '-m', 'add changelog']
- #subprocess.check_call(cmd)
+ cmd = ['/usr/bin/git', 'add', '-A']
+ subprocess.check_call(cmd)
+ cmd = ['/usr/bin/git', 'commit', '-a', '-m', 'add changelog']
+ subprocess.check_call(cmd)
else:
# so we're in the master branch...
# (or maybe in other branches, but thats not specified _yet_)