If I do this: #!/bin/bash git init touch a git add -f a git commit -m init stg init stg new -m "empty" stg export
the last line yields: fatal: unrecognized input stg export: git failed with code 128 It's stupid to export an empty patch, but it should either 1. give a clean error message 2. work, but give a warning 3. just work I would prefer (1): The problem was triggered when I forgot to refresh after a push with conflicts; I did not actually mean to export an empty patch. If you go for (2) or (3), I suppose we should also test that 'stg import' can import the empty patch.
_______________________________________________ stgit-users mailing list [email protected] https://mail.gna.org/listinfo/stgit-users
