git/contrib/examples
Junio C Hamano 8c9155e031 Merge branch 'jk/git-path'
git_path() and mkpath() are handy helper functions but it is easy
to misuse, as the callers need to be careful to keep the number of
active results below 4.  Their uses have been reduced.

* jk/git-path:
  memoize common git-path "constant" files
  get_repo_path: refactor path-allocation
  find_hook: keep our own static buffer
  refs.c: remove_empty_directories can take a strbuf
  refs.c: avoid git_path assignment in lock_ref_sha1_basic
  refs.c: avoid repeated git_path calls in rename_tmp_log
  refs.c: simplify strbufs in reflog setup and writing
  path.c: drop git_path_submodule
  refs.c: remove extra git_path calls from read_loose_refs
  remote.c: drop extraneous local variable from migrate_file
  prefer mkpathdup to mkpath in assignments
  prefer git_pathdup to git_path in some possibly-dangerous cases
  add_to_alternates_file: don't add duplicate entries
  t5700: modernize style
  cache.h: complete set of git_path_submodule helpers
  cache.h: clarify documentation for git_path, et al
2015-08-19 14:48:56 -07:00
..
builtin-fetch--tool.c memoize common git-path "constant" files 2015-08-10 15:37:14 -07:00
git-am.sh builtin-am: remove redirection to git-am.sh 2015-08-04 22:02:11 -07:00
git-checkout.sh Merge branch 'ep/shell-command-substitution' 2014-04-21 10:42:42 -07:00
git-clean.sh Make git-clean a builtin 2007-11-18 19:11:42 -08:00
git-clone.sh contrib/examples/git-clone.sh: avoid "test <cond> -a/-o <cond>" 2014-06-09 14:47:06 -07:00
git-commit.sh contrib/examples/git-commit.sh: avoid "test <cond> -a/-o <cond>" 2014-06-09 14:47:06 -07:00
git-fetch.sh git-fetch.sh: use the $( ... ) construct for command substitution 2014-04-17 11:14:59 -07:00
git-gc.sh Supplant the "while case ... break ;; esac" idiom 2007-09-23 16:12:00 -07:00
git-log.sh core-tutorial: trim the section on Inspecting Changes 2013-08-13 09:01:52 -07:00
git-ls-remote.sh git-ls-remote.sh: use the $( ... ) construct for command substitution 2014-04-17 11:14:59 -07:00
git-merge-ours.sh Merge branch 'maint' 2007-11-28 17:06:57 -08:00
git-merge.sh contrib/examples/git-merge.sh: avoid "test <cond> -a/-o <cond>" 2014-06-09 14:47:06 -07:00
git-notes.sh Builtin-ify git-notes 2010-02-13 19:36:13 -08:00
git-pull.sh Merge branch 'mm/pull-upload-pack' 2015-08-19 14:48:51 -07:00
git-remote.perl contrib/examples/git-remote.perl: use a lowercase "usage:" string 2013-02-24 21:30:15 -08:00
git-repack.sh contrib/examples/git-repack.sh: avoid "test <cond> -a/-o <cond>" 2014-06-09 14:47:06 -07:00
git-rerere.perl Resurrect git-rerere to contrib/examples 2008-03-16 01:11:07 -07:00
git-reset.sh comments: fix misuses of "nor" 2014-03-31 15:29:27 -07:00
git-resolve.sh contrib/examples/git-resolve.sh: avoid "test <cond> -a/-o <cond>" 2014-06-09 14:47:06 -07:00
git-revert.sh git-revert.sh: use the $( ... ) construct for command substitution 2014-04-17 11:15:00 -07:00
git-svnimport.perl contrib/examples: use a lowercase "usage:" string 2013-02-24 13:31:09 -08:00
git-svnimport.txt various contrib: Fix links in man pages 2014-08-07 09:43:21 -07:00
git-tag.sh git-tag.sh: use the $( ... ) construct for command substitution 2014-04-17 11:15:00 -07:00
git-verify-tag.sh Supplant the "while case ... break ;; esac" idiom 2007-09-23 16:12:00 -07:00
git-whatchanged.sh repo-config: remove deprecated alias for "git config" 2013-11-12 14:10:17 -08:00
README contrib/examples/README: give an explanation of the status of these files 2009-01-12 17:47:36 -08:00

These are original scripted implementations, kept primarily for their
reference value to any aspiring plumbing users who want to learn how
pieces can be fit together.