Re: [git-users] Git tags and information as file header

2014-05-15 Thread Andy Hardy
On 15/05/2014 23:39, Magnus Therning wrote: > On Thu, May 15, 2014 at 11:21:25PM +0100, Andy Hardy wrote: >> On 15/05/2014 22:48, Magnus Therning wrote: >> >>> - version: doesn't make sense in git, would it be the hash? >>> what does that tell me? >> >> I find an identifier useful when investiga

Re: [git-users] Git tags and information as file header

2014-05-15 Thread Magnus Therning
On Thu, May 15, 2014 at 03:22:08PM -0700, Thomas Ferris Nicolaisen wrote: > On Thursday, May 15, 2014 11:48:17 PM UTC+2, Magnus Therning wrote: > > > > > > I'd be very interested in hearing your use case for having that info > > in the file. I'd love to be convinced that all those other VCSs >

Re: [git-users] Git tags and information as file header

2014-05-15 Thread Magnus Therning
On Thu, May 15, 2014 at 11:21:25PM +0100, Andy Hardy wrote: > On 15/05/2014 22:48, Magnus Therning wrote: > > >- version: doesn't make sense in git, would it be the hash? what does > > that tell me? > > I find an identifier useful when investigating problems and wanting > to confirm what files

Re: [git-users] Git tags and information as file header

2014-05-15 Thread Thomas Ferris Nicolaisen
On Thursday, May 15, 2014 11:48:17 PM UTC+2, Magnus Therning wrote: > > > I'd be very interested in hearing your use case for having that info > in the file. I'd love to be convinced that all those other VCSs > haven't wasted effort on implementing a rather useless feature :) > > This is not

Re: [git-users] Git tags and information as file header

2014-05-15 Thread Andy Hardy
On 15/05/2014 22:48, Magnus Therning wrote: - version: doesn't make sense in git, would it be the hash? what does that tell me? I find an identifier useful when investigating problems and wanting to confirm what files are involved. -- You received this message because you are subscribed

Re: [git-users] Re: git rewrite history for multi module project

2014-05-15 Thread Thomas Ferris Nicolaisen
On Thursday, May 15, 2014 11:02:35 PM UTC+2, Moataz Elmasry wrote: > > > - removed the contents of project1/ and committed that as "last commit" in > old repo > Why this? Try again, and this time leave this step out. -- You received this message because you are subscribed to the Google Group

Re: [git-users] Bare repository

2014-05-15 Thread Magnus Therning
On Thu, May 15, 2014 at 12:36:41PM -0700, Alain wrote: > Hi, > > Can someone explain me the bare repository functioning ? > i mean i understood the big picture...that it is used if several > people work together in the same company or on the same floor and > may change the same file where othe

Re: [git-users] Which version of .gitattributes does git checkout use?

2014-05-15 Thread Philip Oakley
- Original Message - From: Sander Voerman To: git-users@googlegroups.com Sent: Thursday, May 15, 2014 8:21 PM Subject: [git-users] Which version of .gitattributes does git checkout use? Hi all, My question is this: if the .gitattributes file differs between branches, whic

Re: [git-users] Git tags and information as file header

2014-05-15 Thread Magnus Therning
On Thu, May 15, 2014 at 01:21:26PM -0700, Alain wrote: > Hi, > > i would like to know if it is possible (and if yes, how to do it) to > retrieve for example tag information or file version from GIT in > order to automatically generate/append a file header to each file in > order to allow traceabil

Re: [git-users] Which version of .gitattributes does git checkout use?

2014-05-15 Thread Magnus Therning
On Thu, May 15, 2014 at 12:21:35PM -0700, Sander Voerman wrote: > Hi all, > > My question is this: if the .gitattributes file differs between > branches, which one will git checkout use if you switch from branch1 > to branch2? Will it use the one in the working directory before > checkout, i.e., t

Re: [git-users] Re: git rewrite history for multi module project

2014-05-15 Thread Moataz Elmasry
Unfrotuantly it is not working the way described, but maybe I'm doing something wrong:(, here goes -created two git repos, mainproject and project1 - created a project1/subproject1/readme, did some dummy commits to readme - to simulate svn move, I copied project1 under mainproject,and removed ma

[git-users] Re: Bare repository

2014-05-15 Thread Thomas Ferris Nicolaisen
On Thursday, May 15, 2014 9:36:41 PM UTC+2, Alain wrote: > > Hi, > > Can someone explain me the bare repository functioning ? > i mean i understood the big picture...that it is used if several people > work together in the same company or on the same floor and may change the > same file where

Re: [git-users] worlds slowest git repo- what to do?

2014-05-15 Thread John Fisher
Thanks Philip, Magnus, Sam. There's no question that I have an outlier problem. But others must have similar, for instance master video files. I need both remote archiving/retrieval and version control. FYI we are archiving compressed Linux disk images for VMs and hypervisors. We are hardware-

[git-users] Git tags and information as file header

2014-05-15 Thread Alain
Hi, i would like to know if it is possible (and if yes, how to do it) to retrieve for example tag information or file version from GIT in order to automatically generate/append a file header to each file in order to allow traceability. I mean i would like to have for example: /* * Fil

[git-users] Bare repository

2014-05-15 Thread Alain
Hi, Can someone explain me the bare repository functioning ? i mean i understood the big picture...that it is used if several people work together in the same company or on the same floor and may change the same file where other CVS use locks, Git use Bare repository. but what i do not under

[git-users] Which version of .gitattributes does git checkout use?

2014-05-15 Thread Sander Voerman
Hi all, My question is this: if the .gitattributes file differs between branches, which one will git checkout use if you switch from branch1 to branch2? Will it use the one in the working directory before checkout, i.e., the one that was on branch1? In that case, if the .gitattributes file on b

Re: [git-users] worlds slowest git repo- what to do?

2014-05-15 Thread Philip Oakley
From: "John Fisher" I assert based on one piece of evidence ( a post from a facebook dev) that I now have the worlds biggest and slowest git repository, and I am not a happy guy. I used to have the worlds biggest CVS repository, but CVS can't handle multi-G sized files. So I moved the repo to g

Re: [git-users] worlds slowest git repo- what to do?

2014-05-15 Thread Magnus Therning
On Thu, May 15, 2014 at 10:22:14AM -0700, John Fisher wrote: > I assert based on one piece of evidence ( a post from a facebook > dev) that I now have the worlds biggest and slowest git repository, > and I am not a happy guy. I used to have the worlds biggest CVS > repository, but CVS can't handle

[git-users] worlds slowest git repo- what to do?

2014-05-15 Thread John Fisher
I assert based on one piece of evidence ( a post from a facebook dev) that I now have the worlds biggest and slowest git repository, and I am not a happy guy. I used to have the worlds biggest CVS repository, but CVS can't handle multi-G sized files. So I moved the repo to git, because we are usi

Re: [git-users] That's really weird, there is no issue tracking for git, I want to report a bug, git can not check-out files with invalid Windows path.

2014-05-15 Thread Konstantin Khomoutov
On Thu, 15 May 2014 02:32:32 +0800 罗勇刚(Yonggang Luo) wrote: > > > I report to here because it's not a problem of msysgit, I was ask > > > git do the following things: > > > when commit newly added files, check the filename if its can be > > > used under multiple environment. > > > such as | for