Dotfiles, utilities, and other apparatus.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
332 B

  1. #!/bin/sh
  2. # Help messages:
  3. USAGE="<command>"
  4. LONG_USAGE="Executes <command> from the root of the repository."
  5. # Tell git-sh-setup we're ok with being in a subdir:
  6. SUBDIRECTORY_OK=1
  7. . "$(git --exec-path)/git-sh-setup"
  8. # Make sure we're in a working tree, jump to top level, do command:
  9. require_work_tree_exists
  10. cd_to_toplevel
  11. $@