X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:from:date:message-id:subject:to :content-type; bh=vqTHPv+4x2EmBgxpw6UlIpGraS1Kv0VOKjYlcX2cKnk=; b=G0Y1xm+JfTzdwVuYpGduS+M7PJC2kPUf0erQnZ/DfA/phfgdTF0TNsbatdcdBPXgCc KNLqZhTIS1w9aveGBOUOtm5r5owGuUljyMdn+H8KsHQvtVoEbEEU6PPB+stwgEexU0qS HVyRNXg+BX/9lyUguFKKBZNH/oWXNSmtyatwKQJUt+TfImJ9NxG7HAr79jFT4X71eV50 lDn38lYyzPs65TaNTkP2R0frryMSPqFdz9mbwHkcn0zWvHB1ID6sImU7rdb3z0/6d96u nppHq6Ki2WB6KtaEhTCmSgjyxbOnQUVrIlA2HrgQrsg181AsH5DIZAcQikfpRKDJT+Qz wJHg== X-Received: by 10.180.13.34 with SMTP id e2mr44752284wic.29.1366651227653; Mon, 22 Apr 2013 10:20:27 -0700 (PDT) MIME-Version: 1.0 From: Abhijit Kshirsagar Date: Mon, 22 Apr 2013 22:49:57 +0530 Message-ID: Subject: [geda-user] schdiff via git doesn't show any components To: gEDA User List Content-Type: text/plain; charset=UTF-8 Reply-To: geda-user AT delorie DOT com I came across this problem: and i have posted a fix. Briefly, I've written a wrapper script which identifies the working directory, moves the old file there, runs schdiff, and then cleans up before exiting. To use this: 1. Download and unzip the files (https://bugs.launchpad.net/geda/+bug/904633/+attachment/3650682/+files/schdiffpatch.zip) 2. Copy the wrapper script gschemdiff somewhere, making sure it is executable. 3. Copy the .gitattibutes file at the top level of working tree - next to the .git directory. 4. Append the lines in the config file either to the project specific config file or your global git config file (~/.gitconfig), taking care to provide the correct absolute path to wherever you have copied the wrapper script gschemdiff. Usage: git diff filename.sch should now launch schdiff output with all symbols in place. All other files' diffs should be shown as before. Comments are welcome! Regards, ~Abhijit