LoginSignup
3832

More than 1 year has passed since last update.

ネイティブと働いて分かった英語コミットメッセージの頻出動詞10つ

Last updated at Posted at 2015-01-14

あいさつ

英語ネイティブのエンジニアと働き始め4ヶ月ほど経ちますが
(参考: シリコンバレーで仕事得るのクッソ楽勝だったわ〜

今でもたまに

$ git commit -m '

ウッ

ここで詰まる事は往々にしてあります.

特に急いでる時の煩わしさは甚だしいです.

どうせならそれっぽい英語を使いたいのでOSSや同僚のコミットメージの語彙の出現確率を調べてみましたら、

もちろんfeatureによってコミットメッセージの付け方など数多あるものの、一定の頻出パターンは見い出せたので筆を取りました.

(英語勉強しないと..)

方法

github.com/rails/railsのコミットメッセージ内における各動詞の出現確率を求め、

またOSSと仕事でのコミットメッセージの趣向も変わってくる事も勘案するため、
(仕事でDeprecateとか滅多に使わんし)

同僚に聞きつつ10つあげてみた.

以下列挙

(例は実際の同僚やOSS上でのコミットメッセージです.)

Add *A to *B

AをBに加える

Add ambiences to admin_notify_organizer_new_event email.

Remove *A from *B

BからAを取り除く

Remove config/database.yml from git index and add it to gitignore.

Move *A from *B to *C

AをBから*Cに動かす

Move admin_notify_venues_shortlisted email from LeadMailer to AdminMailer.

Replace *A with *B

AをBに取り替える

Replace the elaborate reloading connection checking scheme, just fix the Ruby-based MySQL adapter, ye?

Make *A *B

A をBにする、させる

Make javascript_include_tag :default behave correctly with application.js
Make counter_cache work with polymorphic belongs_to

Change *A to *B

AをBに変更する.

Change a to an for HTML word [ci skip]

Update *A to *B

AをBに更新する

Update edge to script.aculo.us to 1.7.1_beta3

Ensure *A

*A である事を確実にする.

that節とよく使うぽい.

Ensure that request.path never returns nil.

Use *A

*A を使う.

単体で用いるよりもinstead of や forの前置詞(下部で述べる)とよく使うっぽい

Use `Base.strict_decode64` instead of `Base.decode64` just as we do in encoding;

Fix *A

*Aを直す

Fix saving reject_reason when rejecting lead.

その他比較的頻度の高かった動詞

上記が題意となる頻出動詞10です.

以下はその他比較的頻度の高かった動詞です.

Refactor

Refactor RoutesReloader a bit to avoid creating extra hash objects

Improve

Improved the silence method on the logger to ensure restoring the old level

Extract

Extract InflectorTestCases so both inflector and string inflections tests can use them.

Deprecate

Deprecate using method_missing for attributes that are columns.

Avoid

Avoid empty transaction from setting has_one association on new record.

Simplify

Simplify Preloader#grouped_records code.

Define

Define the Duration#instance_of? method

Allow

Allow use of assert_template with the :file option.

Switch from *A to *B

Switch from SHA2 to BCrypt

Implement

Implement #== for column

Clean up

Clean up JobWrappers::ResqueWrapper.perform

Enable

Enable memcached service on travis for running cache tests.

Sorting *A by *B

Sort migrations by the migration ID.

Rewrite

Rewrite Account Setting page from ERB to HAML.

Support

Support multiple config.after_initialize blocks so plugins and apps can more easily cooperate.

Stop, Prevent

Stop relying on columns in sqlite quoting tests

Drop

Drop variable assignment in validations

前置詞(上記の動詞に情報を付加するもの)

with *P

*Pと一緒に、伴って

Fixed error with 'rails generate new plugin'.

for *P

*P のために

Add a simple API for fetching a list of entries from the cache

instead of *P

*P の代わりに

Use `Base.strict_decode64` instead of `Base.decode64` just as we do in encoding;

in *P

*Pの、で

Use strong_params in example

at *P

*Pの、で

Revert "log at debug level what line caused the redirect_to"

as *P

*Pとして

Stop messing up with instance variables, use protected as it was meant for

締め

他にもクラス名や名詞を列挙するものなども散見出来ましたし、

まあ伝わればなんでも大丈夫、というメンタリティも大事です。
完璧主義になりすぎると手が止まります。

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3832