IRCloggy #git 2008-10-21

Logs Search ←Prev date Next date→ Channels Documentation

Provider of IRC logs since 2005.
WARNING: As Freenode became unjoinable and lost all warnings in topics, we cannot log channels on Freenode anymore.

2008-10-21

bbuss joined00:01
quoin joined00:01
Flathead joined00:05
ciaran joined00:06
eternaleye left00:06
withanx left00:10
diask joined00:12
diiask left00:12
carrus85 left00:15
LiamH joined00:17
deskinm left00:18
deskin joined00:19
qrush joined00:19
akahn left00:21
jburd left00:21
tiglionabbit joined00:25
mw|out left00:28
akahn joined00:30
Tv left00:33
akahn_ joined00:38
akahn_ Is there a way to overwrite my local uncommited changes when using `git pull`?00:38
sgrimm joined00:38
joeyh left00:39
akahn left00:39
akahn_akahn00:39
akahn_ joined00:40
deskin akahn: sure: git reset --hard HEAD; git pull00:40
mashmore disclaimer: I'm still a bit of a git newb too, but I'm pretty sure that - if you wanted to discard local uncommitted changes - you'd do that *before* you "git pull'00:40
akahn deskin: ah, makes sense, thx00:40
eternaleye joined00:41
Dythzer joined00:46
leo2007 spearce: thank you so much for your kind help00:47
bbuss left00:48
akahn How do I use gvimdiff with git mergetool? Where do I move the chunks to/from?00:50
With the three columns, where the middle one is the final file.00:50
timcharper joined00:52
timcharper left00:56
Dythzer left01:12
shenie joined01:15
jtoy joined01:18
gretch_ joined01:22
schlort left01:24
kef left01:27
ciaran left01:28
pillowfactory joined01:29
dkr left01:30
CelticSoul left01:30
pcapriotti_ left01:33
mashmore left01:34
schlort joined01:35
warlock_mza joined01:39
roadt joined01:41
roadt left01:41
mw|out joined01:44
timcharper joined01:48
timcharper left01:49
mw|out left01:53
warlock_mza left01:56
drobbins joined01:56
drobbins hiya01:56
BarryCarlyon left01:57
statim left02:01
Tv joined02:02
whee left02:02
dmlloyd left02:02
tiglionabbit_ joined02:04
offby1 aw, g'wan02:04
offby1 left02:04
FunkeeMonk joined02:10
markelikalderon left02:10
offby1 joined02:12
tiglionabbit left02:15
sgrimm left02:15
akahn_ left02:19
imyousuf joined02:20
leo2007 how to list all tags in a work tree?02:21
offby1 "git tag"02:22
maybe "git tag -a"02:22
MaddHatter is there a way to "hide" branches from 'git branch'? I have some old branches I want to keep around; I just don't want to look at them all the time.02:23
j_engelh then just don't look at it02:24
dmlloyd joined02:24
offby1 "Don't Do That, Then"™02:25
MaddHatter it's nicer when the branch list doesn't scroll off-screen :-/02:27
leo2007 will tags be preserved in a repo clone from SVN?02:28
kyrus1 joined02:29
offby1 Probably, at least if you pass the right command-line option02:29
I seem to recall branches getting preserved02:29
why not Try It And See™?02:29
leo2007 actually I tried and couldn't see the tags02:31
offby1 pay attention to the command-line flags; the first (few) time(s) I tried converting a repository, I forgot those flags, and didn't see any branches or tags.02:32
tiglionabbit_ left02:33
tiglionabbit joined02:35
leo2007 offby1: thx02:38
diask left02:42
diask joined02:43
statim joined02:43
sgrimm joined02:44
Slashbunny left02:48
sudoer joined02:49
nikolasc joined02:50
shenie left02:51
schlort left02:52
neurodamage left02:52
david_koontz left02:55
jtoy left02:56
eternaleye_ joined02:58
LiamH left03:00
statim left03:01
FunkeeMonk left03:02
tiglionabbit_ joined03:04
madduck left03:05
eternaleye left03:12
tiglionabbit_ left03:14
tiglionabbit left03:14
WALoeIII joined03:21
flaguy left03:22
r0bby joined03:23
jackdempsey left03:25
fhobia joined03:26
mithro joined03:27
\ask- joined03:28
willb joined03:28
zachinglis joined03:31
deskin leo2007: not sure if you're still trying svn stuff; since svn tags are actually mutable, git svn saves them as branches, so git branch would show them, not git tag03:32
schlort joined03:34
jtoy joined03:35
DGMurdockIII joined03:38
DGMurdockIII dose anyone now any free software that can turn a pocket pc in to a remote for a tv?03:38
hi03:38
sudoer left03:38
deskin DGMurdockIII: tried #handhelds?03:39
DGMurdockIII ok03:39
DGMurdockIII left03:40
litage i checked out an old commit with ``git checkout A_COMMIT_HASH''. how do i now go back to the latest commit?03:40
well, i guess "forward", not "back" =P03:40
offby1 check it out!03:41
j_engelh checkout what you had before03:41
offby1 use "git reflog" if you can't remember its hash03:41
litage j_engelh: so i have to use the commit's hash?03:41
paltman joined03:41
j_engelh anything that resolves to a commit03:41
offby1 only if there is no ref pointing to it03:41
zachinglis left03:42
litage thanks guys03:43
j_engelh no *named* ref ;)03:43
a commit is a ref, sort of :p03:43
offby1 what would an unnamed ref be?03:44
j_engelh a commit SHA has no name03:44
offby1 those count as refs?03:45
j_engelh dunno03:45
offby1 I thought refs were "little files under .git/refs"03:45
j_engelh but git-push certainly accepts them!03:45
well ref is short for reference (sic: pointer)03:45
and well, I'd argue that a SHA is a ref to itself at least :p03:45
or rather03:46
the *string* you hand to checkout is a semi-named ref that will be resolved to the particular commit03:46
inconceivably confusing!03:46
offby1: also by your argument,03:46
"only if there is no ref pointing to it"03:46
but you can say git checkout HEAD@{1}03:46
now what's that...03:47
it's neither a named ref, nor a commit SHA03:47
oh well HEAD may be. But HEAD@{n}, HEAD^n, HEAD^{n} and HEAD~n probably are not :p03:47
offby1 rolls eyes03:48
deskin maybe refs should be thought of as things which keep commits from being gc'd, or changed with git update-ref/symbolic-ref03:52
mithro left03:52
deskin shrugs03:52
parasti man gittutorial, of course03:53
Gitbot parasti: the gittutorial manpage can be found at http://git.or.cz/man/gittutorial03:53
parasti err, did I say "tutorial"? anyway, scroll right to the bottom and click "gitglossary(7)" :P03:54
mithro joined03:55
Ademan joined03:57
Ademan left03:58
jony joined03:59
jhelwig joined03:59
paltman_ joined04:00
parasti left04:00
johnw joined04:00
jhelwig left04:01
jhelwig joined04:01
fhobia left04:01
uau left04:02
ben_h joined04:02
offby1` joined04:06
perezd88 joined04:06
jesselucas joined04:06
uau joined04:07
SRabbelier left04:09
tjafk2 joined04:10
SRabbelier joined04:12
tjafk1 left04:13
bremner left04:14
paltman left04:16
bremner joined04:18
fhobia joined04:19
leo2007 deskin: git branch shows only one branch master04:20
jtoy left04:22
willb left04:22
offby1 left04:22
paltman joined04:23
Jacolyte joined04:28
offby1`offby104:29
paltman_ left04:30
jony left04:34
SRabbelier pasky: dude?04:37
iAmTheDave left04:37
SRabbelier pasky: you know what would be a sweet gitweb feature? optionally turn of line-numbering in blob view... so you can actually copy/paste from it04:39
qrush isn't that what the raw view is for?04:41
bts- left04:42
tpope it's also quite possible to structure html in a way that web browsers won't grab the line numbers04:42
bts- joined04:43
niki left04:43
kyrus1 left04:43
rtomayko joined04:43
asp_ joined04:46
cedricv joined04:51
SRabbelier tpope: that would be ven better, probably04:55
qrush: which one?04:55
qrush the raw view. it's just the straight contents of teh file04:56
Tv left04:57
schlort left05:01
Tv joined05:02
mediogre joined05:06
schlort joined05:07
dkr joined05:08
up_the_irons2 left05:10
dkr left05:10
madewokherd left05:12
up_the_irons2 joined05:13
jesselucas left05:13
paltman_ joined05:18
dkr joined05:18
jony joined05:21
AreliusAreliusFreeNode05:23
AreliusFreeNodeArelius05:23
diask left05:23
diask joined05:24
AreliusAreliusFreeNode05:24
AreliusFreeNodeArelius05:25
paltman left05:25
perezd88 left05:29
paltman joined05:31
jony left05:31
ruskie joined05:32
jony joined05:33
paltman_ left05:38
qrush left05:48
WALoeIII left05:55
CodeOfficer left05:56
c0sin joined05:56
pillowfactory left06:05
uau left06:06
carllerche left06:08
kef joined06:08
Aikawa left06:09
paltman left06:15
elmex joined06:17
felipec left06:18
Flathead left06:19
uau joined06:20
carllerche joined06:20
harinath joined06:20
priidu joined06:21
SRabbelier left06:23
pio_ joined06:29
jony left06:31
jony joined06:33
pio_ left06:34
thorny_sun joined06:35
thorny_sun i'm very confused by git log manpage. how can i get git-log to show diffs on a particular file?06:35
git log -- filename isn't giving me diffs06:36
and i can't find the switch to do it06:36
doener -p06:36
thorny_sun oh-- so patch format is the same as diff format?06:36
doener diff generates patches ;-)06:36
litage left06:37
priidu left06:39
reel_ joined06:41
ph^ joined06:41
ben_h left06:44
bronson left06:44
thiago_home thorny_sun: what other format would you expect for a patch? :-)06:45
diff and patch are the two sides of the same coin06:45
bentob0x joined06:45
pantsman joined06:54
thorny_sun left06:57
sbeyer joined06:58
madduck joined06:59
mithro left07:00
Ramblurr left07:00
rtomayko left07:02
Weaselweb joined07:03
bronson joined07:05
koke joined07:08
priidu joined07:13
nud joined07:17
asp_ left07:18
lucsky joined07:22
lucsky 'morning07:23
c0sin left07:23
Dythzer joined07:25
charon joined07:26
carllerche left07:29
tchan left07:30
ciaran joined07:33
ph^ left07:40
ph^ joined07:41
tango_ left07:41
regulate left07:46
ben_h joined07:51
uau left07:52
CelticSoul joined07:53
regulate joined07:53
digitalpardoe joined07:54
digitalpardoe left07:54
zachinglis joined07:55
uau joined07:57
Hemebond joined07:57
johnw left07:58
truls joined07:58
truls hey07:58
fhobia left08:00
jonalv joined08:00
johnw joined08:02
truls playing with git blame <path>, and it only seems to be able to show correct info when I provide a direct relative pathname (like a/b/c.txt)08:03
markelikalderon joined08:04
advany joined08:04
truls anything else (like absolute path or ./a/b/c.txt) will still show the file, but with only info from the first commit08:04
is this expected behavior, am i missing something?08:04
trochala joined08:05
shodges joined08:07
Hemebond truls: You asking me?08:10
olly joined08:11
pcapriotti joined08:11
Jacolyte left08:15
truls Hemebond: you too08:15
Hemebond I have no idea. I just started using Git.08:15
truls heh, then dont worry about it08:16
charon truls: works here. which git version? any symlinks in the path?08:17
doener truls: "git blame foo" and "git blame ./foo" make no difference here08:17
truls charon: 1.5.3 on ubuntu, probably ancient08:17
1.5.4.308:17
charon 097971f5f5608:18
Gitbot [git 097971f5f]: http://tinyurl.com/644y33 -- Make blame accept absolute paths08:18
charon appears to be in 1.5.508:18
truls ah, thanks. where should i have searched for that? google didnt help out08:19
charon i just did an educated-guess-search through git.git08:19
('gitk builtin-blame.c' and search for 'path')08:19
truls ah08:19
doener git log --grep=blame.*absolute :-)08:20
truls didnt really think about getting the git source, keep forgetting how useful that is08:21
(using git to look for changes that is)08:21
tango_ joined08:21
truls thanks for checking into my problem08:21
pantsman left08:22
pantsman joined08:22
bentob0x left08:25
Arafangion joined08:26
Arafangion Hey, is it possible to copy a remote branch from one git repo and put it into another git repo (with a different name)?08:27
offby1` joined08:27
markelikalderon left08:29
Arafangion The situation is that I can do a git p4 clone of two branches into two git repositories, and I want to keep the same behaviour. If I do a git clone, I can't merge them properly, and if I create a remote tracking branch of the original repos, it works except that only the original repos (made with git p4 clone) can properly sync to perforce.08:29
spearce left08:29
zachinglis left08:30
carllerche joined08:30
ben_h left08:30
DrNick Arafangion: git fetch is fundamentally about taking a branch in a remote repo and copying it into a branch in the local repo08:33
doener Arafangion: maybe there's just metadata for git p4 missing?08:34
Fullmoon joined08:35
Arafangion DrNick: I was trying to do it with git remote, which if I'm correct, sets the local repo such that fetch works propelry?08:37
DrNick that's not necessary08:37
jacobat joined08:37
Arafangion DrNick: Please enlighten me.08:37
Also, is it possible to do a merge even if there are no common objects between teh branches?08:38
DrNick git remote is for setting up convenient names for remote repositories that you plan on fetching from frequently08:38
git fetch can fetch from any old url08:38
Arafangion DrNick: I plan on fetching extremely frequently.08:38
mugwump fonseca: do you know who is behind the snarky comments on the gittorrent googlecode project?08:39
tarbo you may be eligible for frequent fetcher points08:39
DrNick and, yes, you can merge anything together, although it won't be easy unless they share history08:39
tchan joined08:39
Arafangion DrNick: So, what exactly does git fetch do?08:39
DrNick sets a local branch to the head of a remote branch, and copies all the necessary objects08:40
Arafangion Wow, simple.08:43
pehlert joined08:43
offby1 left08:43
Arafangion How would I ensure that the metadata is also copied?08:43
Or do I have to do that manually?08:43
DrNick what metadata?08:44
Arafangion Whatever git-p4 likes to use.08:44
Dythzer left08:44
DrNick no idea08:45
Arafangion Basically, what I have is a perforce repo containing two branches, A, and B.08:45
doener _if_ git p4 requires additional metadata/configuration settings, you'll most likely need to manually copy them, or have "git p4" rebuild that metadata from the commits (git svn can do that, because the meta-data is (partially) also in the commit messages)08:45
kanru left08:45
kanru joined08:45
Arafangion I use git-p4 to generate git repositories for branch A and branch B, which I'm unfortunately making as separate repositories.08:45
Hmm, now that I think of it, this is fundamentally a git-p4 issue.08:46
DrNick you probably don't want A and B in separate git repositories08:47
Arafangion Maybe a better solution would be to write up a hook script in the respective repos, so that if I use git to push to it, it will automatically take that commit and put it into perforce.08:47
mugwump Arafangion: see also http://utsl.gen.nz/gitweb/?p=git-p4raw08:47
Arafangion DrNick: You're right, but even for this, I have to hack git-p4.08:47
mugwump if you've got direct access to the perforce repository it might work08:47
Arafangion actually has git-p4 running for a third attempt for a complete, "proper" attempt, which will hopefully work, but isn't hopeful.08:47
Arafangion mugwump: What do you mean by "direct"?08:48
mugwump as in, you can see a whole load of db.* files and a depot/ directory08:48
also a checkpoint and journal08:48
Arafangion mugwump: Ok, I definetly don't, and won't be able to get, direct access.08:48
mugwump mmm. It's hardly surprising that git-p4 doesn't support bringing across perforce merge information08:50
cyberpear joined08:50
Arafangion mugwump: I agree.08:50
mugwump it's hard enough for the users to figure out what happened08:50
Arafangion The issue I've actually got is that I can do a "proper" git-p4 clone @all, but that only works up to a certain revision, at which git-p4 starts referring to sha1 sums that don't exist, and falls apart.08:51
However, I could clone just the tip of the revision, but I can either do it as one branch at a time into it's /own/ repository, and I don't think I have enough resources to copy several branches at the same time.08:52
And even if I were to copy several at teh same time, I suspect that --detect-branches might not work satisfactory.08:52
mugwump well you could potentially graft it in git land on its way through08:53
Arafangion That's what I'm attempting to do.08:53
Well, worst comes to worst, I'll just write hooks to have the 'master' git repos send up commits for their respective branches.08:56
hurikhan|Work joined08:56
doener Arafangion: hm, hashes that don't exist? Are the CRLF files? Windows? Is autocrlf enabled?08:57
Arafangion: autocrlf busts git-svn as well when there are crlf files in the svn repo08:57
Arafangion doener: It is windows, and yes, autocrlf is enabled by default.08:57
doener or at least it used to, there were some patches floating around that were supposed to fix that problem, but I don't know what became of them08:58
Arafangion doener: The issue is that git-p4 clone actually /creates/ the repo. Maybe if this fails (and it's again because of hashes that don't exist), I'll try modifying git-p4 yet again to disable it.08:58
doener if git p4 gets a crlf file, then the original file (with crlf) will have a different hash then the blob that actually ends up in the repo (with just lf)09:00
Arjen Is it possible to 'explode' a pack into its individual contents?09:00
Arafangion doener: I was under the impression that git had to be told which files were crlf ones.09:00
doener Arafangion: no, that's why it is called _auto_crlf ;-)09:01
Arafangion Damn.09:01
A useful feature to be sure, IF it isn't on by default. *sigh*, well I'll give disabling it a go.09:01
doener seems that the majority of windows git users couldn't handle lf files at all...09:03
Arafangion Only those who use notepad.exe09:03
doener but I didn't follow the respective discussions, simply because I don't care about the whole crlf/lf issue. Line endings are LF, period. :-p09:03
Arafangion Right now I don't care as long as the damn editors keep it consistent.09:04
Which, seriously, is a trivial issue.09:04
shenie joined09:05
carllerche left09:06
Arafangion I don't want to get worked up about the state of text files, already worked up about the state of version control. ;)09:07
wereHamster is there a way to find out whether git fetch fetched new data or whether the tree was already up to date?09:08
(other then parsing the output)09:08
Arafangion wereHamster: du? ;)09:10
(And parsing the output, there's output to be parsed regardless of the approach)09:10
wereHamster ah well, then it's ` | grep 'Current branch master is up to date.'`09:11
Arafangion Good man. :)09:15
huzaifas joined09:17
mugwump you can get that information from git-show-ref | grep remotename09:17
huzaifas does any one know how i can import a cvs repo into git?09:18
Arafangion People still use cvs?09:18
huzaifas yep they want to use git now :)09:18
Arafangion Heck, subversion's nicer than cvs.09:18
huzaifas: I'm a perforce user, at the moment, btw.09:19
huzaifas: That said, git and cvs is probably the easiest conversion, I'd reckon, that's how it was tested with Linux, afaik.09:20
huzaifas: Google for git and cvs.09:20
mugwump lol, go watch the linus google tech talk vid Arafangion09:20
DrNick converting CVS to anything is hard09:20
because CVS doesn't have the notion of a changeset or commit09:21
Arafangion mugwump: I've read the transcript.09:21
DrNick and people had the strange habit of editing the ,v files directly, making coherency even more difficult to establish09:21
pasky huzaifas: depends on the size09:21
DrNick also, Linux has never been stored in CVS09:21
Arafangion DrNick: Indeed, but it was in bitkeeper, right?09:21
pasky huzaifas: for basic conversion, git cvsimport could do, but iirc it used to be not 100% reliable on stranger repositories09:21
huzaifas: there are more advanced solutions, e.g. cvs2git09:21
Arafangion DrNick: And guess what alternative RCS system bitkeeper is compatible with.09:22
DrNick SCCS09:22
pasky bitkeeper uses the sccs file format but it's not clear what do you mean by "compatible"09:23
Arafangion DrNick: I was under the impression that one can get a CVS repository out of BK.09:23
DrNick what's getting CVS out of BK have to do with getting CVS into git?09:24
pasky that you can use that to get bk into git :)09:24
Arafangion And hence it must've been one of the first other->git conversions.09:25
Arafangion is seriously thinking of writing his own git-p4 hack, which uses a staging area.09:25
DrNick no, Linus constructed the first git repo by hand09:26
I suppose the Xorg cvs import was early, though09:26
Arafangion As a series of patches, that'd make sense too, actually.09:26
malkomalko joined09:26
Arafangion Hmm, turns out Linus doesn't actually talk about using the CVS export from BK at all.09:27
Not according to the transcript.09:28
dwmw2_gonedwmw209:28
pasky the cvs export from bk was used for one of the original conversions, iirc09:28
but a custom one was created later09:28
Arafangion That's what I heard.09:28
synsol left09:29
wereHamster I settled for if [ "$(git show-ref HEAD | head -c7)" = "$(git show-ref origin/master | head -c7)" ]; then09:29
mecha joined09:30
synsol joined09:36
malkomalko left09:38
\ask- left09:39
Pieter can anybody remember a patch to git-for-each-ref allowing natural sorting?09:42
that is, that 1000a is sorted after 100a09:42
huzaifas left09:43
Kbyte joined09:45
truls left09:49
thiago_ joined09:51
shenie left09:51
harinath left09:58
mariusSO left10:01
jonalv left10:01
thiago left10:03
kanru left10:05
kanru joined10:06
not-xjjk joined10:06
kanru left10:06
kanru joined10:06
bdowning left10:09
akahn left10:09
samurai left10:10
bdowning joined10:11
sdboyer left10:11
sdboyer joined10:12
samurai joined10:13
akahn joined10:15
jony left10:16
zockerkuddel_ joined10:17
zockerkuddel_ left10:17
ankit9 joined10:18
thiago_ left10:21
Arafangion Hmm. Maybe I could use p4 diff2 to manage my git-to-p4 setup ala "set of patches" style.10:23
And use a staging area to apply git's changes as desired when "pushing".10:23
xjjk left10:27
Arafangion really hopes he gets git-p4 working.10:32
jony joined10:34
Arafangion What exactly is the origin?10:43
priidu left10:43
doener "the" origin? "origin" is the default name of the remote for the repo you cloned from10:44
Arafangion How would I make it if I didn't do a clone.10:44
(Yes, that's the one I'm talking about)10:44
doener clone is kind of: git init; git remote add -f origin <repo-url>" + branch creation + checkout10:45
Arafangion makes sense, thanks. That reminds me, when I did git remote add foo10:45
git remote foo /c/otherrepo10:45
It didn't seem to work, the remote repository kept unexpectidly closing!10:46
It worked when I did -f, though.10:46
doener -f just means that "git fetch" will immediately be done for the new remote10:47
Arafangion That's what's confusing me, somehow doing -f is different to simply calling git fetch yourself.10:47
doener ie. "git remote add -f foo /path/to/foo" == "git remote add foo /path/to/foo && git fetch foo"10:47
Arafangion It's possible I didn't add that final 'foo' to the fetch command. Hmm.10:47
doener just "git fetch" is equal to "git fetch origin"10:48
so if you don't have an "origin" remote, that would fail10:48
Arafangion Now that makes sense, as I don't generally have an origin.10:48
doener well, probably unless you happen to have a subdirectory "origin" with another git repo in it10:48
the plain "git fetch" should also have said: fatal: 'origin': unable to chdir or not a git archive10:49
Arafangion It didn't.10:50
Hemebond left10:50
kukks joined10:52
thiago joined10:55
Arafangion thiago: Welcome.10:59
thiago thanks11:00
Arafangion thiago: I'm hoping that when I get to work, it'll be third time lucky. :(11:01
thiago sorry?11:01
thiago has to leave for two meetings now11:01
Arafangion thiago: Not blaming you! Don't let me keep you.11:01
Arafangion is being conversational, he thinks.11:02
priidu joined11:06
emilsedgh_ joined11:07
cmarcelo joined11:10
jfontan joined11:13
koke left11:17
emilsedgh_emilsedgh11:19
jfontan is there a way to clone an specific directory inside a repo?11:21
Arafangion jfontan: I don't think git has a concept of that.11:22
jfontan I don't want to loose the history of those files11:22
ouch11:22
EmilMedve joined11:22
mcella joined11:23
kishore joined11:25
imyousuf left11:25
leethal joined11:26
leethal greetings! Are there any tacticts to completely remove all traces of a file from a repository?11:26
kishore I know there are plenty of blogs out there, but im still looking for a good svn to git migration guide for an svn repo that hosts multiple projects11:26
leethal it has never changed, just been added, in case that matters11:27
Arafangion leethal: best you could do is rewrite all the history that refers to that file, utterly messing up everybody else's repository if they are required to merge up to you.11:27
leethal I see. It's not a big deal, so I guess I'll leave it ; )11:28
kishore is there a good guide that implements hierarchy of projects and subprojects (submodules? what's the diff?)11:28
broonie Though if you're doing a svn->git conversion that's the best time to do it since nobody will have references to the history before it's converted.11:28
zachinglis joined11:28
emilsedgh i cannot seem to find how to add a new mergetool.i tried config --global mergetool.kompare.path /home/kde-devel/kde/bin/kompare but kompare is not showing up in my mergetool candidates11:29
p0w3r3d joined11:30
lorandi joined11:31
Arafangion emilsedgh: it's mergetool.kompare.cmd11:35
emilsedgh thanks Arafangion, let me try it11:35
Arafangion emilsedgh: See git-config help11:35
git help config, rather.11:35
emilsedgh git config --global mergetool.kompare.cmd /home/kde-devel/kde/bin/kompare didnt work, but i'll read them.thanks.11:37
marze joined11:39
bcarlyon|laptop joined11:39
bcarlyon|laptopBarryCarlyon11:41
Mario_pygi11:41
cyberpear left11:43
Arafangion As a curiosity, how does git behave with respect to file renames/moves which differ only by case, on different filesystems that handle case in different ways.11:45
thiago git doesn't track file names11:46
it tracks content11:46
Arafangion I'm aware of that, having said that, I know that git-p4 has issues if it is used on a case insensitive FS while there are case sensitive file movements.11:46
thiago Git won't like it either11:47
Arafangion I suspect that as far as 'native' git handles it, that is, git without the use of git-p4 or other tools, it'd be fine until you actually check out the offending revision.11:47
thiago: btw, my latest theory with git-p4 dying is that, unless my current sync actually succeeds, is that autocrlf might be messing things up.11:49
thiago we imported on Linux with autocrlf off11:49
Git doesn't care about what the file names are11:50
whee joined11:50
thiago the problem is when you change the case of a file in a case-insensitive FS11:50
when git stats the old name, it's there. But when it lists the dir, not only is it not there anymore, a new name appeared.11:50
earcar joined11:51
gretch_ left11:51
earcar left11:51
earcar joined11:51
earcar left11:51
Arafangion I sometimes wonder if git should be case insensitive but case preserving on such OS's.11:52
Ramblurr joined11:52
makkalot joined11:52
thiago it should11:54
but it's not an easy question11:54
makkalot hi all i used command to have patches of all my commits : git-format-patch -C -M -o patches/ --author=makkalot --root , and i want to apply those on another machine which doesnt have git installed,so i can use only patch command i do patch -p0 < file.patch but alway got errors?11:54
thiago it's not about the OS, but the FS11:54
p0w3r3d left11:54
Arafangion thiago: Trivial to test.11:54
thiago for example, MacOS X can run on HFS (insensitive) or ZFS (sensitive)11:54
good point (for an application)11:54
my experience is from a library perspective (Qt): I can't just create a new file11:55
I had to reject the task that requested that11:55
deskin makkalot: patch -p1, not -p011:55
makkalot deskin: so it is not about the git format11:56
i will give a try11:56
deskin git puts fake a/path/to/file and b/path/to/file as leading the diff header11:56
nope, the diff is compatible with patch11:56
Arafangion thiago: Well, in Qt's case, if you had to do it, the best you could do would be to provide a hook.11:57
I must admit that I've never actually developed using Qt. :(11:57
Unfortunate, as I'm told it's the best, generally speaking.11:58
Arafangion is currently doing Gui development with Delphi.11:58
bmalee Arafangion: are you in therapy for that?11:59
Arafangion bmalee: It could be worse.11:59
Cozminsky could be worse, could be vanilla pascal11:59
Arafangion And this is remarkably good, clean Delphi.12:00
It's better than C++ in some ways, though I seriously miss RAII. :(12:00
Seriously.12:00
And not having templates is an annoyance.12:01
qrush joined12:02
Arafangion Delphi 2009 has closures, lambdas and generics, btw.12:03
makkalot deskin: thanks :)12:03
deskin glad to help12:03
grahal joined12:04
marze left12:06
buckett joined12:07
tcurdt joined12:08
Fullmoon left12:10
EmilMedve left12:10
tcurdt hey folks ... quick question: moving head to a tag I used 'git checkout mytag'. I tells me though that I might want branching instead - but it does seem to move head to the tag. So what's the proper way of doing that then?12:11
kishore left12:11
Jacolyte joined12:24
Arafangion tcurdt: You could make a branch from the tag.12:24
deskin left12:24
bobmcw joined12:24
Arafangion tcurdt: Or ignore the warning, it's a tag, after all, used to label a particular commit sha1, which you're free to use as a branch.12:25
(I think)12:25
Ryback_ joined12:25
d0k joined12:32
advany left12:33
koke joined12:36
girishr joined12:38
doener tcurdt: you just can't checkout a tag like a branch. You'll get a detached HEAD. Basically that just means that you have a commit checked out, and when you eg. create a new commit, HEAD will be updated to reference the new commit, while "normally" the branch head is updated12:39
Arafangion doener: The implication here is that he wants to check out a particular tag, perhaps to build that version.12:41
doener yeah, and then it's fine to just have a commit checked out.12:42
Arafangion Perhaps the warning should be emitted when he *commits*.12:42
doener well, it's not just commit. It's also reset, rebase, am, ...12:42
Arafangion Surely they share code?12:44
emilsedgh left12:44
d0k_ joined12:45
dantrell left12:45
davidfetter joined12:45
malkomalko joined12:47
christophsturm joined12:47
doener Likely the update-ref part. But checkout is the right place for that warning. It's when you switch from a branch to a detached HEAD. There are legitimate reasons to use a detached HEAD even when creating new commits12:49
Arafangion Such as?12:49
advany joined12:49
doener For example, for temporary integration tests of a bunch of topic branches. Quite often I just detach my HEAD merge a bunch of branches, see how that works out and then switch back12:50
Or I create a branch for it _after_ I see that it worked out just as I expected12:50
Or I start hacking around and don't know yet what I'm actually about to create and don't want yet another funky_idea branch12:51
jm joined12:51
Arafangion Can't you delete the funky_idea branch when you're done with it?12:51
mw|out joined12:52
Arafangion Or rebase.12:52
Fullmoon joined12:52
d0k left12:53
doener Rebase? Makes no sense to me in that context. And sure, I could delete the branch later, but I just don't like to bother coming up with a sane name until I know I want to keep the stuff in it.12:54
If it's already referenced by a branch and I decide that I _do_ want to keep it, it's just too tempting for me to just keep the crappy foobar branch name.12:55
parasti joined12:56
doener if it's just referenced by HEAD (and the reflog), it's way more likely for me to think hard and come up with an actually useful name12:56
digitalpardoe joined12:56
digitalpardoe left12:57
charon left12:57
Arafangion As a question, is it possible to 'hide' branch names?12:59
tcurdt @doner, @Arafangion: Yeah, indeed - just wanted to make a build from that tag.12:59
d0k_ left13:00
akahn left13:00
Arafangion left13:01
willb joined13:01
bobmcw left13:03
shodges left13:03
d0k joined13:04
reel_ left13:05
Beket joined13:09
reel_ joined13:09
threeve joined13:09
tcurdt left13:09
Zimi joined13:10
loiseau joined13:10
Zimm left13:15
zachinglis left13:15
lorandi left13:16
zachinglis joined13:17
lorandi joined13:20
imyousuf joined13:22
advany left13:26
not-xjjk left13:31
billybubba joined13:35
boto joined13:41
rothwell_ joined13:43
ankit9 left13:44
BubbaT left13:45
Pieter git cherry-pick f6fdf613:45
nice hash13:45
:)13:45
rwaite joined13:48
rothwell1 joined13:48
snorkel joined13:48
ben_h joined13:50
snorkel how can I tar or zip just the files listed by a "git ls-files -m" ?13:50
mw|outmw13:50
priidu left13:52
rothwell left13:53
cedricv left13:59
snorkel notes the deafening silence13:59
qrush left13:59
davidfetter hello14:00
snorkel hello14:00
davidfetter snorkel, that looks like a tar question more than a git one. the man page may help14:00
davidfetter unclear about git-shell. is there a way for somebody with a spankin' new git-shell account to create repos, or can they only manipulate existing ones?14:01
rothwell_ left14:01
snorkel thought there might be a shorthand for the task14:02
gilimanjaro joined14:02
davidfetter no idea14:02
spearce joined14:02
davidfetter <-- git n00b14:02
snorkel <-- git n00b and unix/linux n00b14:03
davidfetter ah14:03
snorkel a.k.a windows user14:03
davidfetter well, the tar man page should help, then :)14:03
PerlJam snorkel: What's the output of "git ls-files -m"14:03
?14:03
snorkel a list of files14:03
cyberpear__ joined14:04
snorkel ...list of files that have been modified14:04
PerlJam then that's more of a shell question than anything :-)14:05
Lemurnomicon tar jcvf modified.tar.bz2 --files-from <( git ls-files -m )14:05
PerlJam tar czvf file.tgz $(git ls-files -m)14:05
Or Lemurnomicon's way.14:05
Lemurnomicon tomayto, tomahto . . .14:05
snorkel Perl, Lem: thanks14:05
PerlJam Lemurnomicon: yours is better in that it doesn't suffer from command line length problems (if he has bunches of files)14:06
Lemurnomicon yeah, depends on how many potentially modified files and if your tar likes reading from a descriptor; of course if you're using zsh then change it to =( ... ) to have it create a real file14:06
leethal left14:06
spearce left14:07
spearce joined14:07
kishore joined14:10
paltman joined14:13
stouset joined14:14
kishore thiago: Are you the thiago from Qt software?14:15
thiago yes14:15
kishore If yes, im curious to know how qt migrated to git? As reference for my migration14:15
thiago we turned perforce read-only14:16
then everybody had to use Git14:16
:-)14:16
kishore hehe14:16
Ok i was more like how you organized the modules14:16
thiago there are no modules14:16
there's one big repository called "qt"14:16
kishore single tree?14:16
thiago it's now 940 MB14:16
kishore oh14:16
thiago yes14:16
27k files, checkout of over 300 MB14:17
it contains a few extra tools that are not part of the Qt release (like the Qt license key generator), but those are really minor14:17
kishore and externals like phonon? which are maitained in KDE svn?14:17
thiago they're inside our tree. No extra submodule.14:17
kishore a copy?14:18
thiago yes14:18
kishore just curious.. once this "big" tree is created, is is possible to split it on a later date?14:19
thiago yes14:19
we're investigating whether we should14:19
kishore but it is possible! thats a relief14:19
thiago the repository won't shrink though14:20
withanx joined14:21
kishore The problem i have is that some people do not want to checkout the stuff that they do not work on...14:21
and with git partial checkout is not possible AFAIK14:21
snorkel left14:23
PerlJam kishore: sounds like someone should be using submodules.14:23
priidu joined14:24
jony1 joined14:24
jony left14:24
kishore PerlJam: thats right! I just want to refer a to a good document that helps me migrate from SVN14:24
p0w3r3d joined14:24
kishore PerlJam: can you refer me something?14:25
hopefully something that highlights the possible pitfalls! :)14:26
eternaleye_ left14:29
rdavila joined14:29
EmilMedve joined14:31
willb left14:32
kishore when setting up submodules as described in http://www.kernel.org/pub/software/scm/git/docs/user-manual.html#submodules14:37
the commands refer to operations that should be done server side.. right?14:37
mattf left14:38
imyousuf left14:41
cyberpear__ left14:42
cyberpear__ joined14:43
aroben joined14:44
lorandi left14:44
lorandi joined14:44
thiago kishore: in our case, everyone always checked out this much14:45
so it's not a change for them14:45
what is a change is that now they can't do partial updates14:45
if they pull, they get all changes14:45
kishore yeah14:45
jackdempsey joined14:46
bobmcw joined14:49
jony1 left14:50
djanowski joined14:50
Beket left14:50
djanowski hi everyone. i tend to use git pull --rebase quite a bit. so i was thinking of making it the default. now i see the warning on the man page stating that --rebase is potentially dangerous if i already published my history. what does publishing mean? that somebody pulled from me?14:51
dsop djanowski: yes14:51
djanowski: if someone else has a copy of your repository.14:52
djanowski dsop: for this project we use git in a centralized way. we all push and pull to and from a main repository. so i shouldn't worry about --rebase then. that right?14:53
dsop rebase might result in rewritten commits, which means that they have different sha1s. If someone pushed a commit that's commit Id is later changed due to a rebase, a second pull from the repository will result in duplicated commits.14:53
rdavila_ joined14:53
malkomalko left14:54
dsop djanowski: if you just rebase your local changes on top of what you pulled, it's fine.14:55
djanowski dsop: thanks a lot!14:55
asp joined14:55
p0w3r3d_ joined14:56
dsop djanowski: but if someone alreadyd have a commit from you, or if you rebase the pulled changes on your local changes, you will get in trouble. I never used git pull --rebase, but I guess it rebsaes your local branch on top of what you pulled, so if the local branch is not yet published it's fine.14:56
zachinglis left14:56
abbe joined14:56
djanowski hm, i wonder if rebase will mask the real commit timestamps14:59
mediogre left14:59
jhelwig left14:59
cedricv joined14:59
icwiener joined15:00
j_engelh yes15:00
Juice10 joined15:00
lorandi left15:01
lorandi joined15:01
gebi left15:01
cyberpear__ left15:02
lorandi left15:02
rmh3093 left15:02
lorandi joined15:02
djanowski k thanks15:03
p0w3r3d left15:05
mattf joined15:06
reel_ left15:06
Juice10 hi, how do I import a remote branch into a local git repository?15:07
offby1` "git remote add some-name git://url/to/remote/branch"; then "git fetch some-name"15:08
djanowski left15:08
djanowski joined15:09
j_engelh nada...15:09
you can't add a branch as a remote, can ya15:09
always the whole repo15:10
charon joined15:10
Juice10 j_engelh, how can I add it?15:10
doener git fetch remote-repo refs/heads/remote-branch-name:refs/some/local/ref15:10
if it's just a one shot, single branch fetch15:10
mcella left15:10
sgrimm left15:11
doener otherwise just "git remote add some-name remote-repo" and "git fetch some-name" to get all branches from the remote as remote tracking branches15:11
juanjoc joined15:11
j_engelh look at the faq..15:11
Juice10 j_engelh, I was looking trough the documentation but I couldn't find anything that makes any sense15:12
j_engelh hm15:13
Juice10 I asked the same question a week ago here, and I got an answer that worked only I can't find any log files so I had to ask it again15:13
bdiego joined15:13
Juice10 I can remeber it was something with `git branch refs/heads/master` but what exactly I don't know15:14
zachinglis joined15:15
rdavila left15:15
tango_ left15:16
willb joined15:17
j_engelh remote add + fetch + branch, so yeah so what :p15:17
Juice10 ah I did find it after all, (my spotlight search is not working): `git checkout -b new-branch-name remote-name/branch-name`15:18
gebi joined15:20
cyberpear joined15:20
sgrimm joined15:23
alley_cat joined15:23
quoin left15:25
jesselucas joined15:26
Juice10 what does "git checkout: updating paths is incompatible with switching branches/forcing" mean?15:27
jast probably that checkout got confused over the arguments you gave it15:28
this might happen if, for example, you say something like git checkout -b foo this-is-not/a-branch15:29
woeye joined15:30
Pieter I like how you can push a merge in 700 bytes :)15:32
j_engelh yes, if the sets of files are distinct.15:33
Juice10 jast, that right, thats what happend, I was looking in the wrong .git/config (the remote was named server in the "wrong" config and "origin" in the other)15:33
bronson left15:34
etgryphon joined15:35
trochala left15:38
thecatwasnot left15:40
CodeOfficer joined15:40
bronson joined15:40
offby1`offby115:41
LiamH joined15:42
schlort left15:45
schlort joined15:45
thecatwasnot joined15:49
girishr left15:51
threeve left15:55
sgrimm left15:56
fhobia joined15:56
jclinton joined15:56
jclinton it seems like git-svn gets confused too easily or i'm always doing something wrong.15:56
i get this consistently: Last fetched revision of refs/remotes/origin/svn/trunk was r8124, but we are about to fetch: r7854!15:56
when trying to do svn-rebase15:57
gilimanjaro left15:57
cedricv left15:57
jclinton the only solution i've found is to recheckout all of the work and re-svn-init15:57
is there a better way? what is going on?15:57
offby1 yikes!15:57
no idea :-|15:57
never heard of that15:58
jclinton: I don't suppose your admin is doing something unusual with the svn repository -- restoring it from backup, e.g. ?15:58
jclinton this is with git-mirror.gnome.org15:58
offby1 I assume that's a git repository, and your its administrator?15:58
s/your/you're/15:58
jclinton no, i'm just the consumer15:58
afaik, very few people are using the git mirror so far15:59
when you git clone git-mirror.g.o you get all the git-svn branches and such16:00
offby1 sure16:00
so it's a _git_ repository?16:00
jclinton and it seems that as soon as you do anything locally, you get out of sync16:00
yea16:00
offby1 If that's the case, I'm surprised you're using git svn at all, or seeing error messages from it.16:00
jclinton git-mirror is a git-svn mirror of svn.gnome.org16:00
offby1 sure16:01
jast it's a bit non-intuitive to use git-svn mirrors properly16:01
offby1 oh really?16:01
I'd have expected you could just pretend they were regular git repository.16:01
repositories.16:01
jast did you follow a howto or something like that?16:02
offby1, sure, as long as you don't want to commit back to svn directly, that's fine16:02
jclinton jast: http://live.gnome.org/GitForGnomeDevelopers16:02
parasti I thought the only use for git svn mirrors was to ease setting up your own git svn repo16:02
bronson left16:03
djanowski how would i see the commits in one branch that are not in another?16:03
jclinton jast: what has been happening is that i have been doing git pull to stay up to date16:03
jast: and now that i try to do git svn rebase, it fails16:03
jast you can't use pull, sorry16:03
parasti djanowski: git log $another..$one16:03
jast git-svn needs to update its local data during updates16:03
jclinton jast: because i'm about to do git svn dcommit16:03
jast: so basically i should nuke the origin refs from .git/config ?16:04
jast what you *can* do is fetch16:04
djanowski parasti: thanks :-)16:04
jast but it won't always make things faster16:04
jclinton jast: as long as i don't merge the fetched?16:04
jast particularly if you fetch before their git mirror updates to the most recent version (the one containing your new commit)16:04
in fact i'm not sure if fetch gives you any advantage at all16:05
stousetstouset|away16:05
offby1 jclinton: I wonder if the git-mirror is somehow out of sync16:05
jclinton offby1: it updates every 15 minutes16:06
jast well, it's unlikely it updates instantly16:06
tango_ joined16:06
jclinton offby1: the release i made yesterday showed up after about 5 minutes16:06
jast anyway, mixing git svn rebase and git pull (from a git-svn mirror) is evil :)16:06
jclinton ok, how do i get my git CWD back to a usable state?16:06
git svn fetch appears to be checking out the entire svn history again16:07
jast i suppose git-svn could be extended to deal with things in a smarter way16:07
did you do your own commits before or after the pull?16:07
parasti jclinton: it's probably confused by the history of the current branch16:07
jast (or even both?)16:08
jclinton jast: i have my own commits in a completely sep. branch now16:08
jast: master is clean16:08
jast so master only has some pull stuff in it?16:08
rmh3093 joined16:08
jclinton jast: correct16:08
jast okay16:08
see if you can spot the state before the pull(s) in git reflog master16:09
parasti aren't the remote tracking branches from the mirror intact, though16:09
jclinton jast: found it; very first entry in the reflog16:10
mithro joined16:10
jclinton jast: 63ffb60... HEAD@{51}: clone: from git://git-mirror.gnome.org/git/gnome-games16:10
jast just to be sure: the only things showing up in git reflog show master are that clone and a couple of pulls?16:11
jclinton jast: the only thing that concerns me is : 5b1aab4... HEAD@{40}: checkout: moving from master to aisleriot-clutter16:12
jast: if i lose that branch i will be in pain16:12
jast you used git reflog, right? that shows changes of HEAD, i.e. checkouts too16:12
jclinton yea16:12
jast when you use git reflog show master, you get the history of that branch only16:12
well, history is the wrong word, sort of, but you know what i mean :)16:13
jclinton oh i see16:13
ok so i have the correct reflog nw and it's fine to blow away everything in there16:13
jast: 63ffb60... master@{15}: clone: from git://git-mirror.gnome.org/git/gnome-games16:13
(instead of 51 commits back)16:13
jast okay, make sure master is checked out and do git reset --hard master@{thatentry}16:13
and then see if git svn rebase works now16:14
kilowattage joined16:14
jclinton warning: Log .git/logs/refs/heads/master has gap after Fri, 8 Aug 2008 10:27:51 -0500.16:14
otherwise done16:14
now git svn rebase?16:14
dgrazier joined16:14
jast i don't think that matters16:14
yeah16:14
jclinton cool, thanks16:14
niki joined16:15
jast oh, that side branch of yours, was it based on the fresh clone back then, or did you branch off after one of the pulls?16:15
jclinton the later case16:15
jast okay, so we may need to do a bit of fixing up there too16:15
but we'll see about that once the svn rebase is done16:16
jclinton rebase fails in the exact same way16:16
Last fetched revision of refs/remotes/origin/svn/trunk was r8124, but we are about to fetch: r7854!16:16
re-init svn?16:17
jast oh snap16:17
let's try something else first16:17
jclinton there appears to be some metadata lurking around16:17
Aikawa joined16:17
stouset|awaystouset16:17
jast rename the file .git/svn/trunk/.revmap_something, optimally in a way that you can undo it later on16:18
thecatwasnot left16:18
kef left16:19
jast then try again16:19
jclinton jast: no revmap just an index16:19
jast hmm16:19
jclinton jast: boss wants to go to lunch *right* *now*16:19
jast what git version are you using?16:19
jclinton jast: so i'll have to continue later16:20
kef joined16:20
jclinton jast: 1.6.0.216:20
jast highlight me when you get back16:20
hmm16:20
jclinton jast: cool, thanks16:20
jast well, we'll see about that later16:20
jclinton bbiab16:20
Kbyte left16:21
carllerche joined16:21
leethal joined16:22
olauzon joined16:23
radarek joined16:26
c0sin joined16:29
olly left16:31
Pieter http://source.android.com/submit-patches16:32
bt16:32
w16:32
Android's source is in Git16:32
Jc2k looks like it wasnt until a few hours ago tho16:32
their dbus repo looks kinda screwed16:33
apparently dbus is from 1970 or something..16:33
and their initial contribution is a series of mode changes...16:33
Pieter :)16:34
http://android.kernel.org/16:34
yeah, all 2 hours ago16:34
Jc2k http://android.kernel.org/?p=platform/external/dbus.git;a=summary16:34
1970-01-12 Upstream16:34
:P16:34
Pieter yeah, dbus took a while to get popular ;)16:34
Jc2k same for freetype16:35
Pieter I wonder what this _Gerrit_ tool is16:35
shenie joined16:35
Jc2k some kind of review board for patch submissions16:35
thecatwasnot joined16:35
c0sin left16:35
Pieter http://git.source.android.com/?p=platform/manifest.git;a=commitdiff;h=fd8b112f12abb9dd18bb22fb6f9ca7f2a7633246 it's our spearce!16:36
spearce sssh.16:36
spearce is busy fixing some disaster related to that16:36
spearce but yes, me16:36
Pieter spearce: been a hectic day then?16:37
spearce :-)16:38
robtaylor joined16:38
BarryCarlyon left16:38
robtaylor spearce: please tell me that its just a machine error that i can't see what changes have been made to dbus? :)16:38
twas joined16:39
christophsturm left16:40
asp left16:40
Pieter Recommit your edits using the --amend flag, for example:16:40
$ git commit -a --append16:40
heh16:40
jbailey joined16:40
iulian joined16:42
neuro_damage joined16:43
bronson joined16:44
olauzon left16:44
kilowattage left16:44
mithro_ joined16:45
jast Pieter, close but no cookie ;)16:45
mithro left16:45
vmiklos joined16:45
mithro_mithro16:46
fhobia left16:46
nud left16:47
hurikhan|Work left16:49
kilowattage joined16:50
kilowattage left16:50
cyberpear left16:51
niki left16:51
kilowattage joined16:52
mashmore joined16:52
mashmore left16:52
mashmore joined16:53
neuro_damage left16:53
chris2 joined16:54
neuro_damage joined16:55
neuro_damage when reverting back to a branch there's a conflict in the merge, how do I fix that?16:55
bentob0x joined16:55
rdavila_ left16:56
xjjk joined16:57
leo2007 left16:58
rdavila_ joined16:59
Beket joined16:59
arobenaroben|meeting17:01
dgrazier left17:01
makkalot left17:04
koke left17:05
Juice10 left17:10
radarek left17:10
p0w3r3d_ left17:11
doener left17:12
doener joined17:13
niki joined17:15
litage joined17:17
jfontan left17:18
Yuuhi joined17:19
joydivider joined17:21
Jacolyte left17:22
vmiklos left17:23
schacon joined17:23
vmiklos joined17:23
d0k left17:24
ben_h_ joined17:25
stousetstouset|away17:25
d0k joined17:26
tewk joined17:26
stouset|awaystouset17:27
buckett left17:27
schacon @spearce: congrats on the release17:28
spearce thanks scott17:28
http://android.kernel.org/?p=tools/repo.git;a=summary17:28
repo17:28
shenie left17:28
spearce you wanted it, you got it17:28
tewk git reset --hard HEAD doesn't reset "changed but not updated files" which just have \r\n differences, is that to be expectd?17:28
Arjen I'm gonna take a look at that code review tool17:28
d0k_ joined17:30
ben_h left17:30
ben_h_ben_h17:30
mithro how does one reorder patches easily?17:31
spearce mithro: git rebase -i is your friend17:31
mithro spearce: I basically want to push a single patch without pushing all unpushed patches17:32
but it's not the next one17:32
chris2 left17:32
spearce mithro: use rebase -i to reorder them so the one you want to push is earliest in the series17:32
mithro am I better creating a branch?17:32
spearce or make a branch and cherry-pick it into there17:33
p0w3r3d joined17:35
zachinglis left17:35
p0w3r3d left17:35
thewaltz joined17:40
perezd88 joined17:41
perezd88 left17:41
perezd88 joined17:42
tongueroo joined17:42
threeve joined17:45
d0k left17:45
shayarnett joined17:45
olly joined17:46
niki left17:46
shayarnett is there anyway to get the filename and or path from a blob?17:46
or anywhere one can start digging online to find out about git disaster recovery :D17:47
j_engelh !gitforcomputerscientists17:47
but the reflog may be enough for you..17:48
doener shayarnett: git rev-list --all --objects | grep $blob_hash17:48
j_engelh git fsck17:48
=> find your missing object17:48
_graham_ joined17:48
doener shayarnett: that might show you various filenames for the blob17:48
j_engelh well at least these are the start points17:48
doener: they won't17:48
blobs don't have filenames17:49
doener _if_ there are trees referencing the blob, of course17:49
shayarnett yeah i don't see any trees or commits17:49
only thing i can dig up in the repo is dangling/unreachable blobs :(17:49
doener j_engelh: thus _various_ names. rev-list walks from the commits to the trees and then to the blobs. And the blobs get their filename shown as recorded in the tree from which rev-list found them...17:49
j_engelh oh --objects is that magic flag :)17:50
olly left17:51
tonguero_ joined17:51
spearce schacon: oh, you guys may also be interested in gerrit since its the code review server17:55
Arjen spearce: Can you run Gerrit outside of Google app engine?17:56
vbabiy joined17:56
spearce Arjen: no. its tied to the GAE APIs, though folks have been trying to build their own replacement for the APIs based on the open source GAE SDK.17:56
Gerrit is actually the Rietveld code review tool that already exists for GAE, but heavily patched17:56
so much so that it almost doesn't resemble it anymore. but that's why its on GAE, its what we started from17:57
Arjen Right, that immediately clears up the strange name :-)17:57
niki joined17:57
tango_ android uses git: http://android.kernel.org/17:58
tongueroo left17:58
lorandi left17:58
lorandi joined17:58
loiseau left17:58
Ramblurr left17:59
ia left18:00
ia joined18:01
jclinton jast: back.... we were at reset --hard for master head to the clone point18:08
jast: but that didn't fix git-svn18:08
scientus_ joined18:08
mithro left18:08
scientus_ how do i convert from bare to working ?18:09
jast so what do you have in .git/svn/trunk?18:09
scientus_ i converted but now i cant push to it18:09
i moved everything to .git18:09
changed config so bare= false18:09
jclinton jast: i have .git/svn/origin/trunk/index and a log18:09
jast scientus_, edit .git/config and set bare to false18:09
oh :)18:09
scientus_ and did git reset --hard18:09
jast hmm.18:09
scientus_ and am getting fatal: '/home/git/fp.git': unable to chdir or not a git archive18:09
alexross joined18:10
scientus_ does the config ignore #?18:11
cause its bare = false#true18:11
nope18:11
if you push to a working directory does the working copy update automatically?18:12
thats what i want18:12
aroben|meetingaroben18:12
djanowski left18:12
scientus_ so it can have a running server on it18:12
sgrimm joined18:15
jast scientus_, no, it doesn't. see faq non-bare18:15
Gitbot scientus_: Pushing to non-bare repositories is discouraged. See http://git.or.cz/gitwiki/GitFaq#non-bare18:15
scientus_ than how should i do that?18:15
have a running server allways on head?18:16
jast read the faq entry18:16
jclinton, what does the svn section of your .git/config look like?18:17
scientus_ where do iput the binary file?18:17
sh file18:18
shayarnett left18:18
scientus_ ok iread it sry18:18
jast :)18:18
scientus_ i understand why it is not automatic18:19
and then i put the sticky bit on the server script (its rails), should i instead jsut restart it when there is a commit?18:19
jast what has this got to do with rails?18:20
statim joined18:21
scientus_ just the control of restarting the server18:21
from anyone who can push to it18:21
jast what server?18:21
scientus_ the script/server in the working directory18:21
which is mongrel18:21
jast oh, so you're trying to use the repository contents as a rails application?18:22
scientus_ yeah18:22
so the working head is running and can be tested18:22
jast well, i don't know if it's a good idea to automatically restart it for each commit but yeah, i guess that's the most straightforward way to do it18:23
jclinton jast: sorry was afk, looking18:23
jast though i do think you can configure the rails thing to automatically pick up changes in files18:23
scientus_ yeah i would like to avoid that18:23
jast i haven't looked at it for a long time18:23
scientus_ i guess i could right a few sticky-bit scripts18:23
jclinton jast: url = svn+ssh://svn.gnome.org/svn/gnome-games, fetch = trunk:refs/remotes/origin/svn/trunk18:23
etc18:23
cedricv joined18:23
jast i wonder where the origin dir comes from, i don't have that18:24
jclinton jast: git svn init -s svn+ssh://svn.gnome.org/svn/modulename --prefix=origin/svn/18:24
jast ah18:24
jclinton jast: from the howtoo18:25
jast: and you already have those remote branches after cloning the git-mirror.g.o18:25
jast jclinton, something else that might help is to update .git/svn/.metadata (backup recommended)18:27
so see what the highest revision number in git log origin/svn/trunk is and try putting that in there18:28
jclinton jast: ok18:30
magnus joined18:31
doener jclinton: I just read up. So you cloned the git-mirror.g.o repo, and used both, "git svn rebase/fetch" as well as "git pull" to update?18:31
scientus_ im actually not sure where to put the post-update sh file, in .git?18:32
jast doener, yep18:32
jclinton doener: yes18:32
doener jclinton: which git version?18:32
jclinton doener: latest18:32
jast scientus_, .git/hooks. server side.18:32
and make it executable.18:32
jclinton doener: so trying to fix it so i can get back to using only svn rebase18:33
doener jclinton: "latest" == git.git master? or next? or v1.6.0.2?18:33
jclinton 1.6.0.2, doener18:33
doener jclinton: ok. git-svn is probably confused because you have commits (from pull) that are newer than what it thinks it has18:34
jclinton: in git.git master, there's support for partial revmap rebuilds which, I guess, also helps in your situation18:34
jclinton doener: yea, so we tried resetting head using --hard to the commit at initial clone18:34
jast we already killed those, from the branch at least18:34
*local branch18:34
doener jclinton: that fixes neither the metadata nor the remote branches. At least one needs to be fixed18:35
jclinton doener: i see18:35
jast oh18:35
doener jclinton: if you cannot update, removing the revmap files from .git/svn/* might be enough to cause a full rebuild18:35
jast jclinton, when you looked for the rev_map file, did you consider it's a dotfile, i.e. hidden? (grasping at straws here)18:35
jclinton doener: well at this point i have 1 branch that i need to save; any way to put all those commits aside and just reclone git-mirror.g.o and the merge that branch back in?18:35
jast: i'll use find this time, a moment18:36
doener jclinton: yeah, you can do that with rebase. But I'd start out with removing the .revmap files18:36
jast shell completion should pick it up if you type the dot yourself18:36
we'll still have to fix the topic branch, probably, because it's partially based on pulls18:37
jclinton i have some rev maps18:37
doener jast: as long as they were fast-forwards, there's no problem. And otherwise a "git svn rebase" should fix it18:37
jclinton i'll nuke them18:37
jast good point18:37
doener jclinton: after nuking them, use "git svn fetch", _not_ rebase.18:38
rebase might get confused again ;-)18:38
jclinton ok doing it18:38
hum it did a whole bunch of stuff18:39
doener once the fetch completed, rebase should work again18:39
ben_h hi all18:39
jclinton and now it's appears to be repulling the entire revision history18:39
jast a complete fetch? that'll take ages18:39
jclinton which will take 4-5 hours18:39
doener jclinton: the revmap rebuilding is pretty verbore18:39
jast revmap rebuilding is pretty fast, actually18:40
ben_h i'm doing a git rebase -i <tag name> to condense several commits into one. when i edit the commit message to change 'pick' to 's' for each commit and save, I get the following error: grep: /Users/ben/projects/twippet/current/.git/rebase-merge/done: No such file or directory18:40
jast and it has different messages than fetching18:40
jclinton r7477 = 388493aba3fde81fe8f0fddd32d8c4069724331d18:40
ben_h any idea what's causing that?18:40
doener s/bore/bose/18:40
jclinton was the revmap rebuild18:40
lots of lines like tha18:40
t18:40
mcella joined18:40
jclinton now i have lines like this: Done rebuilding .git/svn/origin/svn/gnome-2-4/.rev_map.1eca851f-d525-0410-b55f-d2baa8e0495518:40
Found possible branch point: svn+ssh://svn.gnome.org/svn/gnome-games/trunk => svn+ssh://svn.gnome.org/svn/gnome-games/tags/GNOME_GAMES_2_3_8, 333818:40
which appears to be a complete fetch in progress18:40
scientus_ how do i list all remote reops?18:41
jast i doubt it18:41
doener jclinton: lots of "rXXXX = YYYYYY" lines without anything in between == revmap rebuild18:41
jast scientus_, git remote18:41
scientus_ doesnt list anythgin18:41
rdavila__ joined18:41
jclinton doener: yea, that was at the very beginning18:41
jast jclinton, if it was a complete refetch, it'd have to have been pretty damn quick if you're already at 333818:41
jclinton doener: appears to be done18:41
but now it's refetching all18:41
scientus_ and i have a repote repo added via git remote add orgin ssh://blah18:41
jast you can always look at the config file if all else fails18:42
doener jclinton: is it refetching stuff you already had, or maybe just new stuff?18:42
flaguy joined18:42
loiseau joined18:43
asp joined18:43
doener wow, the g-m.g.o gitweb is fast as a glacier18:44
BubbaT joined18:45
doener ok, I admit it, glaciers are a lot faster than that one...18:46
Pieter works fine here18:49
doener took 6 minutes for me18:49
billybubba left18:51
zachinglis joined18:51
mcella left18:52
alley_cat left18:54
doener jclinton: hm, the "git svn init" command from that page gives you a setup that doesn't match the one for the git mirror18:54
rmh3093 left18:55
doener jclinton: as long as you only use "git svn rebase", that doesn't matter. But "git svn fetch" thinks that you actually don't have any of the tags yet... I think...18:55
alley_cat joined18:56
doener jclinton: can't test that from here though, don't have any ssh access tehre18:57
s/tehre/there/18:57
kilowattage left18:58
markelikalderon joined19:02
jclinton doener: sorry i had to answer phone19:02
rdavila_ left19:02
Sigma joined19:02
jclinton doener: i'm not sure but w/e it was doing with those old revs it's finished19:02
doener: so i think i'm set19:02
jast: i need to fix my broken branch though19:03
david_koontz joined19:03
jast try if git svn rebase inside it works19:03
doener jclinton: running "git svn rebase" on the "broken" branch should work now. You might need to skip a bunch of commits (there might be a few duplicates from the pull), but it's unlikely IIRC19:04
unlikely that you need to do the skipping that is19:04
you might get some conflicts though, if you had merge commits (don't remember if you used "git pull" or "git pull --rebase")19:05
jclinton ok trying it19:05
i created a new branch off broken just in case19:05
called "fix"19:05
WaW joined19:06
shep-werk joined19:06
shep-werk howdy all19:07
Weaselweb left19:07
shep-werk is there a way to define a custom diff, but in relation to the git repository?19:07
ebel joined19:07
jclinton like change the default formatting of git diff, shep-werk?19:07
Fullmoon left19:08
alley_cat left19:08
jclinton doener: hop damn, it worked19:09
doener great :-)19:09
jclinton doener: your recomendation would be to delete the origin from .git/config so i don't accidentally git pull ever again?19:10
j_engelh no19:10
just don't use pull, hmk?19:10
jclinton well that's easier said than done when i have purely git projects that i work on19:10
and once you git pull, you're fucked19:10
like i was today19:10
doener jclinton: if you could upgrade to git.git master (or maybe just wait for 1.6.0.3? dunno if it will have the git-svn fix)19:10
oops19:10
jclinton doener: ok19:10
doener anyway, if you can upgrade, do that, then setup "git pull" to use rebase (there's some branch.<name>.whatever config setting)19:11
jclinton doener: awesome19:11
doener, jast: thanks for the help19:11
doener jclinton: to get updates for your current branch "git pull" should be fine then, and git-svn should not get confused anymore19:12
jast it doesn't use svn rebase though, does it :)19:12
jclinton doener: that will be awesome19:12
looking forward to that19:12
shep-werk jclinton: not quite - i want to preprocess the files, then do a diff19:12
so I tested my script with the external-diff variables19:13
doener jast: no. Still using the git-mirror thing, but with the git-svn fix, that should no longer break "git svn rebase". At least that's how I read the commit message19:13
jast would be great19:13
doener jclinton: you might also want to try to change the "tags" line in your svn-remote config section, so that it stores the tags in refs/tags/svn/* instead of refs/remotes/origin/svn/tags, because the git-mirror repo does it like that19:15
jclinton: avoids the "double fetch" you have seen19:15
jclinton doener: k19:16
scientus_ how do i make users commiting break the owner situation in my git repo19:20
jclinton scientus_: like file permissions?19:20
shep-werk jclinton: but I would like to put my diff program into the repository, so it goes along with it19:20
scientus_ yes19:20
jclinton scientus_: there's a group mode that uses GID's19:20
scientus_: that's for a case where you don't have one person responsible for a release, like a release manager19:21
scientus_: not really what git was designed to make possible but still usable that way19:21
scientus_ for whoever pushes it should be the same user, git takes care of the security and who commited to what right?19:22
jclinton security is just file ownership19:22
and ssh19:22
scientus_ but shouldnt git init --shared do it right?19:22
jclinton yes19:23
as well as setting the directory perms correctly19:23
daniel-w_ joined19:23
jclinton shep-werk: there might be a hook, that would be the place to look19:24
shep-werk: what you want is highly custom, though19:24
tjafk1 joined19:25
ben_h left19:27
stousetstouset|away19:28
gittish joined19:29
Fullmoon joined19:29
shep-werk jclinton: its not *that* custom - all the support for custom diffs via gitattributes is there19:30
its just the ability to say "use the program relative from the root of the git checkout" that is odd19:30
radarek joined19:30
MaddHatter If I do a commit --amend and realize after starting the editor that I didn't mean to do that, is there a way to abort?19:34
usually exiting the editor without savings causes an abort, but not with commit --ammend19:35
woeye left19:35
eternaleye joined19:36
onitunes joined19:36
jclinton MaddHatter: ctrl-z, kill19:36
daniel-w left19:36
magnus shep-werk: how about using $(git rev-parse --git-dir)/path/to/diff19:37
stouset|awaystouset19:38
magnus shep-werk: not sure if it is evaluated by the shell, but might be19:38
shep-werk: or --show-cdup19:38
robin_ left19:39
niki left19:39
tjafk2 left19:41
ereslibre joined19:43
cedricv left19:44
mcella joined19:44
mcella left19:44
alb joined19:46
Sham joined19:46
Sham left19:46
priidu left19:46
ben_h joined19:47
releod joined19:48
RobotDeathSquad_ joined19:48
theutogon joined19:48
RobotDeathSquad_ Is it possible to "undo" a 'git commit --amend' ?19:49
priidu joined19:49
releod Does anyone have the command handy to take an existing SVN repo, and import it into a new GIT repo? I want to get rid of the SVN repos, and convert them all to GIT.19:49
niki joined19:49
shep-werk magnus: thanks for the suggestion, but it doesn't seem to expand19:50
magnus: what does --cdup go with?19:50
dgrazier joined19:51
magnus shep-werk: it is an option to git rev-parse as well19:52
WaW what is ORIG_HEAD?19:53
shep-werk magnus: what vers of git do you have?19:53
magnus: that just outputs "--cdup"19:54
vuf WaW: HEAD before you merged19:54
iulian left19:54
albertito left19:54
CodeOfficer left19:57
CodeOfficer joined19:57
bbs__ left19:57
WaW vuf: and how long it is usable? until next commit?19:58
qrush joined19:58
vuf WaW: I don't know, but would guess until next merge19:58
WaW ah, right19:58
thanks19:59
and what is MERGE_HEAD then?20:00
trotek joined20:01
parasti ORIG_HEAD is apparently also used by rebase and am20:01
a recent man git-rev-parse should have documentation for these20:02
Gitbot parasti: the git-rev-parse manpage can be found at http://git.or.cz/man/git-rev-parse20:02
Sonderblade joined20:03
icwiener left20:05
WaW thanks, that is i searched for20:05
theutogon left20:09
etgryphon left20:11
onitunesonitunes|away20:13
lorandi left20:13
magnus shep-werk: sorry, it is git rev-parse --show-cdup20:15
Tv left20:17
icwiener joined20:20
johnw left20:20
gittish RobotDeathSquad_: git reset --hard HEAD@{1}20:21
Vortex34 left20:26
Sigma left20:26
kahmalo joined20:28
sbeyer left20:29
kahmalo I get an error when I try to convert gnus from CVS to git20:29
git cvsimport -v -kk -d :pserver:gnus@cvs.gnus.org:/usr/local/cvsroot -r cvs.gnus.org gnus20:29
Fetching lisp/gnus-uu.el v 1.120:29
Unknown: error20:29
cvsps version 2.120:29
git-cvsimport from 23abd3f48cb217d1558fa1984bfa8c502717c08f20:30
Gitbot [git 23abd3f48]: http://tinyurl.com/5mx2hv -- Merge branch 'js/objc-funchdr'20:30
kahmalo how do I fix the error?20:30
stousetstouset|away20:31
kahmalo I'll try running cvsps separately, to find out whether the error happens there20:32
ben_h left20:32
cory joined20:37
lamont left20:37
ndim left20:37
coryGuest1574020:37
rwaite left20:37
tonguero_tongueroo20:38
lamont joined20:38
Guest15740bantic20:39
kahmalo "cvsps --norc -u -A --root :pserver:gnus@cvs.gnus.org:/usr/local/cvsroot gnus > cvsps.out" succeeds20:39
"git cvsimport -v -d :pserver:gnus@cvs.gnus.org:/usr/local/cvsroot -r cvs.gnus.org -P cvsps.out gnus" fails quickly20:39
priidu left20:40
d0k_ left20:41
icwiener left20:41
stouset|awaystouset20:42
kahmalo Apparently, "Unknown: error" means the CVS server responded "error" and git-cvsimport doesn't know why.20:42
priidu joined20:42
kahmalo ah there, strace shows the real error: E cvs [checkout aborted]: unexpected EOF reading RCS file /usr/local/cvsroot/gnus/lisp/gnus-uu.el,v20:43
dwmw2dwmw2_gone20:44
kahmalo cvs -d :pserver:gnus@cvs.gnus.org:/usr/local/cvsroot co -r 1.1 gnus/lisp/gnus-uu.el gives the same error.20:44
So does it mean the CVS repository is corrupt?20:45
cradek sure looks like20:45
kahmalo I wonder why cvs rlog doesn't complain.20:46
Perhaps I can edit the output of cvsps to remove the lost versions?20:46
cradek if the RCS file is truncated, who knows what will work and what won't20:47
should restore that file from backup20:47
eternaleye left20:47
MarcWeber joined20:48
warlock_mza joined20:48
MarcWeber Is there an easy way to reverse the git history of changes? I mean if you have commits 1 -> 2 -> 3 get a repo having 3 -> 2 -> 1 ?20:48
j_engelh --reverse20:48
YOU'D NEVER BET! :p20:49
MarcWeber git what reverse? git rebase ?20:49
I'd like to get a fast darcs -> git converter and I know that removing the last patch is a fast operation when using darcs..20:50
eternaleye joined20:50
j_engelh MarcWeber: git log --reverse, git-rev-list --reverse, ...20:50
ereslibre left20:50
MarcWeber But there is no git rebase -i (pipe buffer to tac) :w ?. I'll try that then. Thanks20:51
gittish EDITOR=tac?20:52
j_engelh lol20:52
ndim joined20:52
eternaleye_ joined20:54
MarcWeber Using that would result in some conflicts.. So I'll checkout HEAD^ each time while committing to another branch using --revere or such20:55
drizzd is there any way to `git grep' the current work tree if I alias it to git grep --cached?20:57
kahmalo I thought aliases could not override builtin commands.20:58
drizzd possibly, I didn't try20:58
so I guess my question is moot20:58
tcoppi left20:59
onitunes|awayonitunes20:59
tcoppi joined20:59
pantsman left20:59
drizzd I just wish git grep --cached were the default21:00
kahmalo It seems all 1.* revisions of lisp/gnus-uu.el files are corrupt. I edited the cvsps output file and now the conversion seems to be proceeding.21:01
gitster joined21:01
cyberpear joined21:01
kahmalo Ohloh also saw the corruption: http://www.ohloh.net/topics/593/21:01
MarcWeber Is there an automatic addremove command in git?21:02
gittish git add -A21:02
MarcWeber :-) And I thought I knew git..21:02
w00t_ can I have a git repository inside a git repository?21:03
MarcWeber w00t_: Yes. git submodule21:03
shenie joined21:03
w00t_ (preferably .gitignored or similar so it doesn't get added to clutter up the first one)21:03
gitster or not submodule.21:03
kahmalo MarcWeber: git add -A was not in 1.5.6.221:03
hachi so... how does git svn know where to dcommit back to?21:04
w00t_ i'm not sure submodule would quite do it, the projects (repositories) while being loosely related as a dependancy are quite different21:04
gitster you can have a subdirectory that is independent repository that is not submodule.21:05
hachi does `git svn dcommit` always commit back to trunk?21:05
MarcWeber w00t_: Yes, you can have "untracked" files which in turn can be git repos21:05
gitster you can do e.g. "git init; echo sub >.gitignore; mkdir sub; cd sub; git init" and make sure you do not tell the toplevel about the "sub" directory.21:05
hachi the conceptual trunk in subversion21:05
spearce left21:06
MarcWeber hachi: yes, I'm not sure how it does it, but it worked for me all the time21:06
hachi well, I'm wanting to commit to a branch :\21:06
spearce joined21:07
hachi a subversion branch21:07
MarcWeber hachi: Then you need to track that21:07
hachi: git branch mylocalbrach svnbranchname --track21:07
hachi okay21:07
w00t_ gitster: oh, that's exactly what i'm after - assuming .git/config's ignore stuff can also handle it21:07
hachi roger roger, I understand... I had no clue that git svn followed that21:08
w00t_ (that's just "what we use" unfortunately)21:08
tewk :q21:08
MarcWeber hachi: cat .git/config. There you'll find a line in section [svn-remote ...] looking like this:21:09
fetch = nixpkgs/trunk:refs/remotes/trunk21:09
Tv joined21:09
hachi yup21:09
oh!21:09
okay21:09
MarcWeber hachi: But .. how does it know that master tracks trunk? I don't know yet21:09
hachi I'll try it out on something21:10
I bet it just goes to trunk if it's not marked otherwise21:10
cyberpear left21:10
rtomayko joined21:10
bobmcw left21:11
kahmalo lisp/gnus-uu.el 4.20 seems to be the oldest preserved revision.21:12
cyberpear joined21:12
eternaleye left21:12
pehlert left21:14
w00t_ gitster: hmm, 'git status' seems to then be picking up 'state' from the primary repository, not the one in the subdirectory21:15
eternaleye_ left21:16
w00t_ (whilst in the subdirectory, of course)21:17
oh, my mistake I think21:17
spearce left21:17
diask left21:17
diask joined21:18
mugwump hachi: it knows by looking back at the commit log21:18
ergo, you can't currently dcommit merges21:18
parasti left21:19
jackdempsey left21:19
spearce joined21:20
lucsky left21:20
_eric left21:21
thannoy joined21:22
felipec joined21:22
hachi mugwump: that's fine, I just want to commit back to a branch, not to trunk21:22
stousetstouset|away21:27
shenie left21:27
mattf left21:27
flaguy left21:30
dsop sometimes i whish the man branch of git would have a decent makefile21:32
scientus_ how do i make git push orgin master work immediately after git clone21:32
or whatever21:32
you still have to alias it i guess21:32
vbabiy left21:33
_eric joined21:35
felipec scientus_: that's how it works right now21:36
scientus_ hm mdidnt work, maybe cause the server hostname isnt in dns?21:36
radarek left21:37
felipec scientus_: what url did you use?21:37
drizzd_ joined21:37
scientus_ ssh://s/21:38
still didnt work if i pulled by ip21:39
i mean cloned21:39
felipec scientus_: what does git remote -v shows?21:39
scientus_ fatal:not a git repository21:40
whoops21:40
git remote -v21:40
origin ssh://192.168.15.99/home/git/fp21:40
shawn@shawn-desktop:~/playground/fps/fp2/fp$ git push orgin master21:40
fatal: 'orgin': unable to chdir or not a git archive21:40
fatal: The remote end hung up unexpectedly21:40
hmm that looks right21:40
felipec schacon: s/orgin/origin/21:41
vmiklos scientus_: ^ :)21:42
felipec scientus_: er, that was for you21:42
alexross left21:42
scientus_ i think i spelled it wrong every time i manually entered it :D21:42
lol21:42
Beket left21:42
scientus_ thx vmiklos21:43
boto left21:45
foca joined21:45
bbuss joined21:47
Aikawa left21:48
dsop hmm I get a pack has bad object at offset 147800: failed to apply delta. index-pack failed.21:48
when pulling from linus tree21:49
deskin joined21:53
albertito joined21:53
dsop hmm just with next. mabe it's that index issue that is fixed with some patches on the mailinglist, but not yet pushe by junio21:54
vuf probably21:55
juanjoc left21:55
drizzd left21:57
mattf joined21:58
mecha left21:58
dgrazier left22:00
shenie joined22:01
Sonderblade left22:02
gitster the fix's been there for the past 15 hours ;-)22:02
vuf probably not, then :)22:03
bdiego left22:03
EmilMedve left22:07
alb left22:09
eternaleye_ joined22:14
foca why could it be that suddenly I started getting this after saving on vim when doing a rebase -i:22:14
".git/.dotest-merge/git-rebase-todo" 14L, 470C written22:14
Could not execute editor22:15
if I try with textmate I get this: mate: failed to establish connection with TextMate. but I guess that's more of a textmate issue than a git issue22:16
thannoy left22:17
zachinglis left22:17
paltman_ joined22:19
rhaamo left22:19
tango_ scientus_, btw if you're using bash I found that the command line completion does wonder to prevent misspellings22:20
paltman_ left22:20
deskin foca: I take it git is refusing to use what vi claimed to save?22:20
foca deskin: yup, looks like it22:20
WALoeIII joined22:21
deskin someone had a problem like this a week ago22:21
try vi ; :q ; echo $?22:22
are you using macvim?22:22
foca exit status is 122:22
ph^ left22:22
deskin yeah, that's the symptom22:22
bbs left22:22
foca nope, just from terminal22:22
markelikalderon left22:23
foca hm, any ideas why is it exiting with a 1?22:23
deskin no :) http://colabti.org/irclogger/irclogger_log/git?date=2008-10-14,Tue#l38 has this other user's troubles: onigiri was the nick22:23
you can try setting a different editor, or playing with your .vimrc to see if vi will exit with 022:24
foca it didn't do this a while ago, I think it started happening when I started using screen....22:24
rdavila__ left22:25
rhaamo joined22:26
deskin maybe 'set nocompatible' in your .vimrc?22:27
doesn't seem to change anything for me22:27
foca heh, that's the first line22:28
deskin is on Ubuntu, though22:28
Ryback_ left22:28
deskin googling 'vim exit code' is interesting22:28
withanx left22:28
_graham_ left22:30
felipec left22:30
mashmore_ joined22:32
SRabbelier joined22:33
paltman left22:35
olly joined22:35
WALoeIII left22:37
WALoeIII joined22:37
jclinton left22:39
vmiklos GIT_VERSION = 1.6.0.2.607.g21337.dirty22:41
hm, i have a 1337 version :)22:41
j_engelh a dirty one :p22:41
vmiklos sure:)22:41
don't worry, most of my local modifications and up on the list as patches ;)22:42
end up*22:42
gitster 1.6.0.3 tomorrow, by the way.22:43
leethal left22:46
vmiklos 'git rev-list v1.6.0.2..junio/maint|wc -l' says 112 (i guess most maint releases have less updates)22:46
cannonball joined22:47
markelikalderon joined22:47
j_engelh why so complex22:47
git describe junio/maint ;)22:47
gitster --no-merges would be more appropriate, though...22:48
j_engelh 0 :p22:48
mashmore left22:48
jesselucas left22:50
mashmore_ left22:51
bentob0x left22:56
paltman joined22:57
cmacleod joined22:58
cmacleod left22:58
shenie left22:59
LiamH left23:00
parasti joined23:00
bantic left23:00
markelikalderon left23:01
threeve left23:04
eternaleye_ left23:04
carllerche left23:06
carllerche joined23:06
Yuuhi left23:07
vbabiy joined23:07
markelikalderon joined23:10
jfontan joined23:12
daxelrod joined23:17
jm left23:18
asp left23:18
malahal__ left23:20
ebel left23:21
flaguy joined23:22
daxelrod left23:24
Pieter anyone who knows how I can move a window in screen to a different position?23:24
MarcWeber What do you mean by position ? nr3 to nr2 ? or top to bottom when having split screens23:25
(In either case I don't know.. )23:25
Pieter nr3 to 223:25
didn't know you could split the screet ;)23:25
screen, that is23:25
MarcWeber Try ctrl-a S23:25
ctrl-a tab cycles23:25
Pieter oh, I don't want that23:26
j_engelh tk?23:28
madewokherd joined23:28
_kid_ left23:29
Pieter C-a :number N23:30
t3mp3st joined23:31
t3mp3st what is the easiest way to recover the last committed version of a file that has been accidentally deleted in the working copy (the file exists in HEAD)?23:32
Pieter git checkout HEAD -- path/to/file23:32
t3mp3st ah, cool; I was trying to use reset for some reason :(23:32
Pieter yeah, reset and checkout have very similar semantics23:32
pygi left23:33
t3mp3st (wow, git tab completion is incredible)23:33
zsh expanded the tree object23:33
cedricv joined23:34
Flathead joined23:34
t3mp3st left23:37
nikolasc left23:38
cmarcelo left23:40
charon left23:40
aroben left23:42
whee left23:42
bbuss left23:43
olly left23:45
alb joined23:45
listrophy joined23:45
mikem joined23:46
listrophy git tag confuses me. it doesn't seem to do anything23:47
dsop listrophy: what is your problem?23:49
listrophy i do git tag [tagname] and nothing seems to happen, other than prevent me from doing git tag [tagname] again23:49
dsop listrophy: what did you expect?23:50
listrophy i dunno. i'm pretty new to scm23:50
i want to tag a version of my code23:50
j_engelh well you just did that then23:50
listrophy do i have to do something special when i commit?23:51
dsop listrophy: try git tag and see if you tag is there23:51
listrophy: no,you just tagged it23:51
which means, you put a marker on your current state of your repository.23:51
listrophy dsop: it's there, but when i clone it from somewhere else, the tag isn't there23:51
mikem hi, i've developed a feature in the branch new_feature. I'd like to port this feature to release_1_0, so i made a branch port_new_feature from release_1_0. both new_feature and release_1_0 share an ancestor way back. part of new_feature is a new subdirectory, which is what I want to copy from new_feature into port_new_feature. however, new_feature also has changes to other files which I don't want. what's the best way to do this? i realize i may not be exact23:51
dsop listrophy: clone it from the repository where you tagged it, or from an upstream repository where you first oushed to?23:52
listrophy i tag, commit, push, then clone into a different directory23:52
dsop listrophy: ifyou push, you have to say explicitly git push --tags23:53
listrophy ah bugger23:53
dsop ...I even wonder why it behaves that way23:53
j_engelh or git push v1.023:54
listrophy ok, so in my 'cloned' directory, how do i switch to the tag i made?23:54
dsop mikem: try to use git cherry-pick -n and than unstage the already staged files taht you don't want to have in and than commit23:54
listrophy just check it out?23:55
dsop mikem: but beware, you than have 2 different commits on your feature branches.23:55
listrophy: git checkout <tagname>23:55
listrophy dsop: alright. thanks23:55
mikem dsop: ok. well, the alternative is i just copy the directory and `git add` the new files and go from there23:55
listrophy left23:56
onitunes_ joined23:56
pjhyett joined23:59

Logs Search ←Prev date Next date→ Channels Documentation