…ion, --help and --manpage to use help2man to generate a manpage
… this script
Conflicts: TODO git-bzr
…rt breaking git fast-import
The return code from git rev-parse is a better indication of the user's presence in a git repository. If the repos is a fresh init, git rev-parse produces no output but has a return value of 0
Getting gitdir is now a function. It prevents the call to git from outputting an error if we are outside a repository.
I ended up creating a /bzr-git directory in the root directory
Moved things around and added a special case for "help" command so that git does not get called unless needed. Calling git-bzr for help outside a git repository doesn't produce errors anymore.
- Generalized the help header - Indented help functions correctly - Changed usage lines to display usage through git-core
is valid or not
…sgs if # of params is wrong, a bit of added indentation consistency
This allows you to easily change the location of the files, or update the script to your own config.