From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Baumann Subject: Re: How to sync changes in GIT to ClearCase or How to get the list of files changed in GIT for a specific branch Date: Fri, 24 Apr 2009 11:20:07 +0200 Message-ID: <20090424092007.GD25300@m62s10.vlinux.de> References: <23197522.post@talk.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: git@vger.kernel.org To: ask4thunder X-From: git-owner@vger.kernel.org Fri Apr 24 11:18:23 2009 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1LxHX2-00021d-5c for gcvg-git-2@gmane.org; Fri, 24 Apr 2009 11:17:16 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756801AbZDXJPo (ORCPT ); Fri, 24 Apr 2009 05:15:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756705AbZDXJPn (ORCPT ); Fri, 24 Apr 2009 05:15:43 -0400 Received: from mail.gmx.net ([213.165.64.20]:48947 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1756835AbZDXJPk (ORCPT ); Fri, 24 Apr 2009 05:15:40 -0400 Received: (qmail invoked by alias); 24 Apr 2009 09:15:39 -0000 Received: from m62s10.vlinux.de (EHLO m62s10.vlinux.de) [83.151.21.204] by mail.gmx.net (mp027) with SMTP; 24 Apr 2009 11:15:39 +0200 X-Authenticated: #1252284 X-Provags-ID: V01U2FsdGVkX1/0yjhHlkT03gE0hB86ECPQlgj6jJgYiLpAjid8ma 9AeKtCGBQqESh0 Received: by m62s10.vlinux.de (Postfix, from userid 1000) id 2653218091; Fri, 24 Apr 2009 11:20:07 +0200 (CEST) Content-Disposition: inline In-Reply-To: <23197522.post@talk.nabble.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.4 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Thu, Apr 23, 2009 at 11:59:20AM -0700, ask4thunder wrote: > > Hi Everyone, > > Thanks for looking into this thread. > > This is a help on GIT to ClearCase sync and am using UNIX session and not > Windows > > I am intending to use ClearCase in the background and GIT in the front. > For syncing files from ClearCase to GIT i > checkout the git branch > use rsync command to get the changed files in ClearCase > and then i do the 'git add' and 'git commit' > > This works out well, but i want to get a list of files changed in GIt so > that i can bring that to ClearCase and checkout and checkin files. > > Can someone provide me the commands to > > 1. Get list of files changed in GIT, after i do commit? > 2. Get list of files changed in GIT after commit, but files changed after a > tag (baseline). > 3. Sync these files to ClearCase? > > > Hope you gurus can help me....am in desperate need of these commands. > Appreciate your help in this. > > Thanks > ask4thunder > This is what I used to work with clearcase in a former job: Use cc_import.sh to import your changes and later export your changes back to CC with export2cc.pl