IRCloggy #git 2010-10-30

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.

2010-10-30

RobertLaptop joined00:01
envi joined00:01
DrNick carpii: git log B..HEAD00:02
carpii awesome, thanks :)00:03
chrischambers left00:03
DrNick x..y is shorthand for ^x y, that is all commits reachable from y, excluding all commits reachable from x00:03
carpii if i cherrypick commits from A to B, and then merge A into B does it ignore the ones already cherrypicked >00:04
DrNick sort of00:04
cherry commits aren't the same commits as their originals, so you'll end up with a merge, but the merge won't (or shouldn't) conflict00:05
carpii ok, thanks again00:06
one last Q00:06
blaines joined00:06
carpii if i create a remote branch B off master, make commits to master and to B, merge master into B and then merge B into master00:06
is there a reason this would always create conflicts ? or ive just been unlucky tnite00:06
AAA_awright left00:07
DrNick what do you mean by "remote branch B off master" ?00:07
pedrobelo left00:08
carpii lets say i created a remote branch, and its up to date with master00:08
DaveIngram left00:08
carpii i have a dev working on a remote branch, and occasionally he pulls my latest changes in from master00:08
DrNick by create a remote branch, you mean you created a branch locally and then pushed it to your central repository?00:09
carpii but when he commits everything back, and i try to merge his remote branch back into master, i seem to get conflicts more often than id expect00:09
yes, thats it00:09
whaley joined00:09
mw left00:09
pedrobelo joined00:09
carpii pushed as a remote branch though00:09
theres a remote branch B, and myself and the dev has a local tracking branch B00:09
bob2 is your expectation taking into account "file-content conflicts occur when people edit the same parts of the same file, also some people have terrible editors that churn line endings"? :)00:10
joel_falcou left00:10
DrNick there's (potentially) six different branches involved in this scenario, and I'm not sure which you're talking about00:10
joel_falcou joined00:11
carpii bob, yes id expect those to conflict :)00:11
blaines left00:12
carpii DrNick: its kinda hard to explain i guess. I just wanted to make sure its not a problem for him to be merging master into his branch, and then pushing back his commits to the remote one00:12
where 'his branch' is a local copy of the remote branch00:12
hobodave left00:13
dreiss joined00:18
zackattack joined00:18
zackattack I'm on branch master, but my branch is ahead of origin/master by 9 commits. How do I save all my changes, and then make my working copy equivalent to origin/master? I have a bunch of changes that I don't want to implement until later ...00:18
carpii have the changes you dont want pushed, been committed yet ?00:19
zackattack yes00:19
dr_win left00:20
Dave^| left00:20
carpii you work exclusively on master or something ?00:21
its normally a good idea to only merge branches into master when theyre ready to be pushed live00:21
Eridius go2: /m00:22
goddamnit00:22
carpii i think you can probably 'git reset <commit>'00:22
then git push00:22
then git reset back00:23
zackattack uh..00:23
carpii but check git status shows fewer commits, before you push, cos im not 100% sure00:23
madeofcode joined00:24
madeofcode advanced git q: i have 3 branches (master, feature1, feature1+2) can i get a diff of just feature 2 (i.e. (feature1+2 - feature1) differ with master) ?00:25
carpii feature1+2 is same as feature1 with a few more commits ?00:28
cschneid left00:29
bitkiller left00:29
lancepantz joined00:29
hilem left00:30
lancepantz 'git submodule update' should pull down submodules after cloning a repo, correct?00:30
kokx lancepantz: you first have to initialize them00:31
with git submodule init00:31
AAA_awright joined00:31
madeofcode carpii: yes00:32
s0ber_s0ber00:32
madeofcode carpii: but not neccessarily in order00:32
i.e. feature1+2 will have merged in feature1 a few times during it's development00:33
lancepantz thanks kokx, that did it00:33
lancepantz left00:33
wsclock left00:34
kanru joined00:36
bdiu joined00:36
carpii made, i dont know, sorry00:37
i just asked a similar question which might help partially00:37
carpii: is there a way of showing commits which are in current branch, but havent yet been merged into branch B ?00:37
DrNick: carpii: git log B..HEAD00:37
shiba_yu36 joined00:38
shiba_yu36 left00:38
tj left00:39
dfr|mac left00:40
warthog9 left00:41
parasti left00:41
rudyl313 left00:41
tungtn joined00:42
Evious left00:43
tvw left00:43
cschneid joined00:50
towski left00:51
nullvariable joined00:52
zombor left00:54
DrNick carpii: if you were paying attention, you'd be able to guess that ^master ^feature1 feature1+2 would list the relevant commits00:55
dreiss left00:55
mmoya joined00:56
carpii sorry, id just joined at the time. i didnt realise that was an answer to me00:57
Schmallon left00:58
shiba_yu36 joined00:58
thiago joined01:00
caesarkw joined01:00
brianpWins left01:01
Amorphous left01:03
brntbeer joined01:04
thecoffman joined01:04
yhager left01:04
yhager joined01:04
caesarkw left01:05
sitaram adymitruk: I don's use any, but gitweb comes with git anyway. And some people like cgit -- enough to send patches to cgit to make it compatible with gitolite :-)01:05
well, gitweb conventions, actually01:05
rikarends left01:06
nevyn^ left01:06
nevyn^ joined01:06
steph021 left01:07
aah left01:08
adymitruk sitaram: thanks.. trying to configure gitweb right now01:09
nevyn^ left01:11
Kira joined01:11
warbee left01:11
jdonley83 joined01:14
mmoya left01:15
jdonley83 left01:15
jer left01:15
KiraKal01:17
KalKira01:17
Amorphous joined01:19
Vampire0 left01:23
aspotashev left01:25
tstclair left01:25
yhager left01:26
verto joined01:29
comawhite|laptop left01:30
bdiu left01:34
MikhX left01:34
MikhX joined01:35
bdiu joined01:35
comawhite joined01:35
MikhX left01:35
MikhX joined01:35
MikhX left01:36
Vampire0 joined01:37
mw joined01:38
towski joined01:38
spearce left01:38
tildeequals left01:40
kipras left01:40
dharrigan joined01:40
mw left01:40
murr4y left01:43
brianpWins joined01:43
aresnick joined01:44
jrmuizel joined01:46
carpii left01:47
brianpWins left01:48
abner left01:49
jrmuizel left01:49
slonopotamus left01:50
nakkor left01:52
Kirak_sze01:52
thiago left01:53
jrmuizel joined01:53
abner joined01:53
rayners joined01:53
dharrigan left01:54
alex__c2022 joined01:54
bhosie left01:57
abner left01:58
alberto56 left01:58
Elfe left02:00
Elfe_ joined02:00
quesada4 joined02:02
aspotashev joined02:02
dukebag left02:02
quesada3 left02:04
dharrigan joined02:05
yhager joined02:07
[1]intripoon joined02:07
jammur joined02:09
intripoon left02:10
[1]intripoonintripoon02:10
bhosie joined02:11
jammur I'm new to git and I think I'm misunderstand something. I created a new branch, checked out the branch, made a modification, switched back to the master branch, and when I ran git status, it showed the modification under the master branch as well. I though any modifications made in a branch were "sandboxed" inside that branch?02:13
dharrigan left02:15
Eridius jammur: you didn't commit it02:15
it's still just a change in your working copy, and you can switch branches with that change there as long as switching to the new branch doesn't touch any of your modified files02:16
artefon joined02:17
jammur Eridius: Ok, that makes more sense. Thanks!02:17
dharrigan joined02:21
andyburke left02:23
offby1 jammur: general-purpose git advice: 1) Read "Git For Computer Scientists" (http://eagain.net/articles/git-for-computer-scientists/); 2) Run "gitk --all"; 3) Learn about "git reflog"02:24
jherdman joined02:26
dharrigan left02:29
abner joined02:29
dharrigan joined02:30
dharrigan left02:30
dharrigan joined02:30
dukebag joined02:38
dharrigan left02:40
atpa8a left02:40
whaley left02:40
madeofcode left02:45
dharrigan joined02:46
dharrigan left02:46
dharrigan joined02:46
yngress left02:46
MikhX joined02:47
yngress joined02:48
yngress left02:49
intripoon left02:49
k_sze left02:49
k_sze joined02:50
Eridius left02:51
timj_ joined02:52
k_sze left02:53
aspotashev left02:55
k_sze joined02:56
timj__ left02:56
dharrigan left02:56
eban left02:58
jammur left02:58
eft_ left02:59
Slix` joined03:02
dl9pf joined03:03
dl9pf left03:03
dl9pf joined03:03
dl9pf_ left03:04
dukebag left03:08
cschneid left03:11
k_sze left03:13
thiana What effect does 'git init' have on a pre-existing repo? It says that it reinitialized the repo but nothing seems to change?03:13
jammur joined03:14
MmikeMRMA joined03:15
cschneid joined03:16
dharrigan joined03:17
dharrigan left03:17
dharrigan joined03:17
cconstantine joined03:17
cconstantine http://www.kernel.org/pub/software/scm/git/docs/howto/revert-a-faulty-merge.txt03:18
k_sze joined03:18
rekeorbm joined03:18
cconstantine I'm trying to follow the directions in that link to recreate a branch for later merging03:18
and the --no-ff argument is rejected by 'git rebase'03:19
robgleeson left03:19
Thell|AwayThell03:19
cconstantine I'm using git version 1.7.0.403:19
mbroeker left03:19
MmikeRMRM left03:19
cconstantine so, I've reverted a merge that shouldn't have happened and I need to be able to merge that branch in later03:19
rekeorbmmbroeker03:19
cconstantine is there fresh docs on how to do that?03:19
Wyverald joined03:21
gnufied joined03:23
dharrigan left03:23
verto left03:23
cconstantine no one here? On a friday night? I'm shocked!03:26
robgleeson joined03:26
kanru left03:28
wooden left03:30
Elfe joined03:30
fr0sty__ left03:31
fr0sty__ joined03:32
quesada joined03:33
Elfe_ left03:33
Arafangion Do we have a library of git hooks available, or are people generally expected to write their own?03:34
thecoffman left03:34
Arafangion I would like a hook that automatically sync's two git repositories (as best as possible) every time a push or pull is performed.03:35
thecoffman joined03:35
quesada4 left03:35
gilaniali joined03:41
kukks left03:41
babusri joined03:41
wooden joined03:41
wooden left03:41
wooden joined03:41
yhager left03:42
jammur left03:43
babusri left03:44
babusri joined03:44
gnufied left03:46
artefon left03:46
sitaram Arafangion: you cannot do that safely in *both* directions. One has to be master, and any number of slaves03:46
bhosie left03:46
gilaniali left03:46
sitaram Arafangion: think about it; same problem as bare repos -- a potential merge in a non-human-intervention scenario03:47
gilaniali joined03:47
sitaram Arafangion: and finally, a pull does not have any hooks; the idea is you can as well replace the pull with a script that does pull+whatever you want. Only pushes have hooks, on the receiving side. Specifically, in this case, post-receive/post-update03:48
Arafangion Hmm.03:48
phantomcircuit left03:48
dharrigan joined03:49
dharrigan left03:49
dharrigan joined03:49
Bass10 left03:50
Arafangion Sounds like I'd need to do a manual hook, in any case - set one up as "master", with the slave always pushing changes through, with forced updates. In the event of a possible loss of data, (as would be if a forced update was truely needed), then I could have it stow those in some new branch, and have it email me.03:51
sitaram Arafangion: I strongly suggest all pushes should only be to one server ("the master", if you will) and a post-receive hook on that does a "git push --mirror <slave url>"03:52
Arafangion Unfortunately, communication is one-way.03:52
Stupid VPN stuff.03:53
sitaram in which direction? rather, what's inside and what's outside, and which one do the devs have access to?03:53
Arafangion The master is accessible by /most/, but the slave is only accessible at the remote.03:53
I'll setup a cronjob or something so that the slave eventually updates.03:54
wooden left03:54
Arafangion I think any solution is going to need someone to keep an eye on it, anyway, I might as well make it mostly automatic, without trying for perfection.03:55
wooden joined03:55
wooden left03:55
wooden joined03:55
sitaram can the master reach the slave, or is it vice versa?03:56
Arafangion The master has no way of contacting the slave.03:56
sitaram ok, then dont use a hook on the master to 'push --mirror'. Use a cron job on the slave to fetch from the master instead. And tell devs to push to master03:57
slonopotamus joined03:58
Arafangion Yeah... I'll have to find some workaround - thanks for your help.03:58
robgleeson left03:58
sitaram Arafangion: the only thing you need to guard against is I push a commit to master and you push to slave -- at that point, nothing automatic can deal with it, and you have to manually do stuff that should have been taken care of, normally, by git saying "sorry pal, pull first because the remote has moved on"03:58
Arafangion sitaram: I plan to make the push first do a pull, for good measure.03:59
robgleeson joined03:59
sitaram IOW, if you allow pushes to different servers, you end up postponing that "aah someone updated, we need to merge [and possibly resolve conflicts]" moment to much later. Not a good idea03:59
Arafangion sitaram: Will make their pushes much slower, but can't be helped.03:59
sitaram Arafangion: a non-human process has no concept of a pull. How will it resolve conflicts if any?03:59
other way is to let slave get commits only on a special branch which master does not get pushed directly, carry those across using cron, resolve manually on master -> dev fetch (humanly), and then update the real branch04:00
sorry if that was confusing04:00
Arafangion It would need to simply update the reference - it wouldn't do a merge or a rebase, which possibly results in lost data. I'd have to email a warning in that case.04:01
alex__c2022 left04:04
bdiu left04:05
Arafangion I think we're looking at this the same way - the difference is when one has to fix the issues. I simply make the potential loss visible and possible to fix up later, whereas your solution forces it to be dealt with at the time.04:05
dharrigan left04:06
bdiu joined04:06
jrt05 joined04:07
dl9pf left04:07
robinr joined04:08
kenneth_reitz joined04:10
sitaram yup. That's what I meant by "postponing that moment"04:10
Arafangion Most of the dev's are extremely new to git, I'd rather not make them frustrated with a complex setup just yet.04:10
They all use gui tools, for example.04:11
robinr left04:11
bhosie joined04:12
kenneth_reitz left04:12
ignatp left04:14
dharriga1 joined04:16
cytrinox_ joined04:20
xiong left04:21
witquicked left04:22
rekeorbm joined04:22
rekeorbm left04:23
cytrinox left04:24
cytrinox_cytrinox04:24
robgleeson left04:24
mbroeker left04:25
simplechat joined04:28
childermass joined04:28
mmoya joined04:28
dukebag joined04:32
dharriga1 left04:33
dharrigan joined04:33
dharrigan left04:33
dharrigan joined04:33
urkud joined04:34
ThellThell|Away04:35
jrmuizel left04:37
zackattack left04:38
gnufied joined04:43
urkud left04:45
madeofcode joined04:45
mmoya left04:46
yhager joined04:48
mithro joined04:49
hyperair left04:56
urkud joined04:57
Pacman_Home` left04:58
t3i joined04:58
ct^^ joined05:00
xiong joined05:00
ct^ left05:03
programble left05:03
kenneth_reitz joined05:05
kenneth_reitz left05:07
dharrigan left05:08
urkud left05:09
gnufied left05:09
sako joined05:09
shennyg left05:11
shennyg joined05:12
hyperair joined05:14
sako left05:14
thecoffman left05:17
SkramX left05:17
gnufied joined05:18
dharrigan joined05:19
dharrigan left05:19
dharrigan joined05:19
gnufied left05:21
t3i left05:22
Marquel left05:24
dharrigan left05:26
thiago joined05:28
zombor joined05:31
zombor left05:32
brntbeer left05:33
erez joined05:40
jfkw left05:40
yuriks_ joined05:42
yuriks left05:45
Marquel joined05:45
dharriga1 joined05:47
jherdman left05:48
Slix` left05:49
bhosie left05:49
Pacman_Home joined05:52
xiong left05:52
rayners left05:53
robgleeson joined05:53
dharriga1 left05:53
cactux joined05:57
kanru joined05:58
amerine joined05:59
amerine left06:00
amerine joined06:00
amerine left06:00
gnufied joined06:00
amerine joined06:01
gilaniali left06:01
dharrigan joined06:04
cactux left06:04
doener left06:05
doener joined06:05
gilaniali joined06:05
k_sze Does anybody know if there are GnuPG keysigning parties targeted specifically at Grails/Groovy/Spring Framework developers who also use Git/GitHub?06:09
bob2 that sounds like a pretty narrow focus06:10
slonopotamus ah, those who also eat tuna on thirsdays?06:11
cactux joined06:11
bob2 just go to a regular keysigning06:11
Yuffster left06:11
cactux I clone a manifest and I set a envvar to the directory and after I execute "repo init -u $MANIFEST", but I get "Usage: repo init -u url [options]"06:11
The default.xml is in $MANIFEST. MANIFEST=/dir/manifest06:12
I ran the same command in my server and it works06:12
So I do not understand why it fails in my local machine06:13
k_sze bob2: yes, those who eat tuna on thirsdays and who also happen to live in Hong Kong.06:13
*Thursdays… =_=;06:14
slonopotamus cactux: are you sure you're talking on right channel?06:16
dharrigan left06:19
maleknet joined06:20
k_sze What is wrong with lightweight tags?06:25
andyl joined06:27
k_sze Scott Chacon says in his slides that lightweight tags "can be moved around easily", making them "generally undesirable". Anybody knows what he means there? o_O06:28
Yuffster joined06:29
dharrigan joined06:30
dharrigan left06:30
dharrigan joined06:30
Ogredude_ joined06:30
SIGBUS joined06:34
dharrigan left06:38
Yuffster left06:38
giles joined06:47
giles I sync repos using a cron job, there must be a better way?06:47
albel727buffy06:48
buffy giles: depends on what your repositories are. are they bare?06:48
SIGBUS left06:48
giles one on github one on gitorious so i reckon06:49
buffy giles: hmm, well, you can put a post receive hook onto one of them, which will push updates to another and vice versa... but I'm not sure how stable that would be.06:50
slonopotamus left06:50
buffy giles: out of curiosity, why different repos on different hosting?06:51
giles hmm maybe I will stick with cron then06:51
buffy: political issues06:51
buffy strange06:51
buffyalbel72706:51
sadmac left06:52
giles albel727: my argument was:06:52
Well all this GitHub vs Gitorious vs something else is a bit pointless. One of the main features of git is that its de-centralized. You can host a clone of the repo on GitHub another on Gitorious another on Indefero.net and easily keep them all in sync easily using a cron job. Personal06:53
krosenvold_ joined06:53
giles Personally I think you would be bonkers not to host an "official" clone on your own server even if this is not the primary origin that people push to.06:53
sadmac joined06:54
dharrigan joined06:54
dharrigan left06:54
dharrigan joined06:54
albel727 giles: I see. well, how do you sync them with cron job, anyway? is there a repo on your server, which you push to both of these, or do developers use gitorious and github directly? if so, how do you automatically merge changes in cronjob, if someone pushes conflicting changes to them?06:55
giles I do it on my local machine yeah06:55
and good point.06:55
albel727 giles: so, you do "pull github, pull gitorious, push github, push gitorious", and hope, that second pull wont fail? =)06:56
Chillance left06:56
giles albel727: Well currently I am not commiting to gitorious06:57
its one of those "doh" moments06:58
albel727 giles: hmm, I think your problems might go away, if you declare that gitorious repo is read only for everyone. then you can put a post-receive-hook in github, and gitorious would be always in sync.06:59
giles can you put a post-recieve-hook in github?07:01
albel727 giles: I thought one can. But never tried, sorry.07:02
doener giles: http://help.github.com/post-receive-hooks/07:02
sadmac left07:03
giles doener: ta07:03
sadmac2 joined07:03
sadmac2sadmac07:03
giles doener: I think this is limitied to sending http POST to a blog or something.07:04
OOPMan joined07:06
giles left07:06
Sou|cutter joined07:08
albel727 giles: damn, I didn't occur to me, they might prohibit putting custom hooks (and for a reason, too). ok, then the best you can do, is write a small prog, which will receive that http ping and start syncing. I guess that and cron job (or running a poll among devs, which hosting they prefer, and keeping only that) are your only choices, sorry.07:08
gilaniali left07:08
albel727 was late07:08
gilaniali joined07:09
tim_ joined07:13
tim_ i have an unmerged path that is a directory for a submodule, what can I do?07:13
yhager left07:13
tim_ i've tried checkout --theirs, --ours07:13
to no avail07:14
Sou|cutter I created a local branch, created a new remote branch based off of it, did some work, pushed again, did some more work, rebased with my local master no conflicts, and now my pushes to my remote branch are rejected07:14
scarabx left07:15
Sou|cutter any thoughts on what I did wrong and how I can untangle this?07:15
everything I've tried so far seems to create a conflict for every change I made07:16
dharrigan left07:16
xiangfu joined07:16
doener tim_: make sure that there's no trailing slash on the path (tab-completion usually adds one)07:17
k_sze git-check-ref-format.html says: "2. They must contain at least one /. This enforces the presence of a category like heads/, tags/ etc. but the actual names are not restricted."07:17
doener Sou|cutter: rebasing creates new commits, replacing the old ones you already pushed, so of course git complains07:17
k_sze What?! o_O07:17
tim_ doener: you mean when I try to do a checkout --ours?07:18
doener tim_: Yup.07:18
tim_ doener: there's not07:18
doener tim_: if that still doesn't work, use HEAD instead of --ours or MERGE_HEAD instead of --theirs07:19
Sou|cutter doener: what you say makes sense in retrospect... I'm not sure how to fix it now, though. Should I create a new local branch off of master and cherry pick all my commits?07:19
doener Sou|cutter: why rebase at all?07:19
Sou|cutter: if it's a topic branch, just finish it and then merge it back into master, done07:20
Sou|cutter doener: I forgot to mention that at some point in between I had been on master and pulled07:20
tim_ doener: hallelujah, thanks!07:20
doener: git checkout HEAD FTW!07:21
doener Sou|cutter: doesn't matter, for the problem at hand, that's not really different from having committed on master07:21
Sou|cutter: (and it's obvious that master changed, as otherwise the rebase would have been a no-op ;-))07:21
Sou|cutter doener: now when I try to merge back to master I'm getting conflicts for everything though.. I think. maybe I will double check, I'm kinda fried... been hacking on this project for like 16 hours07:22
doener Sou|cutter: did you already reset the branch back to before the rebase?07:22
Sou|cutter how do I do that?07:23
doener Sou|cutter: checkout the branch, then run "git reset --hard <commit_the_branch_head_was_at_before_you_rebased>" (this drops all uncommitted changes!)07:25
Sou|cutter: to find that commit, you might want to look at the reflog: git reflog show <branch_head>07:26
albel727albel727_away07:27
gnufied left07:27
ijcd joined07:28
Sou|cutter ok...07:28
doener I'll have to leave now... :-/07:30
justin-george left07:30
Sou|cutter doener: thanks for the help...07:30
FabianB left07:35
hohoho joined07:35
giles joined07:36
d0k joined07:37
hyperair left07:38
FabianB joined07:39
ifos joined07:40
marc_kdab left07:41
comawhitecomawhite|sleep07:43
frerich joined07:44
hyperair joined07:46
thiago left07:49
tim_ left07:50
rikarends joined07:50
rikarends left07:51
dharrigan joined07:52
dharrigan left07:52
dharrigan joined07:52
airborn joined07:54
fda314925 left07:55
iravid left07:56
albel727_awayalbel72707:56
fda314925 joined07:56
hohoho left07:57
giles left07:57
rikarends joined07:58
amerine left07:58
rikarends left07:59
dsigurds joined08:00
sl0ppy git diff isn't showing me a diff of the files that are listed to be commited08:01
any idea how to get those included?08:01
iravid joined08:01
mmattice git diff --cached # will show *just* those08:01
sl0ppy oh ok cool thanks08:02
ifos left08:02
mmattice I don't usually find showing all the diffs useful. showing what's staged and what's not is useful though08:03
yhager joined08:03
dharrigan left08:05
pantsman joined08:05
pantsman left08:05
pantsman joined08:05
OOPMan left08:06
hyperair left08:11
towski left08:14
yhager left08:18
gnufied joined08:18
ch077179 joined08:19
herdingcat joined08:20
dsigurds anyone know if gitosis supports namespacing repos by putting them in subdirectories?08:20
gilaniali left08:23
herdingcat left08:23
gnufied left08:25
shiba_yu36 left08:28
sitaram have you tried it and it didn't work? gitosis is a bit of "TIAS" (try it and see), no one actually supports it anymore08:29
AlexP left08:30
priidu joined08:32
AlexP joined08:33
gebi joined08:33
gebi left08:33
gebi joined08:33
boombatower joined08:40
sl0ppy how can i retract the last commit08:41
cas1 joined08:41
dels joined08:42
cas1 left08:42
albel727 sl0ppy: depends on whether you have pushed it already, or not, and whether you did already make some local changes in working tree on top of it, or not.08:43
sl0ppy actually08:45
it's not letting me merge08:45
it's saying local files will be overwritten08:45
but i want it to overwrite these files08:45
albel727 sl0ppy: are these "local files" tracked?08:46
z1y joined08:46
cbreak they probably are not08:50
just delete them08:50
albel727 sl0ppy: ^08:51
sl0ppy oh ok08:51
Uierth left08:51
sl0ppy i can't do git-reset --hard?08:52
i have some commit's in the queue, but i can't push until i'm all merged08:52
albel727 sl0ppy: git reset doesn't touch untracked files.08:52
sl0ppy oh08:52
oh these are under changed but not updated08:52
sitaram sl0ppy: the messge you got comes when (a) you have some local, UN-tracked files and (b) the branch you're merging in happens to want to create files with the same name08:52
sl0ppy Please, commit your changes or stash them before you can merge.08:52
sitaram sl0ppy: aah that's differen then; they are tracked files08:53
albel727 sl0ppy: that explains it. you have changes, that you didn't do "git add" on.08:53
sl0ppy ah ok08:53
how can i get past this08:53
sitaram sl0ppy: if you really dont need those changes curently seen in "git status", I would do "git checkout -f" and then retry the merge08:53
sl0ppy i didnt change these files08:53
aspotashev joined08:54
sl0ppy i think someone else did though08:54
i pull'd down their changes08:54
actually08:54
sitaram what does08:54
sl0ppy ok i think i have it08:54
albel727 sl0ppy: if they're under "changed but not updated", then it's you and only you who changed them.08:54
sitaram what does "git status" say? can you pastebin?08:54
albel727 sl0ppy: or maybe you were playing around with non-hard git reset.08:55
sl0ppy i have a merge conflict08:55
can i just tell it to clobber my file?08:55
hrm08:56
Putr|AwayPutr08:56
sl0ppy ok so i did a git pull, there's a merge conflict08:56
i just want to delete my local file08:56
albel727 sl0ppy: "git checkout --theirs <file>"08:56
sl0ppy ok great thanks08:57
madewokherd left08:57
sl0ppy wow i'm going in circles08:57
z1y Hi, I have a "commit" object and now I want to update the list of "parents" in that object. Which command can I use?08:57
bob2 you'd need to make a new commit08:58
sl0ppy heh i did a pull again and those previous files i had to use checkout -f to override are back08:58
bob2 what's the point?08:58
sl0ppy should i be using git rm?08:59
fatal: 'merge' is not possible because you have unmerged files.08:59
_rane is it possible to somehow symlink files from elsewhere to a git repo?08:59
doener z1y: that means history rewriting, filter-branch can do that, but why do you think you need that?08:59
_rane seems like git doesn't like symlinks08:59
doener _rane: no, git would track the symlink itself, you can only setup things the otherway around (symlink into the working tree)08:59
ph^ joined09:00
doener s/history rewriting/rewriting history/09:00
_rane I already have the stuff in my dropbox, and I'd just like to add that stuff into some git repo09:00
z1y doener: I want to learn how git works. I don't think that filter-branch works in my case ...09:00
_rane bleh09:01
doener z1y: why not?09:02
sl0ppy Please, fix them up in the work tree, and then use 'git add/rm <file>'09:02
anyone know what this means?09:02
i keep going in circles09:02
_rane fix something and then git add the fixed files09:02
sl0ppy i delete files, then i do a pull, same files come back09:02
i dont need to fix anything though09:03
i just want it to overwrite these files09:03
_rane need more context on what's happening09:03
sl0ppy i have 2 sets of commits09:03
z1y doener: because I want to update the list of parents for a single object. while "filter-branch" filters a branch not an object (?)09:03
sl0ppy i tried to push, and then it said i had to merge09:03
so i pull'd and there were conflicts09:03
albel727 sl0ppy: what, you do you not know, how to resolve merge conflicts? you are supposed to a) fix conflicted file to your liking (in your case, that would be git checkout --theirs <file>) b) git add <file> c) after you're done with all conflicted files, do git commit. also read http://www.kernel.org/pub/software/scm/git/docs/user-manual.html#resolving-a-merge09:03
sl0ppy albel727: i already did my commits09:04
z1y doener: after the update, a new branch will be created, or broken09:04
sl0ppy also sorry i'm a little out of it, been up all night working and trying to commit this before i leave09:04
nanotube left09:04
bob2 z1y: yes, you'll be making a new branch09:04
sl0ppy albel727: i did my commits first09:04
albel727 sl0ppy: for christ sake. now you're doing a "merge commit" - the commit, which fixes discrepancies between your and everybody's else work.09:04
sl0ppy yeah exactly09:05
i just want it to clobber these files on my local branch09:05
doener z1y: hm, indeed, only works for refs, not arbitrary commits09:05
sl0ppy i did git checkout -f09:05
but i keep ending up back in the same place09:05
urkud_ joined09:05
noktoborus_ left09:06
psoo joined09:07
albel727 sl0ppy: "clobbering files" is a change as any other in its own right. you're supposed to do a separate commit with that change. "git checkout -f" won't help you for obvious reasons.09:07
doener z1y: but anyway, commits (like all objects) are immutable, so you cannot change the parents of an existing commit object, you can only create a new one that differs from the original one only in its parents09:07
sl0ppy: git checkout --theirs -- <path>; *check results*; git add <path>09:07
nanotube joined09:08
doener sl0ppy: will tell git that the correct way to resolve the conflict is to use "their" version of the file09:08
sl0ppy doener: ok cool thanks, i'm also on reading some stuff on gitready09:08
z1y doener: ah, I see... Creating new commit... Sounds a challenge to me :D09:08
albel727 doener: sl0ppy: and then git commit09:08
sl0ppy its weird, all these changes files i didnt edit at all09:10
am i recomitting someone's changes?09:10
noktoborus_ joined09:10
urkud_ left09:11
roop joined09:12
sl0ppy ok got it!09:13
thanks for the help09:13
dr_win joined09:14
babusri left09:22
project2501b joined09:27
bdiu left09:28
Anti-X joined09:31
OOPMan joined09:31
noktoborus_ left09:34
noktoborus_ joined09:36
nevyn^_ joined09:37
airborn left09:37
parasti joined09:38
Schmallon joined09:38
rpg left09:38
deepakk joined09:40
workmad3 joined09:42
deepakkdkannan09:43
rpg joined09:44
frerich left09:50
VoiDeT joined09:53
VoiDeT Where is the best place to get help with gitosis?09:53
albel727 VoiDeT: nowhere. gitosis is no longer supported by anyone. you can try and ask here, ofc.09:54
(advise: migrate to gitolite)09:55
s/advise/advice/09:55
albel727 shoots himself09:55
cbreak luckily you miss to hit the trigger09:55
VoiDeT awesome thanks albel72709:56
albel727 that's what I have a cyanide bottle for =)09:56
sitaram yes but your bullet hit the bottel just now, and it's all spilled!09:56
bottle09:56
hey can I borrow it; looks like I need it too!09:56
VoiDeT what other ones are out there that i should also check out?09:56
urkud_ joined09:56
albel727 but cyanide is just as poisonous in air, as in drink, so...09:56
gebi VoiDeT: gitolite09:56
goshawk joined09:57
sitaram VoiDeT: other than gitolite? the others are all web-based. Gerrit is the best among them09:57
VoiDeT: gerrit is not just an access control tool; it will dictate your workflow -- it's main purpose is code review09:57
VoiDeT interesting09:57
Wyverald left09:58
boombatower left09:58
albel727 finally dies in convulsions from the toxic cyanide fumes.09:59
VoiDeT so im guessing you use gitolite albel72709:59
oh, too late, you died09:59
sitaram no he didn't; if he is using gitolite he can be resurrected :)09:59
from a mirror that he should have setup earlier10:00
boombatower joined10:00
albel727 gets resurrected by gitolite...10:00
sitaram :)10:00
VoiDeT hahaha10:00
albel727 VoiDeT: well yeah, I do. but you'll be better off in asking sitaram (he's the author of gitolite =D)10:00
VoiDeT oh nice10:00
sitaram VoiDeT: the rest of them are not that good. Gitorious is hard to install, I'm told (I tried once, long before I wrote gitolite, failed). Gerrit I have never tried to install -- dont need code review and dont want my workflow changed10:00
VoiDeT Well gitosis was fine, until its post-update hooks broke now >_<10:01
albel727 hates sitaram. now all those wonderful toxic fumes got evaporated for nothing. =)10:01
sitaram albel727: actually, I very rarely tell people "gitolite is the best, use it". There's enough people doing that anyway ;-)10:01
VoiDeT well i10:01
_Unode joined10:01
VoiDeT well i'll look at getting gitolite up10:01
bremner huh. monotone made a release.10:01
sitaram thinks toxic fumes go well with rum and coke10:01
sitaram bremner: yeah but who wants to be stuck with one wife all ones life10:01
oh wait10:01
dkannan left10:01
VoiDeT sounds like it can be installed on osx too10:02
sitaram VoiDeT: frogon_wheels (intentionally not highlighting) has even installed it on Windows :)10:02
VoiDeT snap10:03
sitaram assume VoiDeT is talking about gitolite, not monotone10:03
VoiDeT yep10:03
k_sze left10:03
sitaram VoiDeT: but quickly though, let's see, for academic curiosity, what went wrong with your gitosis... did you upgrade python or something on the server lately?10:04
VoiDeT overwhelmed by branches atm10:04
Veejay left10:04
corni joined10:04
corni left10:04
corni joined10:04
VoiDeT i updgraded my ubuntu dist, which upgraded python setup tools, which then led to no where10:04
and now i can't seem to get the post-update hook triggering, and cbf with it10:04
chrischambers joined10:04
VoiDeT what branch do i go with sitaram, pu?10:05
sitaram VoiDeT: yes10:05
albel727_2 joined10:05
sitaram VoiDeT: I always prefer people use pu, ever since I created a test suite I have much more confidence in "pu", and master is really not that far behind anyway10:05
albel727 left10:06
sitaram cbf?10:06
VoiDeT cbf = cant be farqd10:06
albel727_2 (oh my. it is possible to install gitolite on windows? since when does windows have an adequate sshd?)10:06
sitaram VoiDeT: I do ask you spend some time reading doc/1 and doc/2 (install and admin docs)10:06
albel727_2: cygwin10:06
albel727_2albel72710:06
VoiDeT alrighty, will do10:06
cbreak step1: install vmware. step2: install linux :)10:07
albel727 well, if only cygwin....10:07
sitaram VoiDeT: links off of http://github.com/sitaramc/gitolite/tree/pu/doc/ -- online docs, auto-rendered by github10:07
albel727 doesn't consider cygwin adequate10:07
hyperair joined10:07
albel727 cbreak: lol10:07
sitaram albel727: neither do I. I only mentioned that because VoiDeT said it seems to work on OSX10:07
mlq left10:08
mlq joined10:08
mlq left10:08
mlq joined10:08
VoiDeT already there sitaram :)10:08
sitaram won't actually support use on Windows -- not as far as Windows specific issues are concerned10:08
sitaram VoiDeT: :)10:08
cbreak os x is a unix more so than most other platforms.10:08
windows on the other hand is it's own little species10:08
sitaram VoiDeT: theres also a migration document for gitosis migration; same link10:09
cbreak it always needs an "Extrawurst"10:09
VoiDeT well done sitaram10:09
sitaram VoiDeT: I've had a bit of practice at this now; been a year and 2 months10:10
:)10:10
icwiener joined10:10
VoiDeT there is a ton of config here, that im just going to close my eyes at for the time being10:10
i just need a place to push to for the time being10:10
cbreak make a local bare :)10:10
sitaram VoiDeT: defaults are fine dont worry10:10
cbreak once you scp it to the server, it's a full repo10:10
VoiDeT so its installed10:10
sitaram VoiDeT: which method did you use?10:11
VoiDeT now i dump some trusted keys and edit some configs10:11
cbreak gitolite is useless if all you want is a git repo to push to10:11
VoiDeT root10:11
sitaram ok10:11
cbreak it's useful to _restrict_ access to the repo10:11
sitaram cbreak: he was using gitosis, so I assumed he had some ACLs; but you're right -- may be overkill10:11
VoiDeT sitaram: so can i now clone down the config/key dir from gitolite like gitosis and admin from there?10:12
sitaram VoiDeT: are you sure you need this? if all you need is a place to push to, (one user), gitolite *is* overkill10:12
Wyverald joined10:12
VoiDeT well just for now, i will have more users in a few hours once its back up D:10:12
sitaram VoiDeT: not exactly... you do need to do some manual stuff; it's all explained in detail in the migrate doc10:12
VoiDeT: very detailed...10:12
sitaram writes more docs than code10:13
VoiDeT oki doki10:13
albel727 lol10:13
albel727 wishes sitaram good luck10:13
sitaram wonders why *he* needs luck and not VoiDeT :-)10:14
VoiDeT ha10:14
sitaram just kidding... it'll all work. For people who don't skip reading the docs ;-)10:14
albel727 because in the end, you'll be the one who will need to explain everything to VoiDeT (and everybody else) =D10:14
VoiDeT well10:14
the docs are pretty awesome albel72710:15
albel727 VoiDeT: sure they are =)10:15
VoiDeT if i cant get it working with these docs, i think i should talk to a GP not sitaram10:15
cbreak grand parent?10:15
sitaram VoiDeT: I misunderstood your original question. I answered in terms of "what is required to complete the migration". Just to start using gitolite as it, what you said is fine -- just "clone down the admin repo" and so on...10:15
s/as it/as is10:15
VoiDeT ok awesome10:16
sitaram albel727: part of the reason for my documentation fever is my time zone; most of the time I'm not *on* when people ask10:17
albel727 cbreak: general practitioner, probably10:17
infinity0 left10:17
infinity0 joined10:17
bremner git punisher10:17
VoiDeT well, this leaves gitosis for dead10:17
is all i can say :|10:17
sitaram :)10:17
VoiDeT looking at the features10:18
sitaram VoiDeT: I hate to preen but it left gitolite for dead 2 days after it first aired10:18
VoiDeT rip gitosis10:18
albel727 sitaram: (btw, which tz is it? india?) surely that's only a very small part of the reason. I guess, even if you were online, you'd be torn apart by constant requests for explanation.10:18
sitaram albel727: yes, India10:18
cbreak sitaram: have you considered documenting via A.L.I.C.E.10:19
sitaram albel727: no it's not been that bad. Not since I stopped worrying about ssh problems ;-)10:19
albel727 lol10:19
sitaram cbreak: what is A.L.I.C.E? Some AI like Elisa?10:19
cbreak much more advanced10:19
you can modify it via xml I think10:19
sitaram albel727: also there are a couple of regulars (were_Hamster, Il_ari) who help out a lot too10:20
albel727 sitaram: yeah, they sure do.10:20
sitaram cbreak: not this: http://www.alice.org/ I assume10:21
VoiDeT left10:21
albel727 sitaram: probably this: http://alice.pandorabots.com/10:21
cbreak http://alice.pandorabots.com/10:21
indeed10:21
VoiDeT joined10:21
sitaram yeah I got to http://www.alicebot.org/about.html10:21
albel727 (now, who didn't dream about talking with fake captain kirk? =D)10:22
VoiDeT checking out my authorized_keys file now, i see "/usr/local/bin/gl-auth-command"10:22
is that right for it to be and absolute path?10:22
_ollie joined10:22
tvw joined10:22
sitaram VoiDeT: yes10:23
OOPMan left10:23
aspotashev left10:23
sitaram VoiDeT: avoids all sorts of problems, actually10:23
see GIT_PATH in conf/example.gitolite.rc for why :-)10:24
VoiDeT ah k10:24
nah :D10:24
albel727 methinks, that most of the problems, that people can't solve themselves with documentation, will require more insight, than can be provided by a bot.10:24
bremner albel727: is because of your mother that you think that?10:25
sitaram VoiDeT: may not be a problem in your case, but that code is generalised so it looks like *you* dont need it10:25
albel727 bremner: I beg your pardon? what was that about my mother now?10:25
sitaram bremner: LOL! Literally!10:25
hyperair left10:25
roop left10:26
sitaram albel727: Why do you suppose someone mentioned your mother?10:26
bremner albel727: was a joke reference to a famous bot, no disrespect to your family10:26
sitaram loves AI pseudo-Freuds!10:26
sitaram bremner: I'm sure he knew and was egging you on :)10:26
z1y left10:27
albel727 sitaram: bremner: oh, that explains it. =D which one was that famous bot, so I won't stay ignorant further?10:27
bremner sitaram: perhaps, but I have my serious personality overlay in this channel10:27
albel727: eliza10:27
albel727 ah, automated terapist, I see =)10:27
sitaram albel727: just to be clear, my response to your response was also what I suspect Eliza would have said, if you happened to be talking to two of them at the same time :-)10:28
cbreak eliza is very simple10:29
it usually answers with some question10:29
sitaram like my wife actually10:29
albel727 lol10:29
albel727 is finally able to get all the humor in those jokes10:29
sitaram "why do you think we *dont* need a new refrigerator?"10:29
VoiDeT fatal: 'gitolite-admin' does not appear to be a git repository - but i think this might be some error due to me still having some gitosis stuff around the place10:30
sitaram VoiDeT: wrong key10:30
_ollie left10:30
sitaram VoiDeT: you're probably using a key that gets you a shell, or the key you used in gl-setup was *already* in the authorized_keys file as a "shell" key10:30
_ollie joined10:31
VoiDeT hmmm10:31
sitaram VoiDeT: FMTYEWTK about this: http://github.com/sitaramc/gitolite/blob/pu/doc/ssh-troubleshooting.mkd10:31
infinity0 left10:31
VoiDeT what i did was get my git user ssh-keygen, and used that for gl-setup10:31
albel727 googles fmtyewtk10:32
infinity0 joined10:32
infinity0 left10:32
infinity0 joined10:32
yuvankumar joined10:32
albel727 successfully googled fmtyewtk, and now lols non-stop10:33
sitaram VoiDeT: ssh-keygen on the server? or your workstation10:33
VoiDeT server10:33
sitaram from which userid? the same one? it's weird but it should work to clone from there, if that is what you did10:33
in fact gitolite can run all from one userid, as long as you're ssh-ing to yourself of course10:34
VoiDeT well this was under my git user on the server10:34
i ran the ssh-keygen, then gl-setup with that public key10:34
but im guessing i have to add in my clients key?10:34
or can i just copy the public key from the server to the client10:35
dr_win_ joined10:35
sitaram VoiDeT: wait wait... you'd have to copy the private key *also* if you want to do it that way10:35
VoiDeT: guess you'll need to understand a little about ssh based on that question: try http://github.com/sitaramc/gitolite/blob/pu/doc/gitolite-and-ssh.mkd10:36
VoiDeT ha10:36
sitaram albel727: actually, *that* is FMTYEWTK :)10:36
sitaram has recieved lots of compliments for *that* doc specifically, more than others10:36
albel727 understands why =D10:36
sitaram something about the flow of it I guess; I'm rather pleased with how it turned out10:37
dr_win left10:38
VoiDeT argh10:38
sorry10:38
totally misread10:38
tango_ left10:40
sitaram VoiDeT: dont feel too bad; ssh is a pain. Accounts for 75% of my support load, despite being barely 10% of the code and also being 95% similar to how *any* such tool (gitosis, gitorious, etc) do it10:40
VoiDeT no no, i understand how authorized keys etc work, just that i misread it and was a robot10:41
albel727 didn't have any problems with ssh at all, since he read gitolite-and-ssh.10:41
sitaram albel727: :)10:41
albel727 s/since/ever since/10:41
Yuuhi joined10:41
VoiDeT now im getting the following users (pubkey files in parens) do not appear in the config file: imac(imac.pub)10:42
so is this as simple as adding in imac as an admin of gitolite repo?10:42
p3rg2z joined10:42
dwmw2 joined10:42
intripoon joined10:43
albel727 (no, I'm telling the truth. It made me understand much more about ssh, than I ever expected to get from such a short doc)10:43
sitaram VoiDeT: yes indeed10:44
tango_ joined10:44
VoiDeT this has to be done serverside sitaram, because i havent made a clone yet10:44
sitaram VoiDeT: even there -- do an actual clone via ssh, despite it loops back to the same user10:45
dels left10:45
VoiDeT alrighty10:45
sitaram VoiDeT: otherwise there are other methods but this is the cleanest10:45
VoiDeT: let me explain: a normal file:/// based clone will fail when you push because the update hook is expecting gitolite info that is not present. Then you have to bypass that. Can be done (there's an env var that lets you do that ;-) but it's simpler to do it the canonical way10:46
VoiDeT bah10:47
well if i didnt stuff up my install, i bet i would be done and sleeping by now10:48
but: warning: You appear to have cloned an empty repository.10:48
at least i can clone something now :D10:48
sitaram VoiDeT: should not have happened to the admin repo... that's bad10:49
VoiDeT argh10:49
I may as well just start over? :D10:49
sitaram VoiDeT: well, you can, but if you're talking about sleep go ahead and we'll do it tomorrow. It *is* possible to recover from pretty much anything, but its your choice10:50
VoiDeT oh no no, sleep means giving up10:50
sitaram if you want to start over, be sure to read: http://github.com/sitaramc/gitolite/blob/pu/doc/1-INSTALL.mkd#_cleaning_out_a_botched_install10:50
sitaram is full of links :)10:50
VoiDeT hahahaha nice10:50
sitaram VoiDeT: thats only the "robot" way. As I said, it's possible to recover from pretty much anything. E xcept an empty admin repo -- not sure how you got that10:51
can you paste your install session, if that window is still up?10:51
(the one where you ran "gl-setup)10:52
(the one where you ran "gl-setup")10:52
VoiDeT mmmm10:52
not really :(10:52
jspiros joined10:52
VoiDeT ill try again10:52
sitaram VoiDeT: wait wait... when you added imac.pub you got a message saying something10:52
VoiDeT yep10:53
sitaram VoiDeT: that means the admin repo was ok at that time; you would not have have got that if it wasn't10:53
VoiDeT well i dunno what happend :(10:53
sitaram oh well, start again and keep a transcript to paste for me in case I spot something10:53
what does "ssh git@server info" say?10:54
VoiDeT done10:54
got my clone on10:54
smooth sailing from here i am guessing10:54
yuvankumar left10:54
sitaram my clone == gitolite-admin clones from server to workstation? and has actual data (like conf/gitolite.conf). Then yes10:54
VoiDeT :)10:55
its working sitaram10:55
sitaram you can grab stuff from your gitoSIS-admin clone, follwo the migrate doc to convert the config file, copy keys over (but be careful if you have files with @ in the name; see doc), and so on... done10:55
follow*10:55
VoiDeT so do i have to add it in via repos? or can i do it via users10:56
sitaram add what in?10:56
VoiDeT say i want user1 to own 100 repos, can i just list a group of users, and a group of repos for all of those users10:56
like gitosis10:56
sitaram VoiDeT: the syntax is totally different but yes you can. A lot more actually10:57
intripoon_ joined10:57
sitaram thinks gitosis syntax is Windows INI style; fine for disparate pieces of info like in ~/.gitconfig, but not for more homogenous stuff like ACLs10:57
sitaram VoiDeT: just use the conversion program to convert your gitosis conf file; dont do it manually10:58
if its long10:58
VoiDeT ooo10:58
better acl10:58
sitaram yup10:59
VoiDeT looks good10:59
but what if i want basic, instead of repo - then all acl. Can i just have a list of users, with a particular set of permissions, then all repos for the users with those permissions11:00
for example, i have 10 admins, who can RW on everything, i just want to list them, and all the repos in the system11:00
sitaram @admins = alice bob eve <newline> repo @all <newline> RW = @admins11:01
VoiDeT :|11:01
VoiDeT 's brain exploded11:01
VoiDeT thats awesome11:01
kipras joined11:01
sitaram you can use @all for users also, but repo "@all <newline> RW = @all" makes gitolite sort of pointless11:01
RW+ if you want rewind capability (force push)11:01
VoiDeT so http://gist.github.com/655203 is fine11:03
sitaram awesome? you aint seen nothing. Try http://github.com/sitaramc/gitolite/blob/pu/doc/3-faq-tips-etc.mkd#_simpler_syntax11:03
yes its fine11:04
Veejay joined11:04
p3rg2z left11:04
intripoon_ left11:06
VoiDeT muhahaha11:06
its working fine11:06
sitaram :011:06
albel727 what's so funny about it? =)11:06
VoiDeT its too easy :D11:06
sitaram did you check out the example I linked just above (talking of brain exploding)?11:06
VoiDeT installation would of been a breeze if i had a coffee before hand too11:07
sitaram now you see why I laugh when people say "svn has ACLs, and git doesn't11:07
""11:07
VoiDeT sitaram: thats exactly what i was after11:07
shahid_ joined11:07
sitaram is curently in a big fight with some svn-heads on -- of all places -- linkedin!11:07
VoiDeT so this is better? http://gist.github.com/65520311:08
sitaram VoiDeT: you're missing a "repo @personal" line just before the last one11:09
VoiDeT: your current line 5 merely defines a macro; doesnt *use* it11:09
jim shoot em the url of Linus' google talk and gitcasts... and say good nite :)11:09
psoo left11:09
VoiDeT the svn sucks talk?11:10
jim I think so, and cvs sucks more11:10
albel727 jim: linus's google talk?11:10
VoiDeT sorry sitaram, i dont follow you11:10
albel727 VoiDeT: "RW =" line requires "repo <somerepo>" line before it11:10
sitaram VoiDeT: ok let me parse that out for you. A line like "@foo = bar baz" is like a #define in C. (Sort of, not 100% but for now that will do)11:11
jim VoiDeT, it's kinda interesting...11:11
MantiS joined11:11
sitaram VoiDeT: so you haven't defined what repo you're specifying RW permissions for; you have to do that with a "repo @personal" or osme such line11:11
jim he calls himself a git a lot, and says large groups of programs and people are stupid :)11:11
VoiDeT ahhh of course11:11
so more like http://gist.github.com/65520311:12
rikarends joined11:12
MantiS left11:12
albel727 yeah, that's more like it11:12
intripoon_ joined11:12
VoiDeT so good11:12
jim this git from the bottom up thing is interesting too tho11:12
albel727 jim: progit is no worse11:13
iravid left11:13
jim what's progit?11:13
albel727 jim: http://progit.org/book/11:13
sitaram VoiDeT: works11:14
zorzar_ joined11:14
iravid joined11:14
VoiDeT works amazing11:14
what is gitosis? i forgot :D11:14
jim hali's sister :)11:14
albel727 jim: and progit talks about the same things as "git from the bottom up", in chapter 9 "internals"11:15
VoiDeT thanks so much albel727 and sitaram11:15
intripoon left11:16
sitaram VoiDeT: you're welcome!11:16
jim in what order?11:16
dwmw2dwmw2_gone11:16
albel727 VoiDeT: it's more like thanks to sitaram and sitaram again (for writing gitosis), but heh =)11:16
sitaram alphabetical :)11:16
albel727 s/gitosis/gitolite11:16
sitaram albel727: ouch11:16
:)11:16
albel727 is sorry11:16
VoiDeT :D11:16
hahahahahaha11:16
albel727 shoots himself again11:17
zorzar left11:17
intripoon joined11:17
akheron I've never tried gitolite, maybe I should11:17
gitosis has worked well11:17
albel727 why wait till it'll break? =) break it now and try gitolite =P11:18
Mage left11:18
sitaram :)11:18
akheron: jokes apart, I used to tell people "dont upgrade unless your gitosis is broken". But lately I have heard more than a few people say that a python or python-setuptools upgrade has broken gitosis11:19
akheron oh?11:19
albel727 akheron: (but I guess, sitaram had enough explanation for today, so maybe try it tomorrow =D)11:19
sitaram akheron: so yeah I agree with albel727 now11:19
dwmw2_gonedwmw211:19
akheron actually, tv used to work in the same company as I11:19
he has a bad habit of starting projects and leaving them unmaintained... :(11:20
pantsman left11:20
albel727 take your revenge on him - migrate to gitolite!! =D11:20
dwmw2dwmw2_LHR11:20
VoiDeT it'd be funny if github used gitolite :)11:21
intripoon_ left11:21
albel727 (not sure that it would be much of a revenge, though. a weak insult, probably =D)11:21
sitaram akheron: dont blame him. If he had actually repsponded to my increasingly desperate emails there would not be a gitolite today :)11:21
akheron he also has a bad habit of not responding to anyone's emails :D11:21
sitaram VoiDeT: no theirs is all ruby on rails, a custom ssh daemon, and so on. There's a presentation on it somewhere11:21
akheron: I'm glad it wasnt personal then ;-)11:22
akheron no, I believe it wasn't11:22
sitaram I'm sure it wasn't; I was joking :)11:22
akheron tv doesn't even respond to emails of our CEO, and tv owns 1/4 of the company!11:23
sitaram oh wow...11:23
akheron not a big business though, but anyway11:23
cbreak you sure he knows how to use an e-mail client?11:23
akheron :)11:23
bluenovember joined11:23
rikarends left11:23
sitaram would it be impolitic to ask what company? (feel free to ignore)11:23
akheron http://www.inoi.fi/11:23
sitaram aah11:24
akheron tv left to the US a few years ago11:24
cbreak they arrested him for terrorism! that's why he never replies!11:24
akheron I don't know what he does there, something related to Big Web Things11:24
shahid_ left11:24
cbreak I heard americans do that all the time with computer professionals11:24
akheron cbreak: he tweets, maybe you can do that from the jail?11:25
cbreak are those tweet thing the same pseudo random noise as SMS?11:25
sitaram cbreak: only *security* professionals ;-) and only if they crack a "big corporation"s allegedly secure PDF viewer :)11:25
nevyn^_ left11:30
bitkiller joined11:39
rikarends joined11:40
Mage_Dude left11:40
shahid_ joined11:40
rikarends left11:43
Mage_Dude joined11:46
Dave^| joined11:48
dharrigan joined11:51
dharrigan left11:51
dharrigan joined11:51
Dave^|| joined11:58
dharrigan left11:59
aspotashev joined11:59
leen^| joined12:00
Dave^| left12:01
Dave^|| left12:01
infinity0 left12:04
infinity0 joined12:05
mithro left12:07
thomas_b left12:09
nanotube left12:10
thomas_b joined12:10
ShadeHawk joined12:10
ShadeHawk How to mark that code and ideas were originally by some other author, but were rewritten by me (what signoff like annotation to use)?12:11
boombatower left12:12
wereHamster ShadeHawk: you put the original author into the commit message12:13
boombatower joined12:14
boombatower left12:14
boombatower joined12:14
ShadeHawk wereHamster: but the feature were, like, totally rewritten. Not one shred of code remains as is, and one commit (or two) exploded into long patch series12:14
wereHamster Originally-by:12:15
xiong joined12:15
wereHamster Inspired-by:12:15
Suggested-by:12:15
ShadeHawk: run git log | grep -i "by: "|grep -vi -E '(Signed-off-by|acked-by|tested-by|noticed-by)' inside git.git or the linux kernel12:15
boombatower left12:15
ShadeHawk git log | grep -i "by: "|grep -vi -E '(Signed-off-by|acked-by|tested-by|noticed-by)' | sed -e 's/:.*$//' | sort | uniq12:17
wereHamster see, you can do it yourself ;)12:18
project2501b left12:19
mithro joined12:20
babusri joined12:23
project2501b joined12:24
vector_xyz joined12:29
ShadeHawk though I don't have kernel repository, so I could test it only on git repository12:29
vector_xyz hey guys i have a developer who cloned our master branch... so he has a copy of it now on his pc... he made changes... how can i get those changes now from him so i can review it before merging it or so... if he does git push... he will push it already to our master but i want it to be reviewed... and then added12:30
so im not sure which commands i need for that...12:31
on github its simple because you can do it all through the web... but through command line i got no idea12:31
dfr|mac joined12:32
wereHamster vector_xyz: he could push into a different branch than master12:32
or push into a separate repo. Or send you the patches via email12:32
vector_xyz so each dev could have his own branch and that would workout fine ?12:32
wereHamster yes. But usually each dev has his own repo12:33
infinity0 left12:33
vector_xyz i see were using a paid service so each repo sadly is another 10-20$ :x so i guess branch could be an alternative12:33
drizzd ShadeHawk: for the kernel http://fpaste.org/0Q2g/12:34
wereHamster vector_xyz: sure, if you pay for it then it could get expensive. But setting up a gitolite repo is fairly easy12:34
shiba_yu36 joined12:35
vector_xyz ah i see so i could just host it ourselfs :)12:35
ShadeHawk vector_xyz: can you access his PC and repository via SSH? if not, but you can access his PC, can he configure git-daemon? if not, let him push to separate branch in central repository "git push HEAD:for-you"12:35
drizzd: thanks!12:36
thiana left12:37
dfr|mac left12:38
project2501b left12:40
flaguy48 left12:42
nicoulaj joined12:44
project2501b joined12:45
nanotube joined12:46
wereHamster lol, laughed-at-by:12:47
or signed-off-and-morning-tea-spilled-by:12:48
robgleeson left12:48
murr4y joined12:48
wereHamster umm-i-can-live-with-that-by:12:48
dfr|mac joined12:48
robgleeson joined12:48
Chillance joined12:49
igorw joined12:50
Moo|beernothanksMoo|sprintingUK12:51
Wyverald left12:53
project2501b left12:54
antgel left12:54
goldbergus joined12:54
bremner stared-at-in-horror-by:12:55
aspotashev left12:55
albel727 haha12:56
project2501b joined12:58
wereHamster nose-poked-at-pile-o-crap-by:13:02
shiba_yu36 left13:04
alberto56 joined13:05
dark joined13:05
mithro left13:06
albel727 hehe. are we having "think up the most ridiculous analogue of reviewed-by:" holiday today, or what? =D13:07
foocraft left13:08
dark git show HEAD^:file shows it with less. is it configurable? (I would like to show it in emacs, using emacsclient)13:08
albel727 dark: yeah, it is13:08
GIT_PAGER environment option, and something about it in man git-config13:08
Gitbot albel727: the git-config manpage can be found at http://git.or.cz/man/git-config13:08
dark ok, now it is more like a problem on how make emacsclient accept something from stdin..13:09
but I see I can do git show .. > /tmp/file13:09
dwmw2_LHRdwmw2_gone13:11
foocraft joined13:11
aspotashev joined13:12
tizbac joined13:12
shiba_yu36 joined13:14
aresnick left13:15
Bass10 joined13:17
converge joined13:18
goldbergus left13:18
mithro joined13:19
converge hi, i have a remote repository 'master', to update my local repos. with the remote repos i did: git checkout master; git pull master, but git pull master looks wrong..13:19
somebody can help me?13:19
tungtn left13:21
shiba_yu36 left13:22
OOPMan joined13:23
kipras left13:23
frakturfreak left13:24
goldbergus joined13:24
wereHamster converge: you didn't explain your problem13:28
until you do that, nobody can help you13:28
jtauber left13:29
converge ok, i find a problem now, will fix it first13:30
im still kind of lost with git13:30
wereHamster converge: http://progit.org13:31
converge i was taking a look on this book, i will buy it13:32
im changing from svn, there is a lot of differences13:32
airborn joined13:33
plopix left13:35
plopix joined13:35
rson left13:46
icwiener_ joined13:46
robgleeson left13:47
icwiener left13:47
thiana joined13:52
thiana left13:52
Thell joined13:53
thiana joined13:53
robgleeson joined13:54
Thell_ joined13:54
EricInBNE left13:54
hilem joined13:55
Thell|busy joined13:55
dfr|macdfr|bus13:55
Thell|b3 joined13:56
rpg left13:56
Thell|Away left13:56
Thell|b4 joined13:56
Thell left13:57
Thell|b5 joined13:57
Thell joined13:58
Thell_ left13:59
Thell_ joined13:59
Thell|busy left13:59
Thell|busy joined14:00
Thell|b3 left14:01
Thell|b4 left14:01
rvsjoen left14:01
Thell|b5 left14:02
Thell left14:02
rvsjoen joined14:03
Thell_ left14:03
goldbergus left14:04
sftp left14:05
foocraft left14:07
goldbergus joined14:09
foocraft joined14:10
josh0x0 joined14:12
goldbergus left14:14
sftp joined14:14
brothers joined14:15
theoros joined14:18
jtauber joined14:18
bauruine left14:19
goldbergus joined14:20
kpreid left14:20
Bombe left14:21
bentob0x joined14:21
kpreid joined14:21
airborn left14:21
Bombe joined14:21
airborn joined14:22
masonkramer joined14:26
igorw converge: you can also read it online for free14:26
virgil joined14:27
impulze is there a guy that can manage git-reset -p instead of git gui which does git-add -p?14:27
artefon joined14:27
bauruine joined14:28
project2501b left14:28
impulze *gui14:28
;)14:28
sftp left14:30
rgr joined14:31
hilem left14:32
rikarends joined14:33
dark it's awesome that there are publishers that accept to release the content under some creative commons license (such as that pro git book). the book itself also seems good.. =)14:33
dfr|bus left14:36
aspotashev left14:38
Diverdude joined14:38
Diverdude What is git?14:38
wereHamster Diverdude: git-scm.com14:38
also in the topic14:38
Diverdude a version control system like SVN?14:39
wereHamster Git is a free & open source, distributed version control system designed to handle everything from small to very large projects with speed and efficiency.14:39
dark also http://en.wiktionary.org/wiki/git14:39
wereHamster straight from the homepage14:39
why don't you read it...?14:39
Diverdude so why is git better than vn?14:39
svn14:39
wereHamster Diverdude: http://whygitisbetterthanx.com/#svn14:39
straight from google 'why is git better than svn'14:40
if you'd type your questinos into google instead of irc, you'd get the same answers..14:40
bosdfs joined14:46
shahid_ left14:47
__iron left14:47
converge i removed a lot of .svn directories inside my project and did: git add .; git commit; git push origin master; but the svn files still are in the remote respos. , there is another way to do it properly?14:48
wereHamster you need to use git add -u .14:48
otherwise git won't update deleted files in the index14:48
also, use git status14:48
EricInBNE joined14:49
wereHamster also, next time use git rm -f '**/.svn' .svn14:50
converge can i do it on windows?14:51
wereHamster sure14:51
converge cool =)14:52
yhager joined14:52
ph^ left14:52
goldbergus left14:53
dark I use -A to add deleted files. but it also add non-deleted files.. (it's --all). (but that's because nearly all adds I do is git add -Av ., I actually have an alias, git a, to it)14:53
oriba joined14:54
icwiener joined14:54
fedesilva joined14:55
icwiener_ left14:55
__name__ joined14:55
__name__ left14:55
__name__ joined14:55
goldbergus joined14:58
shiba_yu36 joined14:58
scarabx joined14:58
ph^ joined15:00
sgronblo could somebody confirm for me that the staging area contains a snapshot and not a delta set?15:01
wereHamster ack15:01
er.. confirmed15:01
icwiener_ joined15:01
sgronblo all right15:01
icwiener left15:02
virgil left15:03
tangyin joined15:03
igorw when I have a topic branch that was merged into master, is there a way to get a diff AFTER the merge has been performed15:04
wereHamster diff of what?15:04
igorw basically the equivalent of git diff master topic15:04
icwiener joined15:05
igorw as it was before the merge15:05
wereHamster you can pass any two commits to gi tidff15:05
so just pass <master before the merge> and <topic before the merge>15:05
sftp joined15:06
tangyin left15:06
goldbergus left15:07
albel727 igorw: e.g. if merge have just happened, then it is "git diff master^1..master^2"15:08
igorw so is there an easy way to find the merge commit on master that points to topic?15:08
sgronblo is there any logic to how the caret parents are counted? which one is ^1 and which one is ^215:08
albel727 sgronblo: yes, there is15:08
wereHamster the first parent is ^1, the second parent ^2 and so on15:08
project2501b joined15:09
sgronblo yes... but which one is the "first" and which is the "second"?15:09
albel727 sgronblo: ^1 is the branch you're currently on (i.e the one, into which you merge changes into)15:09
icwiener_ left15:09
igorw s0ber: if you're on master and do git merge topic1 topic2; ^1 is master, ^2 is topic1 and ^3 is topic215:09
sgronblo albel727: i guess you mean the branch which was merged into, only. it probably has nothing to do with what branch you are on when you write your carets15:10
albel727 (well, not exactly "branch", rather a commit, which was pointed at by the branch into which you were merging changes)15:10
project2501b left15:10
igorw my problem is basically this; we use github compare links that are linked to from tickets15:11
after the merge, it turns blank15:11
http://github.com/phpbb/phpbb3/compare/develop...rxu:ticket/986715:11
so it's harder to review those changes after they have been merged15:11
wereHamster sure, because now the diff between devlop and the ticket is empty15:12
igorw of course, it makes sense15:12
it'd be nice if I could use a script to show the changes after the merge15:13
rvsjoen left15:13
wereHamster replace 'develop' with the commit befor the merge15:13
goldbergus joined15:14
igorw and how to find it in an automated way?15:14
wereHamster walk through the history, look which merge has ^2 == ticket/XXXX and then extract ^115:14
igorw so I guess there's no low level git commands for this stuff15:15
wereHamster git rev-list would be the low-level command15:15
rvsjoen joined15:17
impulze hm i wonder if i could get git-gui to use sync stuff from my index to workingdir rather than the opposite15:17
any ideas how to?15:18
wereHamster 'git checkout -- .' would do that15:18
igorw wereHamster: ok, thanks15:18
albel727 igorw: man git-log . I guess, something like git log --format="%H %P" | grep `git-rev-parse topic` might help you15:18
Gitbot igorw: the git-log manpage can be found at http://git.or.cz/man/git-log15:18
wereHamster albel727: IMHO it's better to use rev-list --parents instead of the custom format15:19
mmc joined15:19
josh0x0 left15:20
alberto56 left15:20
irc2samus joined15:21
albel727 wereHamster: yeah, I agree. In fact, it looks like I've tried to emulate git rev-list --parents =D. "git rev-list --parents -1 <topicbranch>" it is, then.15:21
shiba_yu36 left15:21
albel727 (oh, no it's wrong)15:22
LiamH joined15:22
mmc let's say I have these 2 commits: 1/ functionality with lot's of comments 2/ commit stripping the comments. Now I want to have this: 1/ functionality 2/ commit adding those comments (so that 1/ can be published, and 1/ can be used privately). So, I want to have A' = A+B and B' = -B How to do it? Can this be done only by making a backup out-of the repo directory?15:23
fedesilva left15:23
wereHamster mmc: rebase and edit/split the commits15:23
albel727 igorw: "git rev-list --children -1 <topicbranch>"15:24
mmc wereHamster: I guess I cannot obtain "-B" with only git commands.15:24
wereHamster -B? git diff -R <B>15:24
mmc hm, maybe yes15:24
ok15:24
ct^ joined15:25
albel727 mmc: and what happened to good old git revert? just apply it to B, and voila.15:25
king313 joined15:27
albel727 (so, basically, you just need to revert commit 2 yielding commit 3, and then squash commits 1 and 2 together)15:27
mmc albel727: very nice, indeed15:27
irc2samus guys is there something like svn:external in git? what should I read about? :)15:27
king313 Hi. How, if I have added a modified file to the next commit, with "git add ." I can remove it15:27
ct^^ left15:27
king313 so it will not be uploaded in the next commit and push?15:27
albel727 king313: you want, git rm --cached <file>, probably.15:28
irc2samus king313: git reset15:28
king313 thanks guys!15:28
albel727 king313: whoops, no. git reset would be better15:28
ct^ left15:28
zombor joined15:29
warthog9 joined15:30
theoros left15:30
ct^ joined15:31
fr0sty__ left15:31
Yuffster joined15:32
fr0sty__ joined15:32
alberto56 joined15:34
kukks joined15:37
fedesilva joined15:37
irc2samus btw I'm looking for something like svn:external in git, that is, to be able to include an external repo within my own15:41
Kira joined15:42
slonopotamus joined15:42
sh1mmer left15:45
fr0ggiefr0ggie`15:45
igorw irc2samus: there's submodules, they work a bit differently though15:45
irc2samus igorw: hmm ok I'll read about those thanks!15:46
in any case, do you think they could help me include a separate repo within my own? I need to have a library deployed along with my code and I would like it to be updated when the author updates instead of me keeping it fresh15:47
chrisshattuck joined15:47
SkramX joined15:48
kupsch left15:49
kupsch joined15:51
ddevaal joined15:51
fedesilva left15:52
Diverdude left15:52
sako joined15:54
parkin joined15:54
nonno joined15:54
parkin we currently have a publishing server with bare git repositories, which we push/pull too over ssh - this works great, but now i have a requirement for permissions / security - how do I allow / restrict access to git repos?15:56
igorw irc2samus: it's probably easier to have a separate deploy script that checks out those dependencies15:56
sako hey guys, i want to get the git branch to show up in my prompt.. here is what i have so far: http://dpaste.com/267176/15:56
igorw because submodules are bound to a specific revision15:56
sako i get no errors but the branch are not showing when i navigate to a git repo15:56
programble joined15:57
sako can someone help me figure this out?15:57
irc2samus left15:57
Ilari parkin: Gitolite?15:57
sako i think this is the line thats messed up export PS1="\[${COLOR_GREEN}\]\w $(__git_ps1 " (%s)")> \[${COLOR_NC}\]";15:57
doener sako: use ' not "15:57
sako doener: i have some weirdness going on with '15:58
doener sako: with " the expressions are evaluated right away and the result gets hard-coded into your prompt15:58
parkin Ilari: havent heard of that before15:58
sako hmm15:58
parkin will have a quick look15:58
what are the benefits of it?15:58
sako doener: i am on a mac and if i dont use " my colors are messed up they show up as \e234515:59
can i use both in bash?15:59
doener sako: no clue about that... then put a \ before the $() subshell to stop it from being executed15:59
sako -bash: /Users/svarozian/.bashrc: line 58: syntax error near unexpected token `('16:00
warthog9 left16:01
sako export PS1="\[${COLOR_GREEN}\]\w \$(__git_ps1 " (%s)")> \[${COLOR_NC}\]";16:01
doener sako: escape the inner quotes16:02
xiangfu left16:02
madewokherd joined16:04
werdan7 left16:04
dfr|bus joined16:05
thiago joined16:06
aspotashev joined16:06
dfr|bus left16:07
Diverdude joined16:08
iruediger joined16:10
cschneid left16:11
parkin left16:11
ofeone joined16:13
bryanl left16:13
sako well that worked thanks doener16:13
robgleeson left16:13
sako im assuming because that made it an expression that is evaluated later?16:14
just trying to understand what16:14
\$ does16:14
wereHamster otherwise the __git_ps1 would be evaluated when you set PS116:15
sako i see16:16
wereHamster but you wnat it evaluated when the shell evaluates PS116:16
theoros joined16:16
igorw left16:16
robgleeson joined16:16
cschneid joined16:17
goldbergus left16:17
mithro left16:17
slonopotamus left16:19
sako guys so if i have a branch x... do i do git pull origin x16:20
if i want to pull in changes from origin/x into local x?16:20
i dont have to explicitly say git pull origin/x x?16:20
or do i?16:21
goldbergus joined16:21
sgronblo you can set up branch x to track origin's x16:23
parkin joined16:23
langhun joined16:24
marc_kdab joined16:24
antgel joined16:24
dark can't a git alias be executed at the current directory? (it is always exec at the git root directory). or, is some way to pass the current directory?16:25
chrisshattuck left16:25
EricInBNE left16:26
__name__ left16:26
offby1 dark: can you be more specific?16:26
dark I have two aliases: env = !env and pwd = !pwd16:27
bosdfs left16:27
dark git pwd always shows the root directory (which is usually good, for most aliases)16:28
git env | grep PWD also shows as PWD=rootdirectory16:28
wereHamster dark: pwd = !$PWD/(git rev-parse --show-prefix)16:28
langhun left16:28
offby1 curious.16:29
wereHamster oh, that won't work16:29
offby1 I didn't know you could make the alias mechanism run shell commands16:29
dark sh: -c: line 0: syntax error near unexpected token `git' , sh: -c: line 0: `$PWD/(git rev-parse --show-prefix)'16:29
wereHamster there was a patch to add a special syntax for aliases to get the pwd of the directory where the user is16:29
mithro joined16:29
wereHamster but I don't know if that was merged or what happened to it16:29
dark: 18:29:12 <wereHamster> oh, that won't work16:30
offby1 manual indeed says "Note that shell commands will be executed from the top-level directory of a repository, which may not necessarily be the current directory."16:30
dark pwd2 = !echo $PWD/$(git rev-parse --show-prefix) runs, but shows /current/root/16:30
wereHamster again, that won't work16:30
I was wrong, and I'm sorry16:30
offby1 dark: you might consider writing a _shell_ alias that does some stuff, then invokes the git alias.16:30
evilgeenius joined16:31
dark yes.. what I want to do is: git a is the same as git add -Av ., but I want also a git a something being the same as git add -Av something16:31
offby1 s/shell alias/shell function/16:31
sitaram parkin: http://github.com/sitaramc/gitolite#_main_features16:31
dark offby1, yes, or a shell script..16:31
offby1 (shell functions are easier to understand than shell aliases, in my humble opinion )16:31
dark but I find the syntax git something somethingelse to be nice16:31
evilgeenius My git index file has become corrupt. How can i replace it without loosing the changes to the files im working on?16:31
ymasory_ joined16:32
wereHamster dark: see if $GIT_PATHNAME_PREFIX is available in the alias16:32
oriba left16:33
dark no.. I'm in a directory called src. git env | grep src shows nothing16:33
wereHamster dark: or prefix the alias with '!!' instead of '!'16:33
dark sh: !env: command not found16:34
wereHamster then none of the patches were merged16:34
masonkramer left16:35
dark ah, other people actually proposed it. hmm.16:35
wereHamster see [email@hidden.address] and [email@hidden.address]16:35
offby1 wonders if that was eli doin' the proposin'16:35
dark what? where?16:36
offby1 wereHamster: how do you turn those things into email messages? gmane?16:36
wereHamster dark: those are message-ids. You can use gmane to search the messages16:36
offby1: yeah, eli16:36
offby1 his unique style comes through, yay, even unto his message-ids16:38
jast left16:38
wereHamster offby1: you know him?16:39
brntbeer joined16:39
jast joined16:39
fedesilva joined16:39
dark I was unable to locate those message ids, but I can find this discussion on various places, like http://kerneltrap.org/mailarchive/git/2010/5/5/2977316:40
in fact, I will try to apply this: http://kerneltrap.org/mailarchive/git/2010/5/5/2980716:40
antgel left16:40
sejo hey all I'm following http://gitref.org/branching/16:40
dark I suspect that if the patch applies cleanly, it will be like changing a single line in the ebuild..16:41
sejo but when trying out the merge I get this: CONFLICT (delete/modify): test.py deleted in HEAD and modified in change_def. Version change_def of test.py left in tree.16:41
Automatic merge failed; fix conflicts and then commit the result.16:41
Thell|busyThell|busy|Away16:41
Thell|busy|AwayThell|busy16:41
Thell|busyThell16:41
sejo what does that mean? Can't git detect the namechange anymore?16:41
dark but people replied saying the patch is wrong..16:42
wereHamster sejo: "fix conflicts and then commit the result."16:42
sejo wereHamster: yes i know that, the problem is following the doc it states that there should not be a confict16:42
however there is one16:42
offby1 wereHamster: I "know" him in the IRC sense. He's one of the PLT guys (they created the "Racket" language, which I use)16:42
wereHamster sejo: where does it say there should not be a conflict?16:42
sejo Well, it will just figure it out. Notice that I had no merge conflicts and the file that had been renamed now has the 'HiWorld' class name change that was done in the other branch. Pretty cool.16:43
git merge change_class16:43
Renaming hello.rb => ruby.rb16:43
Auto-merging ruby.rb16:43
Merge made by recursive. ruby.rb | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-)16:43
that's stated in the doc16:43
wereHamster sejo: there's no 'test.py' in that references. So you ditdn't follow it. You did something else which caused the conflict16:44
ijcd left16:44
sejo wereHamster: I did the same just in python16:44
wereHamster no, you ditn't16:44
where does the reference tell you to delete test.py?16:45
childermass left16:45
sejo master: http://paste.pocoo.org/raw/283552/ branche change_def: http://paste.pocoo.org/raw/283553/16:46
I did not delete16:46
wereHamster test.py deleted in HEAD and modified in change_def16:46
sejo I did git mv test.py code.py16:46
wereHamster well, that's the same as a delete16:47
saladin joined16:47
kanru left16:47
sejo the doc does the same?16:47
$ git mv hello.rb ruby.rb16:47
theoros it's a shortcut for a regular mv, a git rm, and a git add16:48
project2501b joined16:48
wereHamster sejo: I see. You changed the files too much (they are completely different now)16:48
FsTluxe joined16:48
wereHamster so git doesn't recognize the rename and can't merge the changes with the correct file16:48
sejo: see how the reference just renames one line of the ~7 line file16:49
theoros you can change the default 90% limit can't you?16:49
dark it looks like in my source here, this patch is already applied.. (git-1.7.2.2.tar.bz2)16:49
sejo wereHamster: ok thanks!16:49
ofeone left16:49
bhosie joined16:49
simplechat left16:49
drizzd theoros: you can for diff, but not for merge I believe16:50
nonno left16:50
drizzd and for merge, the limit is less than 90% anyways16:50
project2501b left16:52
nonno joined16:52
ofeone joined16:52
evilgeenius left16:53
sejo wereHamster: can it also be that it's the root-commit?16:55
whaley joined16:57
dark in the end, the !! commit was accepted or not?16:58
*patch16:59
antgel joined17:00
leen^| left17:01
Dave^| joined17:01
wereHamster sejo: no17:02
simplechat joined17:02
simplechat left17:02
simplechat joined17:02
wereHamster sejo: it's because the two files are completely different17:03
alnewkirk joined17:03
parkin left17:04
FsTluxe left17:07
towski joined17:07
yngress joined17:10
parkin joined17:10
bdiu joined17:11
dark is it possible to have, in, git show something:file, this "file" be relative to current directory?17:11
offby1 as far as I know, yes17:12
Try It And See™.17:12
dark i'm trying17:12
GarethAdams|Work left17:12
saladin left17:13
wereHamster no, <sha>:<path> is always relative to the root17:14
dark I think one can do some magic with git rev-parse --show-toplevel and pwd17:15
thiago left17:16
orafu joined17:16
sejo wereHamster: ok get it working bet needed 75% the same17:16
simplechat left17:16
thiago joined17:17
keystr0k left17:18
cschneid left17:18
zain joined17:18
cschneid joined17:19
ninjaneer joined17:19
aspotashev left17:19
wereHamster sejo: in the reference the files are only 65% same17:19
goldbergus left17:21
sejo i know but i have much less lines17:21
so added lines :p17:21
now it worked17:21
icwiener_ joined17:22
parkin left17:23
icwiener left17:23
nevyn^_ joined17:24
goldbergus joined17:26
robinbowes Anyone help me cloning a project onto github?17:26
ExtraSpice joined17:27
robinbowes I want to make a copy of the pssh codebase from git://aml.cs.byu.edu/pssh.git into a repo on github17:28
frakturfreak joined17:28
whaley left17:28
Gitzilla left17:28
wereHamster robinbowes: clone that repo, push it to github17:28
robinbowes I'm trying that17:29
wereHamster use --mirror when cloning and --all when pushing17:29
battleman2004 joined17:29
bitsnack joined17:29
robinbowes According to github, I need to do:17:29
git remote add origin [email@hidden.address]17:29
But I get this error:17:30
fatal: remote origin already exists.17:30
bitsnack i'm an absolute git-noob and I don't know how to delete a commit17:30
a already pushed commit17:30
bremner bitsnack: man git-revert17:30
Gitbot bitsnack: the git-revert manpage can be found at http://git.or.cz/man/git-revert17:30
fedesilva left17:31
bitsnack it's my initial commit17:32
wereHamster robinbowes: use some other name for the remote17:32
maybe 'github'17:32
so you can git push github --all --tags17:32
robinbowes Ah, OK17:32
robinbowes has never quite got my head round git17:33
wereHamster robinbowes: progit.org17:33
robinbowes Good, is it?17:33
dark robinbowes, cat .git/config17:33
from the root17:34
wereHamster dark: why?17:34
bitsnack is there a command to "deinit" a repository?17:34
wereHamster bitsnack: rm -rf .git17:34
dark to see the remote origins..17:34
bitsnack just delete the .git directory?17:34
oh, okay17:34
robinbowes Hmm, I did a clone using --mirror17:34
bitsnack thanks17:34
Mage joined17:34
robinbowes That gave me something that doesn't look particularly useful17:35
wereHamster dark: git remote show17:35
robinbowes: --mirror creates a bare repo IIRC17:35
dark :) nice17:35
robinbowes Yes, seems to. You suggested I use it!17:35
dark I think bare repositories are more used for gitweb, stand-alone servers, etc17:36
thiago left17:37
robinbowes Hmm: error: --all and --tags are incompatible17:37
wereHamster robinbowes: I did, because when you want to create a mirror on github then that's the easiest way17:37
goldbergus left17:37
wereHamster try git push github --mirror17:37
robinbowes I just did git push github --all17:38
wereHamster that only pushes branches, but not necessarily all tags17:38
robinbowes OK, did git push github --mirror17:39
http://github.com/robinbowes/pssh17:39
OK, that looks good17:40
wereHamster robinbowes: http://support.github.com/discussions/repos/684-how-to-create-repository-in-mirror-mode17:40
robinbowes OK, I'll try and figure out how to use that17:41
Thanks17:41
Gitzilla joined17:42
hyperair joined17:42
goldbergus joined17:42
Schmallon left17:42
ninjaneer left17:44
warthog9 joined17:47
goldbergus left17:49
alnewkirk left17:51
Schmallon joined17:51
dreiss joined17:52
ymasory_ left17:52
psoo joined17:53
MikhX left17:53
Heimidal joined17:53
MikhX joined17:53
alnewkirk joined17:53
goldbergus joined17:55
bhosie left17:56
nonno left17:58
brntbeerbrnt|burnt17:58
anjen joined17:58
larsl joined17:59
anjen left17:59
jfkw joined18:00
nairb774 left18:00
larsl Hello, I'm wondering if there's a way to refer to the commit that is the first one in the history of the current branch after the last merge of another branch.18:00
wereHamster larsl: no18:00
FsTluxe joined18:01
wereHamster well, no easy way. You'd haev to script it18:01
dreiss left18:02
dsigurds left18:02
larsl OK... is there a way to find the latest common ancestor of two commits?18:03
fedesilva joined18:03
alnewkirk left18:04
wereHamster merge-base18:04
alnewkirk joined18:04
tvw left18:05
babusri left18:06
zombor left18:07
scarabx left18:09
larsl Found a way to work around it. filter-branch and rebase to the rescue.18:10
nairb774 joined18:13
OOPMan left18:14
theoros ?18:15
krosenvold_ left18:18
iravid left18:18
comawhite|sleepcomawhite18:18
rikarends left18:18
rikarends joined18:19
iravid joined18:19
ignatp joined18:19
whaley joined18:24
andreaa joined18:24
nairb774 left18:27
shennyg left18:31
fedesilva left18:32
Adaptee joined18:32
project2501b joined18:35
project2501b left18:36
svnlto joined18:38
parasti left18:38
nairb774 joined18:39
envi left18:42
Thell It'd be nice to have a git rebase --sign HEAD~3 -vs- git rebase --interactive HEAD~3 -> 'edit' to each -> git commit --amend -s -> save -> git rebase --continue -> repeat.18:43
hmmm, wonder if I could just create an alias to do that.18:43
rpg joined18:44
bitsnack left18:45
shennyg joined18:46
alberto56 left18:47
alester joined18:50
Guest10739 joined18:52
Guest10739gdoteof_home18:52
nanotube left18:54
theoros left18:54
theoros joined18:54
fedesilva joined18:59
nanotube joined18:59
mmc1 joined18:59
justin-george joined19:01
mmc left19:01
vital left19:02
vital joined19:04
krosenvold_ joined19:06
mcdebugger joined19:06
torsthaldo joined19:07
childermass joined19:10
steph021 joined19:10
mmc1 left19:10
converge left19:14
robinbowes wereHamster: yt?19:15
xiong left19:18
justin_ joined19:19
zombor joined19:20
tizbac left19:22
MmikeMRMAMmikeDOMA19:22
Aleric left19:23
phantomcircuit joined19:23
maleknet left19:24
chrisshattuck joined19:25
zombor left19:25
bitkiller anyway to do something like 'git add -p' line by line?19:26
erez left19:27
bitkiller in other words, I want to split a block, but have no option19:27
Thell bitkiller: git add --interactive will let you do that19:28
wereHamster robinbowes: ?19:28
robinbowes Hi19:28
DrNick -p is a just a shortcut into --interactive19:28
see the split command19:28
robinbowes So, I followed http://support.github.com/discussions/repos/684-how-to-create-repository-in-mirror-mode19:29
I now appear to have an "empty" dir19:29
wereHamster then you didn't follow it19:30
karl_popper joined19:30
mmc joined19:30
robinbowes My github repo is populated19:30
But nothing in the local dir19:30
wereHamster nothing at all?19:31
robinbowes Well, there's a .git dir19:31
bitkiller Thell, can't find an option in the interactive mode19:31
ijuma_ left19:32
robinbowes "git remote show" shows "mirror" & "origin"19:32
malumalu joined19:32
bitkiller DrNick, i don't have the split command for the block in question (if i understood what you mean)19:32
meatcar joined19:32
robinbowes Like I said, my github repo is populated: http://github.com/robinbowes/pssh19:33
Thell bitkiller: '5: patch'19:33
bitkiller Thell, this is the same as I am doing: git add --patch19:33
graphitemaster left19:33
Thell yep19:34
bitkiller Thell, then I have no option to split the block19:34
Thell you do19:34
bitkiller No I don't19:34
chrisshattuck left19:34
Thell when you get to the hunk you want to split, you can do split or even edit19:34
xiong joined19:35
bitkiller I can edit, but cant split 'automatically'19:36
robinbowes I'll try it again19:36
Thell bitkiller: sometimes the internal logic can't find a logical place to split and it'll tell you so.19:36
FsTluxe left19:36
chrisshattuck joined19:36
gilaniali joined19:37
robgleeson left19:37
bitkiller Thell, ok, i see...i'd say the internal logic is kind of flawd19:38
erez joined19:38
bitkiller thanks anyway19:38
Thell sure19:38
goldbergus left19:38
whaley left19:38
robgleeson joined19:38
flaguy48 joined19:39
LRN left19:40
LRN joined19:41
njhjhhhhhj joined19:42
goldbergus joined19:42
karl_popper left19:42
gdoteof_home left19:44
tizbac joined19:45
ijuma_ joined19:46
artefon left19:46
robinr joined19:47
Tac left19:48
Tac joined19:50
Adaptee left19:50
nanotube left19:51
dharrigan joined19:52
dharrigan left19:52
dharrigan joined19:52
mithro left19:52
zenom_ left19:53
robinbowes wereHamster: I did this: http://pastie.org/126065519:54
I deleted and re-created the github repo, ie. it was empty before I ran those commands19:55
It is now populated as a mirror of the pssh repo19:55
http://github.com/robinbowes/pssh19:55
corni_ joined19:56
chrisshattuck left19:56
dharrigan left19:58
stamina_ joined19:59
corni left19:59
psoo left20:01
erez left20:01
chrisshattuck joined20:01
xiong left20:04
stamina_ left20:04
zombor joined20:05
mithro joined20:05
nanotube joined20:07
dl9pf joined20:07
dl9pf left20:07
dl9pf joined20:07
robinr left20:09
disappearedng_ left20:09
kukks left20:09
erez joined20:15
mbroeker joined20:17
icwiener_ left20:21
njhjhhhhhj left20:26
Heimidal left20:26
sh1mmer joined20:27
andreaa left20:29
joeytwiddle left20:30
fedesilva left20:32
Morasique joined20:35
tildeequals joined20:36
joeytwiddle joined20:37
fedesilva joined20:39
dl9pf_ joined20:41
gilaniali left20:41
dl9pf left20:42
Schmallon left20:44
Schmallon joined20:46
chrisshattuck left20:50
Anti-X left20:51
jmcantrell joined20:54
robinr joined20:55
phryk left20:55
amerine joined20:55
Anti-X joined20:58
whaley joined20:58
bradg0620 joined20:59
robinr left20:59
frakturfreak_ joined21:00
mastro left21:01
hilem joined21:01
zombor left21:01
scarabx joined21:02
fedesilva left21:02
frakturfreak left21:02
gilaniali joined21:03
ch077179 left21:03
opalka joined21:06
alester left21:07
amerine left21:09
ipalindromei joined21:09
bentob0x left21:09
disappearedng joined21:10
kukks joined21:10
Schmallon left21:10
ipalindromei I'm getting this really crazy issue with git 1.7.3.2 on a Mac. It's reporting a png file modified, but the hash value is the same as the previous commit. I tried a commit -av but it reports "no changes added to commit". reset --hard doesn't work either.21:11
nicoulaj left21:11
ipalindromei any pointers would be appreciated.21:11
amerine joined21:12
corni__ joined21:12
Ilari ipalindromei: 'git update-index --refresh' doesn't help?21:12
ipalindromei reports the file as "needs update"21:12
urkud_ left21:13
brothers left21:13
Ilari ipalindromei: In which section does git status report file as modified? Not staged for commit?21:13
MikhX_ joined21:13
mastro joined21:13
ipalindromei "Changed but not updated:"21:13
Ilari ipalindromei: What does 'git ls-files -s' report as hash of that file?21:14
dharrigan joined21:14
dharrigan left21:14
dharrigan joined21:14
ipalindromei here's one really goofy part of it. The file is named www/img/downArrow.png, but the modified report is "modified: www/img/DownArrow.png" (note caps difference)21:14
two files match a grep -i downarrow: 6885... www/img/DownArrow.png, and c385a... www/img/downArrow.png21:15
corni_ left21:15
childermass left21:15
MikhX left21:15
MikhX_MikhX21:16
urkud_ joined21:16
jargan joined21:16
bburhans left21:17
jast left21:17
bburhans joined21:17
bburhans left21:17
bburhans joined21:17
Ilari ipalindromei: What does 'git add www/img/downArrow.png' complain about?21:17
Derander left21:17
ipalindromei no complaint, exits with 0. But git status still reports "changed but not updated"21:17
Morasique left21:18
Derander joined21:18
ipalindromei as further information, ls www/img/ | grep -i downarrow only reports downArrow.png in the directory.21:18
BlueSherpa joined21:20
_iron joined21:20
gilaniali left21:20
gilaniali joined21:21
BlueSherpa I have a 14mb sql file checked into git. It says the file is Unchanged, but it looks like the file was in conflict (because of the various <<<< and >>>> markers spread through the file). Is there a way to fix the conflict and remove the markers or do I have to manually go through the file?21:21
whaley left21:22
Anti-X left21:22
cschneid Is there a good way to manage large binary files inside git? I dont' really want to version them, but I do want them easily available to anybody who grabs the project21:23
frakturfreak_frakturfreak21:23
cschneid versioned shell script "grab_assets.sh" and files hosted on s3 perhaps?21:23
Schmallon joined21:23
BlueSherpa cschneid: I think there's a way to link external projects in git21:23
dharrigan left21:23
BlueSherpa that way grabbing the main project also pulls the others21:23
cschneid BlueSherpa: example large file is a virtual machine image. Or photoshop files w/ mockups.21:24
stuff that wouldn't change often. Version control sucks at binary file diffs... and I certainly wouldn't want a full history of a file21:24
unless I asked for it.21:24
iipalindromeii joined21:25
BlueSherpa cschneid: well, if you want them in git, you can check them into their own repository where they just sit21:25
nicoulaj joined21:25
iipalindromeii Ilari: back, sorry about that. Got disconnected.21:25
BlueSherpa cschneid: otherwise, it sounds like you're trying to include links inside the repository that points to files that reside outside of the repository21:25
cschneid BlueSherpa: yeah. This is more of a workflow question than a git-specific question I suppose.21:26
was wondering how other people handle it21:26
BlueSherpa I've been including mockups in git21:26
Anti-X joined21:26
BlueSherpa not VMs tho21:26
cschneid basically I want to avoid a giant clone, due to a long version history of a file21:26
whaley joined21:26
Ilari iipalindromeii: Perhaps that's because filesystem is case-insensitive?21:26
BlueSherpa makes sense21:26
cschneid BlueSherpa: yeah, we've been making heavy use of Vagrant, with custom VMs... but they get big quickly (several hundred megs), and we're all remote21:27
BlueSherpa cschneid: I think it's a question of whether you're archiving the large binaries21:27
Ilari iipalindromeii: Maybe try 'git rm --cached www/img/DownArrow.png', 'git add www/img/downArrow.png'? But that would be rename...21:27
cschneid BlueSherpa: I wonder if you can set submodules to do a shallow clone21:27
by default21:27
BlueSherpa good question21:27
cschneid so we can still have the full history (disk is cheap), but without the network overhead21:28
BlueSherpa something like - don't follow links or what not21:28
cschneid BlueSherpa: more of "grab the newest version of each file, but no history please"21:28
BlueSherpa cschneid: that's where git externals would come in21:29
just a sec, I'm looking at the command21:29
ipalindromei left21:29
iipalindromeiiipalindromei21:29
cschneid BlueSherpa: git externals? is that the command name?21:29
BlueSherpa I think that's the feature21:30
urkud_ left21:30
BlueSherpa I googled, git external21:30
came up with one link so far http://6brand.com/git-svn-externals-rails-plugins.html21:30
cschneid: looks like the clone command supports a depth option for adjusting the amount of history you grab21:31
cschneid yeah21:31
ipalindromei Ilari: yes, it's case insensitive. My issue is that I need to discard the changes.21:31
cschneid I think the shell script approach may be best. So workflow for a fresh copy of a repo is: git clone host:repo21:31
ipalindromei Ilari: I'm working with a detached head21:31
cschneid then ./fetch_assets.sh21:31
easy enough for a small team21:31
BlueSherpa cschneid: have you thought of using git hooks?21:31
cschneid is there an after_clone hook?21:31
I've only barely scratched hooks21:31
ipalindromei hmm. Actually, your git rm --cached seemed to do the trick. I guess I could commit that then leave the commit dangling somewhere. Lose references to it.21:32
BlueSherpa dunno, but .... git init --bare21:32
that'll create all of the various hook examples21:32
ipalindromei Ilari: okay, I'll work with that. Thanks for the help!21:32
hobodave joined21:32
BlueSherpa I don't see any clone hooks, but maybe the manual will have more available21:33
cschneid: yea, it says post-checkout hook is run after a clone21:33
cschneid BlueSherpa: thanks for looking into this. I have a few ideas for going forward.21:35
BlueSherpa cool, good luck with it =)21:35
cschneid _away21:35
meatcar left21:36
icwiener joined21:38
ipalindromei Okay, still not working. If I remove the files, commit that change, then rebase and drop the change...I immediately get the problem again.21:39
the problem is that the file is checking out as www/img/downArrow.png, but git status is looking for www/img/DownArrow.png21:40
any idea where I could start to look in the code to see where this issue is occuring?21:40
z0mb joined21:41
justin_ left21:41
sh1mmer left21:41
gonemad3 joined21:42
workmad3 left21:42
fismoll8 joined21:43
fismoll8 hello everyone. I am pulling from an svn repo using git-svn. Did two commits, created two patches via git format-patch HEAD~2...but when I run git apply --check my_patches, I get error: patch failed: trunk/vimfiles/ftplugin/latex-suite/mathmacros-utf.vim:2621:44
error: trunk/vimfiles/ftplugin/latex-suite/mathmacros-utf.vim: patch does not apply. What is going on? I have inspected the patchfiles, and they look fine.21:44
kipras joined21:45
gilaniali left21:45
whaley left21:46
whaley joined21:46
little_owl joined21:47
hilem left21:48
hilem joined21:49
hilem left21:49
hilem joined21:50
ShadeHawk left21:54
z0mb left21:55
fedesilva joined21:56
Thell I'm trying to get a --msg-filter to work on adding sign-offs, could someone take a look at http://git.pastebin.com/uFGwWEQT and see if there is an obvious reason this logic works from the command line but not in the sourced script?21:58
looks like it should be simple enough to do, but something is causing it to be different than @ the prompt21:59
One3yed joined21:59
AAA_awright left21:59
little_owl What is a minimal IQ to understand Git? If it a high value, I may stop learning it in advance ... :-(22:00
AAA_awright joined22:00
Thell my test from the command line is: git log -1 | cat && if $(git log -1|grep -q -E '^[[:space:]]*Signed-off-by: '); then echo "Would exit"; else echo; echo "Signed-off-by: "; fi22:00
larsl little_owl: Your IQ must be higher than the number of active branches in your work repository.22:01
Thell lol22:01
larsl Which gives quite some headroom.22:01
little_owl larsl: :-D Ok, I can continue ....22:01
fedesilva left22:03
One3yed left22:06
zombor joined22:07
Micki joined22:08
little_owl I use a git-cvs module. Is it possible to "merge" during the import more CVS modules into one Git reposity?22:09
Micki left22:11
larsl little_owl: You should be able to fetch different CVS modules to different branches and then merge locally. Look at the git-cvs man page, I haven't done any CVS work in a while (thankfully).22:11
cwillu_at_work left22:11
jones- left22:11
little_owl larsl: Thanks for a hint!22:12
cwillu_at_work joined22:12
avar right, import it into git, *then* merge22:13
jones- joined22:13
bhosie joined22:14
chrischambers left22:15
PutrPutr|Away22:16
gonemad3 left22:18
Thell wooot!22:19
golodhrim Happy scary Halloween22:19
Thell Figured out the problem with my filter branch :D Should have used double quote instead of single around the grep22:19
VoiDeT left22:21
little_owl So I have to import every cvs module to its' own git repository, than create a "main" git repository and "git pull" every imported git repository to "main" one. Am I right? Do I lost a possibility to synchronize the code with the original cvs repository?22:23
larsl little_owl: You should be able to import them to different branches in the same repository.22:25
envi joined22:26
scarabx left22:27
little_owl larsl: And synchronize a git branch with the related cvs module ... nice22:27
whaley left22:28
mdel_ left22:28
_iron left22:29
brnt|burnt left22:33
goshawk left22:36
Fullma left22:37
zombor left22:39
ludde3 joined22:43
frogonwheels joined22:43
ofeone left22:43
SIGBUS joined22:44
SIGBUS left22:44
tizbac left22:44
ludde left22:45
kipras left22:46
jmcantrell left22:46
kukks left22:49
dwmw2_gonedwmw2_BOS22:49
ipalindromei left22:50
malumalu left22:50
Thell anyone3on who has setup an alias in msysgit that takes arguments?22:51
BiggFREE joined22:52
Thell I'm trying to setup a filter-branch alias and can't seem to get the correct escaping to have the single quote get parsed correctly for the cmd portion22:53
drizzd_ joined22:53
programble left22:56
drizzd left22:56
wereHamster foo = "filter-branch ... ' ... "22:57
does that not work?22:57
keyvan joined22:58
fismoll8 left22:58
Thell nope, have to do foo = \"!sh -c '...' \" to get virtually any git command alias to run, let alone trying to get an arg in there22:58
keyvan Hi, anyone know how to git clone to particular SHA/commit?22:58
wooden left22:58
programble joined22:59
programble left22:59
programble joined22:59
Thell keyvan: if I undertand correctly you can't unless it is in refs/heads on the remote23:00
keyvan i believe it is, although i dont fully understand refs/heads23:00
wereHamster keyvan:clone one of the branches which includes that commit, then checkout that commit23:00
keyvan i gotta pull every version change of node to find out why its incompatible with socket...... stuck on this issue haha23:01
wereHamster keyvan: clone the whole repo, then use bisect23:01
wooden joined23:01
keyvan wereHamster: that sounds like it may work, reading on bisect now23:01
wereHamster: this is exactly what i needed. thanks23:03
Elfe left23:04
keyvan wereHamster: (assuming i understand it correctly but it looks like it automates what i need :D)23:04
jmcantrell joined23:06
programble left23:06
programble joined23:06
wooden left23:06
EricInBNE joined23:07
fisted_ joined23:07
kpreid left23:07
EricInBNE left23:08
EricInBNE joined23:09
rhct left23:09
basicxman left23:09
rhct joined23:09
petran joined23:12
petran Has anyone ever encountered an "error: git-pull died of signal 4" error while git pulling?23:13
Elfe joined23:13
ari-_-e left23:13
wereHamster signal 4 is SIGILL here23:14
friskd joined23:15
ExtraSpice left23:15
Schmallon left23:16
fisted_ when merging an upstream branch, and a conflict occurs, will the offending file, which i edit to resolve the conflicts, already contain all other non-conflicting changes to it, caused by the merge?23:16
wereHamster yes23:17
petran wereHamster: what do you mean? what is SIGILL?23:17
wereHamster petran: "git-pull died of signal 4" - signal 4 is SIGILL23:17
petran: http://en.wikipedia.org/wiki/SIGILL23:17
petran wereHamster: thanks, reading it23:18
little_owl left23:18
wereHamster 4 is sigill on linux and mac. But I don't know about other platforms23:19
fisted_ wereHamster: woudl you mind taking a short glance at http://penenen.de/weird.png (the actual code is irrelevant). on the left it shows the real differences between me (red) and upstream (green) (i diff'ed those two files manually there). on the right side you can see what a merge does to that file (note that stuff outside the conflict markers is thill the old version :O)23:19
hilem left23:20
petran wereHamster: illegal instruction! (it's on a Mac) that makes me think there might be something wrong with the git installation... hrm...23:21
fisted_ s/thill/still/23:21
wereHamster petran: ehwo did you install git?23:21
fisted_: are you sure the diff is between the two versions you're trying to merge?23:22
mmoya joined23:22
petran wereHamster: I didn't install it. it's for another guy I am supporting. he said he has 1.7.0, that it was working before and now it doesn't... I wonder if he installed anything recently that could mess with git23:22
king313 left23:22
fisted_ wereHamster: i'm sure (double checked) that they both reflect the most recent version in their master branches. what i cannot ensure is that my fetch/merge actually pulls the latest thing23:23
but actually it should23:23
from a clean working directory, i added a remote branch, and fetched it, and merged it into my master branch23:23
wereHamster fisted_: how did you fetch and merge it? And how did you generate the diff?23:25
TSK joined23:25
priidu left23:26
sraue left23:27
fisted_ wereHamster: starting with a clean working directory, i said 'git remote add upstream git://...', then 'git fetch upstream', then 'git merge upstream/master'23:28
wereHamster: i generated the left diff by manually calling diff on copies of that file from my repo, and the upstream repo23:28
i'm currentyl cloning upstream to make sure again23:29
quadz left23:29
quadz joined23:29
opalka left23:30
fisted_ made sure.23:30
bhosie left23:31
fisted_ i'm probably missing something essential to merging23:31
wereHamster: incase you're not short on bandwidth and/or time, could you try to clone my repo and reproduce it?23:31
corni__ left23:32
fisted_ my repo: git://github.com/fisted/tw_tournament.git - upstream repo: git://github.com/oy/teeworlds.git23:32
brosner left23:33
fisted_ what i did in order to merge: http://codepad.org/CEVxhz3X23:34
little_owl joined23:34
nevyn^_ left23:35
ajpiano left23:35
sraue joined23:35
petran wereHamster: do you thing the SIGILL problem can be only caused by a bad installation, or could it be also caused by something wrong in the repo the user is trying to pull from?23:36
wereHamster petran: that has nothing to do with the contents in the repo23:36
little_owl left23:36
petran wereHamster: i guess it doesn't even get the chance to contact the repo.. it dies before that, doesn't it?23:37
icwiener left23:39
sixteneighty joined23:39
chrizz left23:39
wereHamster fisted_: I haev no idea. Ask again in a few hours (or g=during the week), or ask on the mailing list23:43
ajpiano joined23:44
dharrigan joined23:50
dharrigan left23:50
dharrigan joined23:50
fedesilva joined23:50
d0k left23:51
friskd left23:55
jmcantrell left23:55
sh1mmer joined23:58

Logs Search ←Prev date Next date→ Channels Documentation