Merge branch 'cc/replace' into jch
commitb9c4bc09f257d897a2fcd18eaed2542f28143ee1
authorJunio C Hamano <gitster@pobox.com>
Mon, 3 Aug 2009 06:11:17 +0000 (2 23:11 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Aug 2009 06:11:17 +0000 (2 23:11 -0700)
treeb009dbd9ec798e9ed5a8c6259e2d53d45f554560
parenta1211205e962359ebda94e56671eae2fc2504c98
parent4e65b538acc97dd853e19a1692893f5fd47043e6
Merge branch 'cc/replace' into jch

* cc/replace:
  t6050: check pushing something based on a replaced commit
  Documentation: add documentation for "git replace"
  Add git-replace to .gitignore
  builtin-replace: use "usage_msg_opt" to give better error messages
  parse-options: add new function "usage_msg_opt"
  builtin-replace: teach "git replace" to actually replace
  Add new "git replace" command
  environment: add global variable to disable replacement
  mktag: call "check_sha1_signature" with the replacement sha1
  replace_object: add a test case
  object: call "check_sha1_signature" with the replacement sha1
  sha1_file: add a "read_sha1_file_repl" function
  replace_object: add mechanism to replace objects found in "refs/replace/"
  refs: add a "for_each_replace_ref" function
14 files changed:
Makefile
builtin-fsck.c
builtin-pack-objects.c
builtin-unpack-objects.c
cache.h
commit.h
environment.c
git.c
mktag.c
parse-options.c
parse-options.h
refs.c
sha1_file.c
upload-pack.c