<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/git.git/t/t7500-commit.sh, branch v1.8.0.2</title>
<subtitle>Git
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.8.0.2</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/atom?h=v1.8.0.2'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/'/>
<updated>2011-05-13T18:03:08Z</updated>
<entry>
<title>Merge branch 'bf/commit-template-no-cleanup'</title>
<updated>2011-05-13T18:03:08Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-05-13T18:03:08Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=e4ae6efb78ca7d2ff16575f841b1781b96a7582c'/>
<id>urn:sha1:e4ae6efb78ca7d2ff16575f841b1781b96a7582c</id>
<content type='text'>
* bf/commit-template-no-cleanup:
  Do not strip empty lines / trailing spaces from a commit message template
</content>
</entry>
<entry>
<title>Do not strip empty lines / trailing spaces from a commit message template</title>
<updated>2011-05-11T18:20:28Z</updated>
<author>
<name>Boris Faure</name>
<email>billiob@gmail.com</email>
</author>
<published>2011-05-08T10:31:02Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=8b1ae678a33e2d1ccf3080977b692a59acad9b50'/>
<id>urn:sha1:8b1ae678a33e2d1ccf3080977b692a59acad9b50</id>
<content type='text'>
Templates should be just that: A form that the user fills out, and forms
have blanks. If people are attached to not having extra whitespace in the
editor, they can simply clean up their templates.

Added test with editor adding even more whitespace.

Signed-off-by: Boris Faure &lt;billiob@gmail.com&gt;
Based-on-patch-by:Sebastian Schuberth &lt;sschuberth@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>i18n: use test_i18ncmp in t7500</title>
<updated>2011-04-13T22:52:47Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-04-12T23:48:35Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=29853c82424d291f93cf8e45ee2815b85f8a4df3'/>
<id>urn:sha1:29853c82424d291f93cf8e45ee2815b85f8a4df3</id>
<content type='text'>
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ab/i18n-st'</title>
<updated>2011-04-02T00:55:55Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-04-02T00:55:55Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=6c80cd298a9f2f36ae4e741cf65d94b7c184fb82'/>
<id>urn:sha1:6c80cd298a9f2f36ae4e741cf65d94b7c184fb82</id>
<content type='text'>
* ab/i18n-st: (69 commits)
  i18n: git-shortlog basic messages
  i18n: git-revert split up "could not revert/apply" message
  i18n: git-revert literal "me" messages
  i18n: git-revert "Your local changes" message
  i18n: git-revert basic messages
  i18n: git-notes GIT_NOTES_REWRITE_MODE error message
  i18n: git-notes basic commands
  i18n: git-gc "Auto packing the repository" message
  i18n: git-gc basic messages
  i18n: git-describe basic messages
  i18n: git-clean clean.requireForce messages
  i18n: git-clean basic messages
  i18n: git-bundle basic messages
  i18n: git-archive basic messages
  i18n: git-status "renamed: " message
  i18n: git-status "Initial commit" message
  i18n: git-status "Changes to be committed" message
  i18n: git-status shortstatus messages
  i18n: git-status "nothing to commit" messages
  i18n: git-status basic messages
  ...

Conflicts:
	builtin/branch.c
	builtin/checkout.c
	builtin/clone.c
	builtin/commit.c
	builtin/grep.c
	builtin/merge.c
	builtin/push.c
	builtin/revert.c
	t/t3507-cherry-pick-conflict.sh
	t/t7607-merge-overwrite.sh
</content>
</entry>
<entry>
<title>i18n: git-commit "enter the commit message" message</title>
<updated>2011-03-10T07:52:54Z</updated>
<author>
<name>Ævar Arnfjörð Bjarmason</name>
<email>avarab@gmail.com</email>
</author>
<published>2011-02-22T23:41:48Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=0b430a17ae88e56703270af7e29f845ffc7a891c'/>
<id>urn:sha1:0b430a17ae88e56703270af7e29f845ffc7a891c</id>
<content type='text'>
Gettextize the "# Please enter the commit message for your changes."
message. Several tests in t7500-commit.sh and t7502-commit.sh assume
that this message starts with a newline. Change the tests to to skip
under GETTEXT_POISON=YesPlease.

