Help us understand the problem. What is going on with this article?


More than 5 years have passed since last update.


そんなときは、git log--diff-filterを使うとよい。

[rack#master] $ git whatchanged --diff-filter=M
commit 58c24bbafdd476d16d9c3778b2455625bb27f67e
Author: Martin Schürrer <>
Date:   Sun Jul 14 20:14:03 2013 +0200

    Fix bug in sendfile.rb

    The error message called `variation` without the env leading to an `ArgumentError`. It should call `type` instead.

:100644 100644 c247a3b... 8a67490... M  lib/rack/sendfile.rb

commit 977351595d7ff7d17cc4c4b2526922ef37b7c65e
Author: James Tucker <>
Date:   Thu Jul 4 16:17:43 2013 -0700

    Refactor rack static header rules application

:100644 100644 6b0762a... 41aec7f... M  lib/rack/static.rb

commit 65d3894224149ed3aee80293892bb368377913a1
Author: Garry Shutler <>
Date:   Wed Jul 3 19:43:50 2013 +0100

    Set HttpOnly for cookies using :http_only

:100644 100644 0c7091e... 43bbef3... M  lib/rack/utils.rb
:100644 100644 0ba17b1... 12b8b7b... M  test/spec_response.rb

commit cf13f31a74c46eb79032428d5efd176c4c35187c
Author: Prem Sichanugrist <>
Date:   Fri Jun 28 15:48:03 2013 -0400

    Add Response#unauthorized? helper

    This helper should come in handy when you want to test the authorization
    in your application.

:100644 100644 2beba7a... 2076aff... M  lib/rack/response.rb
:100644 100644 7ba1e0e... 0ba17b1... M  test/spec_response.rb



追記(2013.12.06 16:31)

だけど、Modifiedなファイル 以外のファイルのdiff を表示したい時はどうしたらいいんだろう。


$ git log --stat --diff-filter=m


プログラマー。ウェブアプリケーションとか。元 の中の人。今はちょっと違う仕事。仕事道具はVimとGit。Gitは綺麗な歴史を作る派。
エンジニア向けサービス「Forkwell」や「Forkwell Jobs」を開発・運営しています。
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away