<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/builtin/commit.c, branch v2.14.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.14.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.14.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2017-08-23T21:33:44Z</updated>
<entry>
<title>Merge branch 'ks/commit-abort-on-empty-message-fix' into maint</title>
<updated>2017-08-23T21:33:44Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-08-23T21:33:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=01ced48994640b7d6fd72289544e766dc9009de7'/>
<id>urn:sha1:01ced48994640b7d6fd72289544e766dc9009de7</id>
<content type='text'>
"git commit" when seeing an totally empty message said "you did not
edit the message", which is clearly wrong.  The message has been
corrected.

* ks/commit-abort-on-empty-message-fix:
  commit: check for empty message before the check for untouched template
</content>
</entry>
<entry>
<title>commit: check for empty message before the check for untouched template</title>
<updated>2017-07-17T22:10:41Z</updated>
<author>
<name>Kaartic Sivaraam</name>
<email>kaarticsivaraam91196@gmail.com</email>
</author>
<published>2017-07-17T15:36:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=bc17f35f8c65295fbfcb281dda8560136fb26fb4'/>
<id>urn:sha1:bc17f35f8c65295fbfcb281dda8560136fb26fb4</id>
<content type='text'>
The check for whether the template given to 'git commit' is untouched
is done before the empty message check. This results in a wrong error
message being displayed in the following case. When the user removes
everything in template completely to abort the commit he is shown the
"template untouched" error which is wrong. He should be shown the
"empty message" error.

Do the empty message check before checking for an untouched template
thus fixing this issue.

Signed-off-by: Kaartic Sivaraam &lt;kaarticsivaraam91196@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ks/typofix-commit-c-comment'</title>
<updated>2017-07-10T20:42:51Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-07-10T20:42:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=cd0391af937ef2314818d8295d946479e6ecc3fa'/>
<id>urn:sha1:cd0391af937ef2314818d8295d946479e6ecc3fa</id>
<content type='text'>
Typofix.

* ks/typofix-commit-c-comment:
  builtin/commit.c: fix a typo in the comment
</content>
</entry>
<entry>
<title>Merge branch 'ks/commit-assuming-only-warning-removal'</title>
<updated>2017-07-10T20:42:50Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-07-10T20:42:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=c4f70d2c9025b6dad34d0833a87d8ac24c221956'/>
<id>urn:sha1:c4f70d2c9025b6dad34d0833a87d8ac24c221956</id>
<content type='text'>
An old message shown in the commit log template was removed, as it
has outlived its usefulness.

* ks/commit-assuming-only-warning-removal:
  commit-template: distinguish status information unconditionally
  commit-template: remove outdated notice about explicit paths
</content>
</entry>
<entry>
<title>builtin/commit.c: fix a typo in the comment</title>
<updated>2017-07-06T16:06:26Z</updated>
<author>
<name>Kaartic Sivaraam</name>
<email>kaarticsivaraam91196@gmail.com</email>
</author>
<published>2017-07-06T03:19:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=669638fe7a3e838e38c4c152e27ac03ffe4687a0'/>
<id>urn:sha1:669638fe7a3e838e38c4c152e27ac03ffe4687a0</id>
<content type='text'>
Signed-off-by: Kaartic Sivaraam &lt;kaarticsivaraam91196@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'ks/status-initial-commit'</title>
<updated>2017-06-30T20:45:22Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-06-30T20:45:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7e46f19a105f3798b03ac3887f45034fbfdff676'/>
<id>urn:sha1:7e46f19a105f3798b03ac3887f45034fbfdff676</id>
<content type='text'>
"git status" has long shown essentially the same message as "git
commit"; the message it gives while preparing for the root commit,
i.e. "Initial commit", was hard to understand for some new users.
Now it says "No commits yet" to stress more on the current status
(rather than the commit the user is preparing for, which is more in
line with the focus of "git commit").

* ks/status-initial-commit:
  status: contextually notify user about an initial commit
</content>
</entry>
<entry>
<title>commit-template: distinguish status information unconditionally</title>
<updated>2017-06-30T14:50:21Z</updated>
<author>
<name>Kaartic Sivaraam</name>
<email>kaarticsivaraam91196@gmail.com</email>
</author>
<published>2017-06-30T12:12:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b3cf1b77894861920671def129a981b54ec9618e'/>
<id>urn:sha1:b3cf1b77894861920671def129a981b54ec9618e</id>
<content type='text'>
The commit template adds the status information without
adding a new line to distinguish them in the absence
of optional parts. This results in difficulty in interpreting
it's content, specifically for inexperienced users.

Unconditionally, add new lines to separate the status message
from the other parts of the commit-template to make it more
readable.

Signed-off-by: Kaartic Sivaraam &lt;kaarticsivaraam91196@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>commit-template: remove outdated notice about explicit paths</title>
<updated>2017-06-30T14:50:19Z</updated>
<author>
<name>Kaartic Sivaraam</name>
<email>kaarticsivaraam91196@gmail.com</email>
</author>
<published>2017-06-30T12:12:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b884244c844a5688f9e8de3256143839c7b3c40a'/>
<id>urn:sha1:b884244c844a5688f9e8de3256143839c7b3c40a</id>
<content type='text'>
The notice that "git commit &lt;paths&gt;" default to "git commit
--only &lt;paths&gt;" was there since 756e3ee0 ("Merge branch
'jc/commit'", 2006-02-14).  Back then, existing users of Git
expected the command doing "git commit --include &lt;paths&gt;", and
after the behaviour of the command was changed to align with
other people's "$scm commit &lt;paths&gt;", the text was added to help
them transition their expectations.

Remove the message that now has outlived its usefulness.

Signed-off-by: Kaartic Sivaraam &lt;kaarticsivaraam91196@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'lb/status-stash-count'</title>
<updated>2017-06-26T21:09:29Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-06-26T21:09:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=849b44cdf193908dfe1cadc731fb23019b53a211'/>
<id>urn:sha1:849b44cdf193908dfe1cadc731fb23019b53a211</id>
<content type='text'>
"git status" learned to optionally give how many stash entries the
user has in its output.

* lb/status-stash-count:
  glossary: define 'stash entry'
  status: add optional stash count information
  stash: update documentation to use 'stash entry'
</content>
</entry>
<entry>
<title>Merge branch 'bw/config-h'</title>
<updated>2017-06-24T21:28:41Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-06-24T21:28:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=f31d23a399d557d687266b4375a0436f920cc051'/>
<id>urn:sha1:f31d23a399d557d687266b4375a0436f920cc051</id>
<content type='text'>
Fix configuration codepath to pay proper attention to commondir
that is used in multi-worktree situation, and isolate config API
into its own header file.

* bw/config-h:
  config: don't implicitly use gitdir or commondir
  config: respect commondir
  setup: teach discover_git_directory to respect the commondir
  config: don't include config.h by default
  config: remove git_config_iter
  config: create config.h
</content>
</entry>
</feed>
