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
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,
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,
> -- 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.
| ||||||||||||||