From: Maaartin Subject: Exlude files from git log -p Date: Thu, 14 Oct 2010 20:06:26 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Thu Oct 14 22:07:02 2010 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P6U4q-0003Ej-Ey for gcvg-git-2@lo.gmane.org; Thu, 14 Oct 2010 22:07:00 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756003Ab0JNUGs (ORCPT ); Thu, 14 Oct 2010 16:06:48 -0400 Received: from lo.gmane.org ([80.91.229.12]:33447 "EHLO lo.gmane.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755213Ab0JNUGm (ORCPT ); Thu, 14 Oct 2010 16:06:42 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P6U4V-00036S-Fu for git@vger.kernel.org; Thu, 14 Oct 2010 22:06:39 +0200 Received: from 188-120-198-113.luckynet.cz ([188-120-198-113.luckynet.cz]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Oct 2010 22:06:39 +0200 Received: from grajcar1 by 188-120-198-113.luckynet.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Oct 2010 22:06:39 +0200 X-Injected-Via-Gmane: http://gmane.org/ X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 188.120.198.113 (Opera/9.80 (Windows NT 5.2; U; en) Presto/2.6.30 Version/10.63) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Is it possible to exclude a couple of files from the output generated by "git log -p"? Enumerating all other files/dirs is not an option for me. Background: Some files in my repo are generated source code and often contain quite a lot of changes. Their generation can't be done in a fully automatic fashion and it happens that it gets forgotten; that's why I need to version them as well. I'm thinking about marking them as binary, this should remove their lines from the output, but it would make their comparison impossible (at least AFAIK).