1
0
mirror of https://github.com/git/git.git synced 2024-09-21 09:42:22 +02:00
git/contrib/examples
Junio C Hamano 2d5792f071 Merge branch 'bw/c-plus-plus' into ds/lazy-load-trees
* bw/c-plus-plus: (37 commits)
  replace: rename 'new' variables
  trailer: rename 'template' variables
  tempfile: rename 'template' variables
  wrapper: rename 'template' variables
  environment: rename 'namespace' variables
  diff: rename 'template' variables
  environment: rename 'template' variables
  init-db: rename 'template' variables
  unpack-trees: rename 'new' variables
  trailer: rename 'new' variables
  submodule: rename 'new' variables
  split-index: rename 'new' variables
  remote: rename 'new' variables
  ref-filter: rename 'new' variables
  read-cache: rename 'new' variables
  line-log: rename 'new' variables
  imap-send: rename 'new' variables
  http: rename 'new' variables
  entry: rename 'new' variables
  diffcore-delta: rename 'new' variables
  ...
2018-04-11 10:46:32 +09:00
..
README

This directory used to contain scripted implementations of builtins
that have since been rewritten in C.

They have now been removed, but can be retrieved from an older commit
that removed them from this directory.

They're interesting for their reference value to any aspiring plumbing
users who want to learn how pieces can be fit together, but in many
cases have drifted enough from the actual implementations Git uses to
be instructive.

Other things that can be useful:

 * Some commands such as git-gc wrap other commands, and what they're
   doing behind the scenes can be seen by running them under
   GIT_TRACE=1

 * Doing `git log` on paths matching '*--helper.c' will show
   incremental effort in the direction of moving existing shell
   scripts to C.