]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jc/a-commands-without-the-repo'
authorTaylor Blau <me@ttaylorr.com>
Fri, 25 Oct 2024 18:02:36 +0000 (14:02 -0400)
committerTaylor Blau <me@ttaylorr.com>
Fri, 25 Oct 2024 18:02:36 +0000 (14:02 -0400)
commit0ab43ed95c6cf598ba6d02dabaa5959dfd48ecec
treeeddae602bfd7eba8d4b33450f950fff0900fff61
parentdca32b82885f6f166ea433c5acd3c1ac84865529
parent528d3e4d53dd24b9efad3213736f1d6212c80454
Merge branch 'jc/a-commands-without-the-repo'

Commands that can also work outside Git have learned to take the
repository instance "repo" when we know we are in a repository, and
NULL when we are not, in a parameter.  The uses of the_repository
variable in a few of them have been removed using the new calling
convention.

* jc/a-commands-without-the-repo:
  archive: remove the_repository global variable
  annotate: remove usage of the_repository global
  git: pass in repo to builtin based on setup_git_directory_gently
builtin/annotate.c
git.c