1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-14 21:23:03 +01:00
git/contrib/examples
Junio C Hamano 627a8b8dcd core-tutorial: trim the section on Inspecting Changes
Back when the core tutorial was written, `log` and `whatchanged`
were scripted Porcelains.  In the "Inspecting Changes" section that
talks about the plumbing commands in the diff family, it made sense
to use `log` and `whatchanged` as good examples of the use of these
plumbing commands, and because even these scripted Porcelains were
novelty (there wasn't the new end-user tutorial written), it made
some sense to illustrate uses of the `git log` (and `git
whatchanged`) scripted Porcelain commands.

But we no longer have scripted `log` and `whatchanged` to serve as
examples, and this document is not where the end users learn what
`git log` command is about.  Stop at briefly mentioning the
possibility of combining rev-list with diff-tree to build your own
log, and leave the end-user documentation of `log` to the new
tutorial and the user manual.

Also resurrect the last version of `git-log`, `git-whatchanged`, and
`git-show` to serve as examples to contrib/examples/ directory.

While at it, remove 'whatchanged' from a list of sample commands
that are affected by GIT_FLUSH environment variable. This is not
meant to be an exhaustive list but as a list of typical ones, and an
old command that is kept primarily for backward compatibility does
not belong to it.

Helped-by: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2013-08-13 09:01:52 -07:00
..
builtin-fetch--tool.c Merge branch 'jc/merge-bases' 2012-09-11 11:36:05 -07:00
git-checkout.sh Merge branch 'db/checkout' 2008-02-27 12:53:26 -08:00
git-clean.sh
git-clone.sh Merge branch 'db/clone-in-c' 2008-05-25 13:41:37 -07:00
git-commit.sh examples/commit: use --abbrev for commit summary 2010-07-27 13:29:32 -07:00
git-fetch.sh Honor "tagopt = --tags" configuration option 2010-04-19 16:34:49 -07:00
git-gc.sh
git-log.sh core-tutorial: trim the section on Inspecting Changes 2013-08-13 09:01:52 -07:00
git-ls-remote.sh
git-merge-ours.sh
git-merge.sh merge script: learn --[no-]rerere-autoupdate 2010-08-18 14:02:05 -07:00
git-notes.sh Builtin-ify git-notes 2010-02-13 19:36:13 -08:00
git-remote.perl contrib/examples/git-remote.perl: use a lowercase "usage:" string 2013-02-24 21:30:15 -08:00
git-rerere.perl Resurrect git-rerere to contrib/examples 2008-03-16 01:11:07 -07:00
git-reset.sh
git-resolve.sh Use 'fast-forward' all over the place 2009-10-24 23:50:28 -07:00
git-revert.sh cherry-pick/revert: add support for -X/--strategy-option 2010-12-28 11:27:56 -08:00
git-svnimport.perl contrib/examples: use a lowercase "usage:" string 2013-02-24 13:31:09 -08:00
git-svnimport.txt Fix typo in contrib/examples/git-svnimport.txt 2009-02-25 08:33:14 -08:00
git-tag.sh Replace uses of "git-var" with "git var" 2008-07-30 11:42:01 -07:00
git-verify-tag.sh
git-whatchanged.sh core-tutorial: trim the section on Inspecting Changes 2013-08-13 09:01:52 -07: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.