{"thread":{"id":"3517","subject":"[ANNOUNCE] GIT 1.2.4","startedAt":"2006-03-02T06:24:30Z","lastAt":"2006-03-02T06:24:30Z","messageCount":1,"participants":["Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"17020","messageId":"7vslq19xep.fsf@assigned-by-dhcp.cox.net","threadId":"3517","inReplyTo":null,"subject":"[ANNOUNCE] GIT 1.2.4","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2006-03-02T06:24:30Z","receivedAt":"2006-03-02T06:24:30Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"The latest maintenance release GIT 1.2.4 is available at the\nusual places:\n\n\thttp://www.kernel.org/pub/software/scm/git/\n\n\tgit-1.2.4.tar.{gz,bz2}\t\t\t(tarball)\n\tRPMS/$arch/git-*-1.2.4-1.$arch.rpm\t(RPM)\n\nAmong some fixes, there is one feature item: war on whitespace.\n\nThis was done in response to Andrew Morten's request, and\nbackported from the primary development track.\n\nWhen you apply an e-mailed patch with git-am (or git-applymbox),\nif the patch introduces new trailing whitespaces, you will get\nwarning messages by default.  This behaviour can be tweaked by\nsetting the configuration item \"apply.whitespace\" to various\nvalues.\n\nFor kernel subsystem maintainers, the earlier Andrew's requests\ntranslate to setting it to either \"error\" or \"strip\".\n\nE.g.\n\n\t$ git repo-config apply.whitespace error\n\nWhat are the available choices, and which one is for you?\n\n * If you are a busy top echelon person who cares about tree\n   cleanliness, apply.whitespace=error is a good choice.  This\n   stops after giving a handful error messages, and refuses to\n   apply a patch that introduces trailing whitespaces.  After\n   the failed patch, you should return the patch to the\n   submitter; your tree remains clean.\n\n * apply.whitespace=error-all is a better choice for you, if you\n   are willing to clean up other peoples' mess.  You will get\n   all errors, and the patch is not applied.  You can go through\n   with your editor (e.g. Emacs users can use C-x `; I hope vim\n   users have similar macros) and fix things in .dotest/patch.\n   After fixing them up, \"git am\" without flags (or \"-i\" for\n   \"interactive\" if you want) to apply it.  Do not forget to\n   tell the person who wasted your time doing this to be more\n   careful next time.\n\n * If you do not care much about new trailing whitespaces, there\n   is apply.whitespace=warn, which is the default.  This shows\n   warning messages and applies the patch.  Make a mental note\n   to scold the patch submitter to be careful the next time.\n\n * If you care about cleanliness, want to be nice to the\n   submitters by not forcing them to resubmit solely on\n   whitespace basis, but not nice enough to educate them,\n   apply.whitespace=strip is for you.  This applies the patch\n   after stripping the trailing whitespaces it introduces.\n\n * If you do not care about whitespace errors at all,\n   apply.whitespace=nowarn is for you.  No warnings, no errors.\n\n----------------------------------------------------------------\n\nChanges since v1.2.3 are as follows:\n\nAlex Riesen:\n      fix t5600-clone-fail-cleanup.sh on windows\n\nJosef Weidendorfer:\n      git-mv: Allow -h without repo & fix error message\n      git-mv: fixes for path handling\n\nJunio C Hamano:\n      checkout - eye candy.\n      Give no terminating LF to error() function.\n      diffcore-rename: plug memory leak.\n      git-am: do not allow empty commits by mistake.\n      sample hooks template.\n      apply --whitespace fixes and enhancements.\n      apply: squelch excessive errors and --whitespace=error-all\n      apply --whitespace: configuration option.\n      git-apply --whitespace=nowarn\n      git-apply: war on whitespace -- finishing touches.\n      git-am: --whitespace=x option.\n      diffcore-break: micro-optimize by avoiding delta between identical files.\n      Allow git-mv to accept ./ in paths.\n\nLinus Torvalds:\n      The war on trailing whitespace\n\nMark Wooding:\n      combine-diff: Honour --full-index.\n      combine-diff: Honour -z option correctly.\n"}]}