git sources error for rt2x00

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=5165

teedubb

17-01-2009 04:21:38

i'm new to git and also new to gentoo so bare with me. i've been following the git instructions but i'm getting an error on [code13aqgs2j]git branch "someString"[/code13aqgs2j], below is the error i get

[code13aqgs2j]fatal: Not a git repository[/code13aqgs2j]

i've tried a number of git branch commands

[code13aqgs2j]git branch serialmonkey
git branch serialMonkey
git branch rt2x00.git
[/code13aqgs2j]

but i still get the fatal error. any suggestions? i've read some of the git man page but i'm still confused about some of the git commands.

IvD

17-01-2009 10:06:22

In which folder do you execute that command? It must be within a git repository.

teedubb

18-01-2009 01:52:21

i'm inside the rt2x00 directory when i run the command

IvD

18-01-2009 09:32:55

I assume you mean <git source>/drivers/net/wireless/rt2x00 ?
Depending on git version, that is not good enough, older git versions require you to be in the root of the git repository (which in this casse is the root of the kernel sources). You should be in the same directory as the ".git" directory

n_petr

21-01-2009 19:41:01

i'm new to git and also new to gentoo so bare with me. i've been following the git instructions but i'm getting an error on [code37uqaqkx]git branch "someString"[/code37uqaqkx], below is the error i get

[code37uqaqkx]fatal: Not a git repository[/code37uqaqkx]

i've tried a number of git branch commands

[code37uqaqkx]git branch serialmonkey
git branch serialMonkey
git branch rt2x00.git
[/code37uqaqkx]

but i still get the fatal error. any suggestions? i've read some of the git man page but i'm still confused about some of the git commands.[/quote37uqaqkx]

Hello teedubb,
you can try my bash script for fetching rt2x00 and hostapd git trees

#!/bin/bash
cg clone git//git.kernel.org/pub/scm/linux/kern ... t2x00.git/
git-clone git//w1.fi/srv/git/hostap.git
cp /usr/src/linux/include/linux/nl80211.h /usr/include/linux
mount -t debugfs none /debug