Permalink
Show file tree
Hide file tree
7 comments
on commit
sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Tests: Avoid use of QUnit.reset() in tests by splitting them
Fix #14040 Close gh-1457
- Loading branch information
Showing
8 changed files
with
545 additions
and
225 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
537e9ce
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dmethvin
that's an imperative mood, but our guide dictates we should use indicative, which i think is a bug, but we already could see this inconsistency arising (this one also have dot in the end of commit body and header)./cc @timmywil, @jzaefferer
537e9ce
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just an oversight from habit on my part. When we were trying to stuff it all on one line it made sense to use imperative since it saves a few characters. If we're all good with what's in the guide I'll just use that.
537e9ce
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dmethvin not just yours. The reason why i think we should use imperative mood is because commands like
git merge
andgit revert
also generates it that way.537e9ce
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hm, but on second thought,
git revert
uses indicative mood in the commit body and imperative in the head537e9ce
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@markelog Probably because imperative is shorter and with 72 char limit every char is precious.
537e9ce
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought we agreed on the imperative in jquery/contribute.jquery.org#61, but a reread shows that it was only ever raised specifically for the commit subject, and implicitly rebutted in the body by our "Fixes"/"Closes" examples. Regardless, it was never actually incorporated.
I'll update my future messages to match our documented format, but for the record I agree with @markelog on preferring imperative mood everywhere.
537e9ce
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer indicative for Fixes/Closes. I'm not sure why. I guess "this commit fixes this ticket" flows better than "hey commit, fix the ticket". I don't think it matters that much though.