Code

Merge branch 'cc/replace'
authorJunio C Hamano <gitster@pobox.com>
Sat, 22 Aug 2009 01:47:53 +0000 (18:47 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 22 Aug 2009 01:47:53 +0000 (18:47 -0700)
* 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

15 files changed:
1  2 
Makefile
builtin-fsck.c
builtin-pack-objects.c
builtin-unpack-objects.c
builtin.h
cache.h
commit.h
environment.c
git.c
mktag.c
parse-options.c
parse-options.h
refs.c
sha1_file.c
upload-pack.c

diff --cc Makefile
Simple merge
diff --cc builtin-fsck.c
Simple merge
Simple merge
Simple merge
diff --cc builtin.h
Simple merge
diff --cc cache.h
Simple merge
diff --cc commit.h
Simple merge
diff --cc environment.c
Simple merge
diff --cc git.c
Simple merge
diff --cc mktag.c
Simple merge
diff --cc parse-options.c
Simple merge
diff --cc parse-options.h
Simple merge
diff --cc refs.c
Simple merge
diff --cc sha1_file.c
Simple merge
diff --cc upload-pack.c
Simple merge