Re: [git-users] Git doesn't detect change, if file modification time is restored to original one

2015-07-23 Thread Philip Oakley
Hi Konrád (The original enquirer?), From: "Paul Smith" On Thu, 2015-07-23 at 01:23 -0700, Konrád Lőrinczi wrote: I should somehow ignore atime and mtime when doing diff for status. Just to be clear, what this would involve is for every file in the repo, Git would have to extract the HEAD ver

Re: [git-users] bare repository checkout

2015-07-23 Thread Paul Smith
On Thu, 2015-07-23 at 06:43 -0700, dexter ietf wrote: > git clone with --bare option was significantly faster, so > > i just assumed it fetches the bare-minimum data. > thanks for your detailed answer, it all makes sense now. The difference in time tells you how long it takes to extract a worki

Re: [git-users] Git doesn't detect change, if file modification time is restored to original one

2015-07-23 Thread Paul Smith
On Thu, 2015-07-23 at 01:23 -0700, Konrád Lőrinczi wrote: > I should somehow ignore atime and mtime when doing diff for status. Just to be clear, what this would involve is for every file in the repo, Git would have to extract the HEAD version into a temporary file (or memory buffer) then compare

Re: [git-users] git fetch doesn't update latest tags on a bare repo.

2015-07-23 Thread Konstantin Khomoutov
On Thu, 23 Jul 2015 06:44:41 -0700 (PDT) dexter ietf wrote: > i have a bare repo, when i do a git fetch, the remote tags are not > getting updated, though the 'fetch command' runs successfully. please > shed some light. thanks. That's almost zero information in your problem statement. So, to be

[git-users] git fetch doesn't update latest tags on a bare repo.

2015-07-23 Thread dexter ietf
Hi, i have a bare repo, when i do a git fetch, the remote tags are not getting updated, though the 'fetch command' runs successfully. please shed some light. thanks. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from th

Re: [git-users] bare repository checkout

2015-07-23 Thread dexter ietf
On Thursday, July 23, 2015 at 5:58:21 PM UTC+5:30, Konstantin Khomoutov wrote: > > On Thu, 23 Jul 2015 00:54:32 -0700 (PDT) > dexter ietf > wrote: > > > bare repository only contains the meta data, but when i clone from a > > git clone with --bare option was significantly faster, so i just a

Re: [git-users] bare repository checkout

2015-07-23 Thread Konstantin Khomoutov
On Thu, 23 Jul 2015 00:54:32 -0700 (PDT) dexter ietf wrote: > bare repository only contains the meta data, but when i clone from a > bare-repo > full tree will be checked out. how does git manage to achieve that. i > know it's > a newbie question. but surprised by the fact that git can do that.

[git-users] pushing a private branch to a remote master branch.

2015-07-23 Thread dexter ietf
Hi, This is what i did, git main repo, call it (M): - clone (M) call it (M-merge) - clone (M) call it (C-merge) - on C-merge, add a new remote for (M-merge), call it Remote-M - on C-merge, create a branch called SC-merge and set it track Remote-M - make a commit to SC-merge and try to push

Re: [git-users] Git doesn't detect change, if file modification time is restored to original one

2015-07-23 Thread Konrád Lőrinczi
I tried: $ git update-index --refresh $ git status On branch feature/file_restore_date nothing to commit, working directory clean $ git update-index --really-refresh $ git status On branch feature/file_restore_date nothing to commit, working directory clean Unfortunately none of them was able

Re: [git-users] Git doesn't detect change, if file modification time is restored to original one

2015-07-23 Thread Philip Oakley
Does 'git update-index' offer any opportunies? (I've not RTFM'd it) - Original Message - From: Konrád Lőrinczi To: Git for human beings Cc: flatw...@users.sourceforge.net Sent: Thursday, July 23, 2015 8:26 AM Subject: Re: [git-users] Git doesn't detect change, if file modifi

Re: [git-users] adding a remote on a private branch.

2015-07-23 Thread dexter ietf
On Wednesday, July 22, 2015 at 4:03:46 PM UTC+5:30, Konstantin Khomoutov wrote: > > On Tue, 21 Jul 2015 23:00:23 -0700 (PDT) > dexter ietf > wrote: > > I'm afraid you might have terminological issues here: you can't clone > branches, you can only clone entire repositories (containing branches).

[git-users] bare repository checkout

2015-07-23 Thread dexter ietf
Hi, bare repository only contains the meta data, but when i clone from a bare-repo full tree will be checked out. how does git manage to achieve that. i know it's a newbie question. but surprised by the fact that git can do that. so curious to know the answer asap. thanks. -dexter -- You rec

[git-users] How to organize multiple small reusable components with Git?

2015-07-23 Thread Bing Tian
I am using git to manage some circuit components. Each component is small and I plan to create a "component" project in Git to hold all the small components. Each component may have several released version, such as Comonent1_V1, Component1_V2, Comonent2_V1, Component2_V2. And for future reuse, I

Re: [git-users] Git doesn't detect change, if file modification time is restored to original one

2015-07-23 Thread Konrád Lőrinczi
I tried to set core to: trustctime = false checkStat = minimal Unfortunately the change is still not detected :( It seems isn't a way to force fallback to file checking and completely ignore file modification date :( 2015. július 22., szerda 21:10:56 UTC+2 időpontban Konstantin Khomoutov