diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-03-25 13:52:25 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-03-25 13:52:25 -0700 |
commit | cd04c522bdcecdbea3a3f53d71381bd8f679c580 (patch) | |
tree | 7445acf91a8fcfafce8b8aa74e7f07a7d924443f | |
parent | Update draft release notes to 1.8.3 (diff) | |
parent | Start preparing for 1.8.2.1 (diff) | |
download | tgif-cd04c522bdcecdbea3a3f53d71381bd8f679c580.tar.xz |
Merge branch 'maint'
* maint:
Start preparing for 1.8.2.1
transport.c: help gcc 4.6.3 users by squelching compiler warning
-rw-r--r-- | Documentation/RelNotes/1.8.2.1.txt | 29 | ||||
-rw-r--r-- | transport.c | 3 |
2 files changed, 31 insertions, 1 deletions
diff --git a/Documentation/RelNotes/1.8.2.1.txt b/Documentation/RelNotes/1.8.2.1.txt new file mode 100644 index 0000000000..e77f8333ea --- /dev/null +++ b/Documentation/RelNotes/1.8.2.1.txt @@ -0,0 +1,29 @@ +Git v1.8.2.1 Release Notes +========================== + +Fixes since v1.8.2 +------------------ + + * The "--color=<when>" argument to the commands in the diff family + was described poorly. + + * The arguments given to pre-rebase hook were not documented. + + * The v4 index format was not documented. + + * The "--match=<pattern>" argument "git describe" takes uses glob + pattern but it wasn't obvious from the documentation. + + * Some sources failed to compile on systems that lack NI_MAXHOST in + their system header (e.g. z/OS). + + * Add an example use of "--env-filter" in "filter-branch" + documentation. + + * "git bundle verify" did not say "records a complete history" for a + bundle that does not have any prerequisites. + + * In the v1.8.0 era, we changed symbols that do not have to be global + to file scope static, but a few functions in graph.c were used by + CGit from sideways bypassing the entry points of the API the + in-tree users use. diff --git a/transport.c b/transport.c index 6f671c6506..42a61b30b3 100644 --- a/transport.c +++ b/transport.c @@ -106,7 +106,8 @@ static void insert_packed_refs(const char *packed_refs, struct ref **list) return; for (;;) { - int cmp, len; + int cmp = 0; /* assigned before used */ + int len; if (!fgets(buffer, sizeof(buffer), f)) { fclose(f); |