These fail under GETTEXT_POISON=YesPlease because the poison editor
message doesn't do the right thing with comments and line breaks, so
these messages will be incorrectly broken up across lines.

This test should not be skipped under a hypothetical future testing
mode that tests Git under language locales, since those messages
should all start with a newline like the original.

Signed-off-by: Ævar Arnfjörð Bjarmason &lt;avarab@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'jn/maint-commit-missing-template'</title>
<updated>2011-03-04T23:02:27Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2011-03-04T23:02:27Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=5cb3c9b7dff15f762d63df0b6f2d6b4bf82565e9'/>
<id>urn:sha1:5cb3c9b7dff15f762d63df0b6f2d6b4bf82565e9</id>
<content type='text'>
* jn/maint-commit-missing-template:
  commit: error out for missing commit message template
</content>
</entry>
<entry>
<title>commit: error out for missing commit message template</title>
<updated>2011-02-25T20:13:55Z</updated>
<author>
<name>Jonathan Nieder</name>
<email>jrnieder@gmail.com</email>
</author>
<published>2011-02-25T09:07:57Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=2140b14064ffe6b12ba6818b2894d1461a943fb9'/>
<id>urn:sha1:2140b14064ffe6b12ba6818b2894d1461a943fb9</id>
<content type='text'>
When "git commit" was rewritten in C (v1.5.4-rc0~78^2~30,
2007-11-08), a subtle bug in --template was introduced.  If the
file named by a --template parameter is missing, previously git
would error out with a message:

	Commit template file does not exist.

but in the C version the --template parameter gets ignored and
the default template is used.

t7500 has two tests for this case which would have caught it, except
that with the default $EDITOR, the commit message template is left
unmodified, causing 'git commit' to error out and the test to
succeed.

Signed-off-by: Jonathan Nieder &lt;jrnieder@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>t/t7500-commit.sh: use test_cmp instead of test</title>
<updated>2011-02-21T18:55:53Z</updated>
<author>
<name>Ævar Arnfjörð Bjarmason</name>
<email>avarab@gmail.com</email>
</author>
<published>2011-02-19T18:29:09Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=d5a719e4afbfd74cf5ccf94c2a5b27aa5d06e914'/>
<id>urn:sha1:d5a719e4afbfd74cf5ccf94c2a5b27aa5d06e914</id>
<content type='text'>
Change commit_msg_is() in t/t7500-commit.sh to use test_cmp instead of
the shell's test function. Now if a test fails we'll get test_cmp
output showing us what failed.

Signed-off-by: Ævar Arnfjörð Bjarmason &lt;avarab@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>add tests of commit --squash</title>
<updated>2010-11-04T20:53:36Z</updated>
<author>
<name>Pat Notz</name>
<email>patnotz@gmail.com</email>
</author>
<published>2010-11-02T19:59:12Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=7951bd3029a849411181935f84600ddbcd97cd0c'/>
<id>urn:sha1:7951bd3029a849411181935f84600ddbcd97cd0c</id>
<content type='text'>
t7500: test expected behavior of commit --squash
t3415: test interaction of commit --squash with rebase --autosquash
t3900: test commit --squash with i18n encodings

Signed-off-by: Pat Notz &lt;patnotz@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>add tests of commit --fixup</title>
<updated>2010-11-04T20:53:35Z</updated>
<author>
<name>Pat Notz</name>
<email>patnotz@gmail.com</email>
</author>
<published>2010-11-02T19:59:10Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/git.git/commit/?id=b1a6c0a96f70fe39958b3315a99667740497d703'/>
<id>urn:sha1:b1a6c0a96f70fe39958b3315a99667740497d703</id>
<content type='text'>
t7500: test expected behavior of commit --fixup
t3415: test interaction of commit --fixup with rebase --autosquash
t3900: test commit --fixup with i18n encodings

Signed-off-by: Pat Notz &lt;patnotz@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
