Fix merge failure handling in tg export
commit6745b3c106485f5607d7e1e6251878d429591186
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Sun, 8 Mar 2009 20:52:14 +0000 (8 21:52 +0100)
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Sun, 8 Mar 2009 20:52:14 +0000 (8 21:52 +0100)
tree187ad4f38ea98665867564cfc2e87471f32a19be
parenta20892979b7eebb2218a2744747d68964e1cd48f
Fix merge failure handling in tg export

There exist two problems that show that up to now the error handling was
completely untested:

  - tg.sh uses `set -e`, so `git merge $branch; retmerge=$?` obviously
    doesn't do the right thing.
  - in recurse_deps stdin is redirected from $_depsfile.  Starting a
    shell with that doesn't give the user any chance to do something.

Reported-by: "Bernhard R. Link" <brlink@debian.org>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
tg-export.sh