threads / discuss / 14977

Local uncommitted changes, not checked in to index with gitk

Subject: Local uncommitted changes, not checked in to index with gitk

## tl;dr

6 messages between Aug 13, 2008 and Aug 13, 2008.

replies: 5people: 3as markdown or json

Matthieu Moy· Aug 13, 2008, 11:36 UTC · re: srinivas naga vutukuri · lore

Re: Local uncommitted changes, not checked in to index with gitk

"srinivas naga vutukuri" <srinivas.vutukuri@gmail.com> writes:
> just cloning any git repository, next time onwards after pulling
> changes, the gitk is showing
> at the top "Local uncommitted changes, not checked in to index". Why
> it is happening.
What do "git status" and "git diff" say?
-- 
Matthieu
srinivas naga vutukuri· Aug 13, 2008, 12:53 UTC · re: Matthieu Moy · lore

Re: Local uncommitted changes, not checked in to index with gitk

Actually am doing around the 2.6 linux kernel git, and once cloned using rsync url and then done couple of times the git pull, to sync to the latest to the remote.

I just done "git status", Its giving the following output. But i have't done around these files anything at all, not opened, etc.

------------- # On branch master # Changed but not updated: # (use "git add <file>..." to update what will be committed) # # modified: include/linux/netfilter/xt_connmark.h # modified: include/linux/netfilter/xt_dscp.h # modified: include/linux/netfilter/xt_mark.h # modified: include/linux/netfilter/xt_rateest.h # modified: include/linux/netfilter/xt_tcpmss.h # modified: include/linux/netfilter_ipv4/ipt_connmark.h # modified: include/linux/netfilter_ipv4/ipt_dscp.h # modified: include/linux/netfilter_ipv4/ipt_ecn.h # modified: include/linux/netfilter_ipv4/ipt_mark.h # modified: include/linux/netfilter_ipv4/ipt_tcpmss.h # modified: include/linux/netfilter_ipv4/ipt_tos.h # modified: include/linux/netfilter_ipv4/ipt_ttl.h # modified: include/linux/netfilter_ipv6/ip6t_hl.h # modified: include/linux/netfilter_ipv6/ip6t_mark.h # modified: net/ipv4/netfilter/ipt_ecn.c # modified: net/ipv4/netfilter/ipt_ttl.c # modified: net/ipv6/netfilter/ip6t_hl.c # modified: net/netfilter/xt_connmark.c # modified: net/netfilter/xt_dscp.c # modified: net/netfilter/xt_mark.c # modified: net/netfilter/xt_rateest.c # modified: net/netfilter/xt_tcpmss.c # no changes added to commit (use "git add" and/or "git commit -a") ---------------

-srinivas.
On Wed, Aug 13, 2008 at 5:06 PM, Matthieu Moy <Matthieu.Moy@imag.fr> wrote:
Show 12 quoted lines
> "srinivas naga vutukuri" <srinivas.vutukuri@gmail.com> writes:
>
>> just cloning any git repository, next time onwards after pulling
>> changes, the gitk is showing
>> at the top "Local uncommitted changes, not checked in to index". Why
>> it is happening.
>
> What do "git status" and "git diff" say?
>
> --
> Matthieu
>
Matthieu Moy· Aug 13, 2008, 13:49 UTC · re: srinivas naga vutukuri · lore

Re: Local uncommitted changes, not checked in to index with gitk

"srinivas naga vutukuri" <srinivas.vutukuri@gmail.com> writes:
Show 6 quoted lines
> Actually am doing around the 2.6 linux kernel git, and once cloned
> using rsync url
> and then done couple of times the git pull, to sync to the latest to the remote.
>
> I just done "git status", Its giving the following output. But i
> have't done around these files anything at all, not opened, etc.

You probably updated the .git/ directory without updating the working tree. Normally, "git pull" does not do that, so I don't know what's wrong.

Can you provide exactly the way to reproduce? i.e. stg like

$ git status # nothing $ git pull $ git status # something

-- 
Matthieu
Johannes Sixt· Aug 13, 2008, 14:19 UTC · re: srinivas naga vutukuri · lore

Re: Local uncommitted changes, not checked in to index with gitk

srinivas naga vutukuri schrieb:
Show 9 quoted lines
> I just done "git status", Its giving the following output. But i
> have't done around these files anything at all, not opened, etc.
> 
> -------------
> # On branch master
> # Changed but not updated:
> #   (use "git add <file>..." to update what will be committed)
> #
> #       modified:   include/linux/netfilter/xt_connmark.h
...

You are on a case-insensitive file system. The linux kernel source requires a case-sensitive file system because the sources contain both of these files:

include/linux/netfilter/xt_connmark.h include/linux/netfilter/xt_CONNMARK.h

(ditto for the other cases that you observed).
-- Hannes
srinivas naga vutukuri· Aug 13, 2008, 15:52 UTC · re: Johannes Sixt · lore

Re: Local uncommitted changes, not checked in to index with gitk

Yes, you are right, am using cygwin, without having the point in mind, i simply thought some thing is going wrong on the git side, I just compared with the gitweb copy on the kernel.org.

I just seen in the cygwin faqs, could possibility of case sensitive managed mount in cygwin, have to see if can achieve that.

And thanks for giving clarity.
-srinivas.
On Wed, Aug 13, 2008 at 7:49 PM, Johannes Sixt <j.sixt@viscovery.net> wrote:
Show 24 quoted lines
> srinivas naga vutukuri schrieb:
>> I just done "git status", Its giving the following output. But i
>> have't done around these files anything at all, not opened, etc.
>>
>> -------------
>> # On branch master
>> # Changed but not updated:
>> #   (use "git add <file>..." to update what will be committed)
>> #
>> #       modified:   include/linux/netfilter/xt_connmark.h
> ...
>
> You are on a case-insensitive file system. The linux kernel source
> requires a case-sensitive file system because the sources contain both of
> these files:
>
> include/linux/netfilter/xt_connmark.h
> include/linux/netfilter/xt_CONNMARK.h
>
> (ditto for the other cases that you observed).
>
> -- Hannes
>
>

← back to recent threads