Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Git commit failed
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Kevin Wallace  
View profile  
 More options Nov 10 2012, 12:26 pm
From: Kevin Wallace <ke...@windrosecareers.com>
Date: Sat, 10 Nov 2012 11:17:02 -0600
Local: Sat, Nov 10 2012 12:17 pm
Subject: Re: [AIDE] Git commit failed

All:

For reference and the quick aid of future Google searchers, I figured this problem out, and it was a bit of a *headdesk* moment for me.

For starters, I mistyped the error message, glossing over an important detail - the actual error message was:

Git commit failed:  /storage/sdcard0/AppProjects/eulerrunner/res/values/strings.xml not in repository /mnt/sdcard/AppProjects/eulerrunner

Of course, now the message is telling me exactly what is wrong.  When I cloned the Git repo, it seems Git resolved the symlink, and AIDE did not (or vice versa, I can't remember which way the symlink points).  When I did the commit, the paths didn't match.  So, it's not a bug, really, just a confusion with symlinked folders.  However, I figure someone else has to have run into this.

All I had to do was browse through the file manager from the symlinked /mnt/sdcard/AppProjects folder to /storage/sdcard0/AppProjects, and ran the commit from there.  It worked like a charm, and I'm hacking away on my tablet again.

Take care,
Kevin

On Nov 9, 2012, at 12:31 AM, Kevin Wallace <kevj...@gmail.com> wrote:

> I jus cloned a Git repository from github (https://github.com/kevjava/eulerrunner.git), changed a file, and when I tried to commit it, I got the following error message:

> Git commit failed:  /storage/sdcard0/AppProjects/eulerrunner/res/values/strings.xml not in repository /storage/sdcard0/AppProjects/eulerrunner

> Is this an issue I can work around, or a known bug?  I have successfully committed to Git repositories and pushed before, so I don't understand why this one is giving AIDE issues.  I can give more information if necessary.  I even tried deleting the repository and re-cloning, making the same change, and got the same error on tryng again.

> Android 4.1 Jelly Bean, ASUS TF201 Transformer Prime

> Thanks a lot,
> Kevin

> --
> --
> AIDE - Android Java IDE mailing list
> android-ide@googlegroups.com
> http://groups.google.com/group/android-ide?hl=en


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.