Merge maint in
authorJunio C Hamano <gitster@pobox.com>
Wed, 2 Jul 2008 00:19:34 +0000 (17:19 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Jul 2008 00:19:34 +0000 (17:19 -0700)
Documentation/RelNotes-1.5.6.2.txt [new file with mode: 0644]
builtin-log.c
diff --git a/Documentation/RelNotes-1.5.6.2.txt b/Documentation/RelNotes-1.5.6.2.txt
new file mode 100644 (file)
index 0000000..02d5910
--- /dev/null
@@ -0,0 +1,31 @@
+GIT v1.5.6.2 Release Notes
+==========================
+
+Futureproof
+-----------
+
+ * "git-shell" accepts requests without a dash between "git" and
+   subcommand name (e.g. "git upload-pack") which the newer client will
+   start to make sometime in the future.
+
+Fixes since v1.5.6.1
+--------------------
+
+* Optimization for a large import via "git-svn" introduced in v1.5.6 had a
+  serious memory and temporary file leak, which made it unusable for
+  moderately large import.
+
+* "git-svn" mangled remote nickname used in the configuration file
+  unnecessarily.
+
+* "git diff --check" did not report the result via its exit status
+  reliably.
+
+* "git show" segfaulted when an annotated tag that points at another
+  annotated tag was given to it.
+
+--
+exec >/var/tmp/1
+echo O=$(git describe maint)
+O=v1.5.6.1-13-g4f3dcc2
+git shortlog --no-merges $O..maint
index 9817d6fbeb69393ed321e71b6211a8630b982fab..9979e37f3823734c66f0b98eebf485a078e576bb 100644 (file)
@@ -360,7 +360,7 @@ int cmd_show(int argc, const char **argv, const char *prefix)
                                        t->tag,
                                        diff_get_color_opt(&rev.diffopt, DIFF_RESET));
                        ret = show_object(o->sha1, 1, &rev);
-                       objects[i].item = (struct object *)t->tagged;
+                       objects[i].item = parse_object(t->tagged->sha1);
                        i--;
                        break;
                }