From: Junio C Hamano Date: Sun, 26 Mar 2006 08:22:53 +0000 (-0800) Subject: Merge branches 'jc/clone' and 'jc/name' X-Git-Tag: v1.3.0-rc1~4^2~1 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=be1295d16a2593dcf468fef7d9e811d057d9039f;p=git.git Merge branches 'jc/clone' and 'jc/name' * jc/clone: git-clone: typofix. clone: record the remote primary branch with remotes/$origin/HEAD revamp git-clone (take #2). revamp git-clone. fetch,parse-remote,fmt-merge-msg: refs/remotes/* support * jc/name: sha1_name: make core.warnambiguousrefs the default. sha1_name: warning ambiguous refs. get_sha1_basic(): try refs/... and finally refs/remotes/$foo/HEAD core.warnambiguousrefs: warns when "name" is used and both "name" branch and tag exists. --- be1295d16a2593dcf468fef7d9e811d057d9039f diff --cc blame.c index 7e88833a,90338af3,270ca52c..396defcc --- a/blame.c +++ b/blame.c @@@@ -748,10 -588,8 -748,11 +748,11 @@@@ int main(int argc, const char **argv struct commit_info ci; const char *buf; int max_digits; - size_t longest_file, longest_author; ++ int longest_file, longest_author; + int found_rename; const char* prefix = setup_git_directory(); ++ git_config(git_default_config); for(i = 1; i < argc; i++) { if(options) {