Re: [git-users] git Bad file number

2013-09-19 Thread Andy Hardy
On 18/09/2013 22:12, Armando Freire wrote: Hello Andy, I don't think it might be a connection issue, cuz I was able to generate the package untill the 1.3.3 version of the system. Since then, I can't generate for further versions. If I attempt to generate a previous package, it works! :\

[git-users] repo tool from google (android development)

2013-09-19 Thread Gabriel Marchesan Almeida
Hi colleagues, Considering I have multiple repositories in my manifest file. Do you know any way I could refer to different commit hashs on each one of the repositories ? i.e repo1 hash #eee33343443 repo2 hash #3f3f3f323f repoN hash #hjashdjhjh or if I could even use TAGS for that?

[git-users] Re: repo tool from google (android development)

2013-09-19 Thread Gabriel Marchesan Almeida
Thanks for your answer Thomas, However this is not what I am looking for. git-submodules is nice when you have stable components or third party libraries where you can easily choose the version you want to update for different components. However, IFIK, it does not allow you to do changes in

[git-users] Re: repo tool from google (android development)

2013-09-19 Thread Gabriel Marchesan Almeida
I just found this very interesting.. I think revision would do the trick: http://stackoverflow.com/questions/10818758/repo-init-a-particular-commit Hope it helps! On Thursday, September 19, 2013 2:39:52 PM UTC+2, Gabriel Marchesan Almeida wrote: Thanks for your answer Thomas, However this

Re: [git-users] Re: repo tool from google (android development)

2013-09-19 Thread Gergely Polonkai
On 19 Sep 2013 14:39, Gabriel Marchesan Almeida gabrielmarche...@gmail.com wrote: Thanks for your answer Thomas, However this is not what I am looking for. git-submodules is nice when you have stable components or third party libraries where you can easily choose the version you want to

[git-users] git and sudo

2013-09-19 Thread jon heckman
I have a ruby script that interacts with git heavily. I run the entire script in sudo -E (this is needed for reasons other than git) I can do git checkout {branch} just fine. However I get asked for the root@git... password when I try to fetch. I tried using su to make it work but it still asks

[git-users] Re: git Bad file number

2013-09-19 Thread Armando Freire
git archive -o ./TAGver.zip TAGver $(git diff --name-only startTAGver endTAGver --diff-filter [AMCRT]) If I run git archive by itself, it works. If I run git diff... it also works... If I put both together as I used to do, it now crashes! :\ On Wednesday, September 18, 2013 2:47:09 PM UTC-3,

Re: [git-users] git and sudo

2013-09-19 Thread John McKown
Are you using Linux as a system and ssh as the transport? If so , then perhaps you can try putting the command: export GIT_SSH=ssh -i ${HOME}/.ssh/id_rsa before you do your sudo command. The -i ${HOME}/.ssh/id_rsa points to the ssh key file to use. Because you use the -E switch on the sudo

Re: [git-users] Re: git Bad file number

2013-09-19 Thread Andy Hardy
On 19/09/2013 17:00, Armando Freire wrote: Andy, I'm using Git Bash! So... you know which command generates the error? I assumed that as you mentioned git archive and git diff that you were running some form of script. -- You received this message because you are subscribed to the Google

Re: [git-users] Re: git Bad file number

2013-09-19 Thread Andy Hardy
On 19/09/2013 19:25, Armando Freire wrote: git archive -o ./TAGver.zip TAGver $(git diff --name-only startTAGver endTAGver --diff-filter [AMCRT]) I'm not really uptodate on Bash scripting, but what does the $(git diff...) do? I thought that this would to execute the result of the diff