Newer gits return 128 when git config --{rename,remove}-section fails
authorKarl Hasselström <kha@treskal.com>
Fri, 17 Apr 2009 01:02:11 +0000 (03:02 +0200)
committerKarl Hasselström <kha@treskal.com>
Fri, 17 Apr 2009 01:02:11 +0000 (03:02 +0200)
commita66b90722c0924f1bba120d268c8a1afa3a89868
tree4194a128436f2d6750f7be5f1438d5b3e8b8288f
parentf979802d6f279b9d8018271f6766aa68b27b7782
Newer gits return 128 when git config --{rename,remove}-section fails

As of commit d64ec16c ("git config: reorganize to use parseopt"), git
config --rename-section and --remove-section will now call die()
instead of exit(1) when the section to be renamed or removed doesn't
exist, and die() calls exit(128). So we have to catch exit code 128 as
well.

Signed-off-by: Karl Hasselström <kha@treskal.com>
stgit/config.py