• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: "Commit NNN Files" Button : Why is NNN much > changed files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Commit NNN Files" Button : Why is NNN much > changed files


  • Subject: Re: "Commit NNN Files" Button : Why is NNN much > changed files
  • From: Fritz Anderson <email@hidden>
  • Date: Wed, 24 Jul 2013 11:27:30 -0500

$ cd '{your project directory}'
$ git status
-or-
$ svn status

That should tell you what files Git or Subversion itself thinks need to be committed. If it disagrees with Xcode, file a bug against Xcode. The next thing I'd do is to close the project, use the Repositories organizer to delete the references to that project's setup, and the Projects inspector to delete the project's derived-data directory [in case some sort of cache has to be weeded-out]. Quit Xcode, then reopen the project.

I'd think that would force Xcode to re-read the on-disk state and conform to it, but Xcode is subtle, and quick to anger.

	— F



On 24 Jul 2013, at 11:10 AM, Jerry Krinock <email@hidden> wrote:

> I'm experimenting with Source Control in Xcode 4.6.3, using Git.
>
> In the "Commit…" sheet, the navigator pane on the left showed of tree of 23 changed files, which is about what I expected.  All of the disclosure triangles were expanded.  There were 23 items.  But the button in the lower right said "Commit 472 Files".  I clicked "Commit 472 Files".
>
> To retest, I made a small changed and clicked "Commit…" again.  This time the navigator and the button agreed that there were only 2 changed files, as expected.
>
> What might those other 449 files have been?  This project has 500+ source files, but I'd only changed about 23.
>
> Yesterday, I had created a new target.  (This is a multi-product project.)  But I don't think that should have caused all of the files to be recommitted.
>
> Thanks,
>
> Jerry
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: "Commit NNN Files" Button : Why is NNN much > changed files
      • From: Jerry Krinock <email@hidden>
References: 
 >"Commit NNN Files" Button : Why is NNN much > changed files (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: __objc_nlclslist
  • Next by Date: Re: "Commit NNN Files" Button : Why is NNN much > changed files
  • Previous by thread: "Commit NNN Files" Button : Why is NNN much > changed files
  • Next by thread: Re: "Commit NNN Files" Button : Why is NNN much > changed files
  • Index(es):
    • Date
    • Thread