Sync with 1.7.8.6
authorJunio C Hamano <gitster@pobox.com>
Thu, 26 Apr 2012 17:22:20 +0000 (10:22 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 26 Apr 2012 17:22:20 +0000 (10:22 -0700)
1  2 
Documentation/git.txt
bundle.c
diff --combined Documentation/git.txt
index ae34e8a7f6b34d81550f0adf60098b075e8b7757,16528492dfc8d1e7a24746d63632680aa1763add..f28a1767386ad933f996af6e7eaf63da48770777
@@@ -9,11 -9,11 +9,11 @@@ git - the stupid content tracke
  SYNOPSIS
  --------
  [verse]
 -'git' [--version] [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
 +'git' [--version] [--help] [-c <name>=<value>]
 +    [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
      [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
      [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
 -    [-c <name>=<value>]
 -    [--help] <command> [<args>]
 +    <command> [<args>]
  
  DESCRIPTION
  -----------
@@@ -44,20 -44,10 +44,21 @@@ unreleased) version of git, that is ava
  branch of the `git.git` repository.
  Documentation for older releases are available here:
  
- * link:v1.7.8.5/git.html[documentation for release 1.7.8.5]
 +* link:v1.7.9.6/git.html[documentation for release 1.7.9.6]
 +
 +* release notes for
 +  link:RelNotes/1.7.9.6.txt[1.7.9.6],
 +  link:RelNotes/1.7.9.5.txt[1.7.9.5],
 +  link:RelNotes/1.7.9.4.txt[1.7.9.4],
 +  link:RelNotes/1.7.9.3.txt[1.7.9.3],
 +  link:RelNotes/1.7.9.2.txt[1.7.9.2],
 +  link:RelNotes/1.7.9.1.txt[1.7.9.1],
 +  link:RelNotes/1.7.9.txt[1.7.9].
 +
+ * link:v1.7.8.6/git.html[documentation for release 1.7.8.6]
  
  * release notes for
+   link:RelNotes/1.7.8.6.txt[1.7.8.6],
    link:RelNotes/1.7.8.5.txt[1.7.8.5],
    link:RelNotes/1.7.8.4.txt[1.7.8.4],
    link:RelNotes/1.7.8.3.txt[1.7.8.3],
    link:RelNotes/1.7.8.1.txt[1.7.8.1],
    link:RelNotes/1.7.8.txt[1.7.8].
  
- * link:v1.7.7.6/git.html[documentation for release 1.7.7.6]
+ * link:v1.7.7.7/git.html[documentation for release 1.7.7.7]
  
  * release notes for
+   link:RelNotes/1.7.7.7.txt[1.7.7.7],
    link:RelNotes/1.7.7.6.txt[1.7.7.6],
    link:RelNotes/1.7.7.5.txt[1.7.7.5],
    link:RelNotes/1.7.7.4.txt[1.7.7.4],
@@@ -714,12 -705,6 +716,12 @@@ othe
        a pager.  See also the `core.pager` option in
        linkgit:git-config[1].
  
 +'GIT_EDITOR'::
 +      This environment variable overrides `$EDITOR` and `$VISUAL`.
 +      It is used by several git comands when, on interactive mode,
 +      an editor is to be launched. See also linkgit:git-var[1]
 +      and the `core.editor` option in linkgit:git-config[1].
 +
  'GIT_SSH'::
        If this environment variable is set then 'git fetch'
        and 'git push' will use this command instead
diff --combined bundle.c
index d9cfd90534b6b6b0659576d5a71d1fa216bfa6b5,0d22f23dd74ce80e9e070dc35813e9dcf626baec..27ab32e431660a217d5dce50fe5b5b91888b5908
+++ b/bundle.c
@@@ -289,7 -289,7 +289,7 @@@ int create_bundle(struct bundle_header 
        argc = setup_revisions(argc, argv, &revs, NULL);
  
        if (argc > 1)
-               return error("unrecognized argument: %s'", argv[1]);
+               return error("unrecognized argument: %s", argv[1]);
  
        object_array_remove_duplicates(&revs.pending);
  
                        continue;
                if (dwim_ref(e->name, strlen(e->name), sha1, &ref) != 1)
                        continue;
 -              if (!resolve_ref(e->name, sha1, 1, &flag))
 +              if (read_ref_full(e->name, sha1, 1, &flag))
                        flag = 0;
                display_ref = (flag & REF_ISSYMREF) ? e->name : ref;