1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-15 13:43:45 +01:00
git/contrib/examples
Junio C Hamano 2cc70cefdd Merge branch 'mh/ref-transaction'
Update "update-ref --stdin [-z]" and then introduce a transactional
support for (multi-)reference updates.

* mh/ref-transaction: (27 commits)
  ref_transaction_commit(): work with transaction->updates in place
  struct ref_update: add a type field
  struct ref_update: add a lock field
  ref_transaction_commit(): simplify code using temporary variables
  struct ref_update: store refname as a FLEX_ARRAY
  struct ref_update: rename field "ref_name" to "refname"
  refs: remove API function update_refs()
  update-ref --stdin: reimplement using reference transactions
  refs: add a concept of a reference transaction
  update-ref --stdin: harmonize error messages
  update-ref --stdin: improve the error message for unexpected EOF
  t1400: test one mistake at a time
  update-ref --stdin -z: deprecate interpreting the empty string as zeros
  update-ref.c: extract a new function, parse_next_sha1()
  t1400: test that stdin -z update treats empty <newvalue> as zeros
  update-ref --stdin: simplify error messages for missing oldvalues
  update-ref --stdin: make error messages more consistent
  update-ref --stdin: improve error messages for invalid values
  update-ref.c: extract a new function, parse_refname()
  parse_cmd_verify(): copy old_sha1 instead of evaluating <oldvalue> twice
  ...
2014-06-03 12:06:41 -07:00
..
builtin-fetch--tool.c refs.h: rename the action_on_err constants 2014-04-07 12:09:11 -07:00
git-checkout.sh Merge branch 'ep/shell-command-substitution' 2014-04-21 10:42:42 -07:00
git-clean.sh
git-clone.sh git-clone.sh: use the $( ... ) construct for command substitution 2014-04-17 11:14:58 -07:00
git-commit.sh Merge branch 'ep/shell-command-substitution' 2014-04-21 10:42:42 -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
git-log.sh
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
git-merge.sh git-merge.sh: use the $( ... ) construct for command substitution 2014-04-17 11:14:59 -07:00
git-notes.sh
git-remote.perl
git-repack.sh git-repack.sh: use the $( ... ) construct for command substitution 2014-04-17 11:15:00 -07:00
git-rerere.perl
git-reset.sh comments: fix misuses of "nor" 2014-03-31 15:29:27 -07:00
git-resolve.sh git-resolve.sh: use the $( ... ) construct for command substitution 2014-04-17 11:15:00 -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
git-svnimport.txt
git-tag.sh git-tag.sh: use the $( ... ) construct for command substitution 2014-04-17 11:15:00 -07:00
git-verify-tag.sh
git-whatchanged.sh repo-config: remove deprecated alias for "git config" 2013-11-12 14:10:17 -08:00
README

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.