IRCloggy #git 2014-04-09

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.

2014-04-09

beyondcreed left00:00
john2x joined00:00
mcantor jrnieder: the format string stuff is REALLY confusing...00:01
jcw4 left00:01
zivester joined00:01
MattMaker left00:01
BadProphet left00:01
jcw4 joined00:02
starkhalo left00:03
madewokherd joined00:03
rainmanjam left00:03
harish left00:03
ascarter left00:04
john2x left00:04
_rgn left00:05
vpl left00:05
john2x joined00:05
Favoretti joined00:05
BadProph_ joined00:06
Orbitrix joined00:06
Orbitrix left00:06
VinceZa left00:06
Orbitrix joined00:06
veebers left00:07
SocalNick left00:07
infynyxx left00:07
mcantor jrnieder: I'm confused. Isn't "4-byte" the same as "32-bit"?00:07
_rgn joined00:07
mcantor But the format file says it has a 4-byte version number and then a 32-bit count of indexed entries.00:07
vpl joined00:07
crankyadmin joined00:08
jrnieder char[4] vs int?00:08
who knows what goes through the minds of technical writers00:08
alexbodn joined00:08
blackmesa left00:09
becks__ left00:09
mcantor left00:10
The-Mad-Pirate-2 left00:10
The-Mad-Pirate joined00:10
Neozonz|Disc joined00:11
phy1729 _technically_ bytes don't _have_ to be 8 bits which is why all ehternet and internet stuff uses octet instead00:11
Guest___ left00:12
tokik joined00:12
lithiumjake left00:13
lithiumjake joined00:13
AccessibleWeb joined00:13
veebers joined00:14
shortest_path left00:15
kotopies joined00:15
Orbitrix left00:16
ifdm_ left00:16
BaNzoune1 joined00:17
AccessibleWeb left00:18
lithiumjake_ joined00:18
lithiumjake left00:18
zorbash left00:19
BaNzoune1 left00:19
MattMaker joined00:20
MattMake_ left00:21
Nicholas_Rishel left00:24
lolmaus left00:24
Orbitrix joined00:25
Orbitrix left00:25
Orbitrix joined00:25
przemkovv left00:26
robarell_ joined00:26
MattMake_ joined00:27
MattMaker left00:27
przemkovv joined00:28
johnkevinmbasco joined00:28
MattMaker joined00:29
johnkevinmbasco left00:29
wes8 left00:29
johnkevinmbasco joined00:29
holomorph left00:30
edwardly left00:30
robarell_ left00:30
chiromante left00:30
Cassiel joined00:30
Neozonz|Disc left00:31
b4rbz left00:31
bburky left00:31
MattMake_ left00:31
hahuang65 left00:31
rotta left00:32
edwardly joined00:32
ascarter joined00:34
Eugene If you ever find a byte that isn't 8 bits, its time to consult a psychiatrist.00:35
But also, make no assumptions.00:35
Chaser left00:36
MattMaker left00:36
Chaser joined00:37
dreiss left00:37
MattMaker joined00:37
betelgeu1e left00:39
hyperair left00:39
Neozonz|Disc joined00:41
tacotime left00:41
Nizumzen left00:42
MattMake_ joined00:42
MattMaker left00:42
iron_houzi left00:42
johnkevinmbasco left00:43
BadProph_ left00:43
chiromante joined00:43
variable joined00:43
boombatower joined00:44
guyz left00:46
Skrypter left00:46
zajn left00:47
Foxhoundz left00:48
iron_houzi joined00:48
gdogg left00:49
el3ctron left00:49
Skrypter joined00:50
lithiumjake_ left00:50
BadProphet joined00:51
lithiumjake joined00:51
alexbodn left00:51
MattMake_ left00:51
_iron left00:52
stellarhopper joined00:52
MattMaker joined00:53
WaReZ left00:53
jameswlane joined00:53
b1lly1 joined00:53
jameswlane left00:54
jameswlane joined00:54
Neozonz|Disc left00:55
kotopies left00:56
chiromante left00:57
pbrobst joined00:57
viscera joined00:58
ni__ left00:59
Neozonz|Disc joined00:59
Sabbath joined01:00
hooper joined01:00
Sample joined01:01
SidWu_ joined01:01
SidWu_ left01:01
sohail joined01:02
wrouesnel joined01:03
CKyle left01:05
alexbodn joined01:06
Neozonz|Disc left01:07
veebers left01:07
SamB_ joined01:07
Neozonz|Disc joined01:07
jakobhans joined01:07
veebers joined01:08
Vampire0_ joined01:09
SamB left01:10
Mrono joined01:10
Mrono I'm finally done01:10
My company is now completely on git instead of svn01:10
jcvfen left01:12
Vampire0 left01:12
joki left01:12
chipotle_ left01:13
ashooby Mrono: the fun is only beginning01:14
weiyang joined01:14
AccessibleWeb joined01:14
koda left01:15
ascarter left01:15
xunil left01:15
b1lly1 left01:16
momomomomo left01:17
MattMaker left01:17
MattMaker joined01:17
Dougie187 joined01:18
revyd joined01:18
Deseaus left01:18
revyd left01:18
Sample left01:18
thiago joined01:19
AccessibleWeb left01:19
Goplat joined01:19
Dougie2187 joined01:21
jameswlane left01:21
heedly joined01:22
Klumben joined01:22
heedly I just did a git add -p, and lost most of my changes when I do a diff..01:22
maybe I messed something up, how do I get them back?01:22
alexlindenlevy left01:23
Mrono ashooby: I've been using git for 8 months with subgit in the back01:24
gtmanfred left01:24
zacts joined01:25
Mrono ashooby: and I took the chance before anyone cloned it to clean some binaries out of the history, dropped it from 1.3Gb to 525Mb01:25
zacts I've just discovered tig, it's neat01:25
MattMaker left01:25
Skrypter left01:25
zacts especially since I <3 the cli01:25
ignas joined01:25
gtmanfred joined01:26
Celm left01:26
buzzybron joined01:26
tyreld left01:26
robarell_ joined01:26
ifdm_ joined01:27
MattMaker joined01:27
alexbodn left01:27
ashooby Mrono: hopefully your co-workers will transition into git gracefully01:27
robarell_ left01:28
griotspeak left01:28
ashooby my project recently moved to git and at the beginning people were constantly messing everything up01:28
DolphinDream joined01:28
crankyadmin left01:29
digifiv5e joined01:30
tvw left01:30
digifiv5eGuest3715501:30
SamB_SamB01:31
watabou joined01:31
_ikke_ left01:31
b1lly1 joined01:31
jefflyne left01:33
kballou left01:33
Mrono ashooby: thankfully it's just me and another guy right now01:33
ashooby: and we're using the git flow layout with master/develop protected (gitlab)01:34
minimal possibility for anything major01:34
CKyle joined01:34
_ikke_ joined01:34
astrozyk joined01:35
rfoust_ joined01:36
SamB left01:36
Neozonz|Disc left01:36
SamB joined01:36
ashooby I still stand by what I said earlier :P01:36
crankyadmin joined01:36
Mrono haha01:37
yeah01:37
rfoust left01:37
Mrono I keep a pretty close eye on things since i'm the one who first said 'lets use git' and did everything from beginning to end01:38
Mocramis left01:38
Mrono wrote my own node js deployment server to rsync the files out to production01:38
Mocramis joined01:38
fairuz joined01:39
warbaque left01:39
ascarter joined01:40
sgen joined01:40
jdahm joined01:40
heedly left01:41
teran left01:41
rfoust_rfoust01:42
howitdo left01:42
pheaver left01:42
alexbodn joined01:43
milki cant the clone empty repo warning be disabled?01:43
Garheade joined01:43
Skrypter joined01:43
tmcmahon joined01:43
howitdo joined01:44
b1lly1 left01:44
hyperair joined01:46
BiggFREE left01:47
joki joined01:47
MattMake_ joined01:47
LucasKA left01:48
MattMaker left01:50
dreiss joined01:52
recycle left01:52
recycle joined01:53
ErKa joined01:53
dsdeiz left01:53
MattMaker joined01:53
Ravensdale joined01:54
zumba_addict joined01:54
MattMake_ left01:55
kalypso joined01:55
harish joined01:56
alexlindenlevy joined01:56
zacts left01:58
Celm joined01:58
Ravensdale left01:58
daito joined01:59
pantsman joined02:00
jxpx777 left02:02
jxpx777 joined02:02
MattMaker left02:03
bwreilly left02:03
b1lly1 joined02:03
jxpx777 left02:03
jxpx777_ joined02:03
sohail left02:03
dreiss left02:03
Goles left02:04
Neozonz joined02:04
tmcmahon left02:05
pwnz0r joined02:05
MattMaker joined02:06
bodom left02:06
el3ctron joined02:07
dik_dak left02:08
macrover left02:08
setuid joined02:08
ErKa left02:10
MattMaker left02:11
MattMaker joined02:12
ascarter left02:14
LucasKA joined02:15
AccessibleWeb joined02:15
ezekiel|work joined02:15
jonjon1123 joined02:17
pantsman left02:17
jxpx777_ left02:17
jonjon1123 left02:18
jonjon1123 joined02:19
jaimef left02:19
b1lly1 left02:19
AccessibleWeb left02:19
LucasKA left02:19
jaimef joined02:20
zajn joined02:20
uso left02:21
john2x_ joined02:21
MattMake_ joined02:21
zajn left02:21
dsdeiz joined02:21
MattMaker left02:23
asakura0 left02:23
john2x left02:24
jonjon1123 left02:24
asakura0 joined02:25
phuh joined02:27
phuh left02:27
nayak94 joined02:27
PCChris joined02:29
robarell_ joined02:29
MattMake_ left02:29
PCChris left02:30
Guest49150Guest3579602:30
mizu_no_oto joined02:31
PCChris joined02:31
godgodgodgo left02:31
PCChris left02:32
mieko joined02:32
hellopat left02:33
PCChris joined02:33
PCChris left02:33
robarell_ left02:34
PCChris joined02:35
quazimodo joined02:35
Guest35796 left02:35
PCChris left02:35
hyperair left02:36
PCChris joined02:36
hyperair joined02:36
xjiujiu joined02:36
MattMaker joined02:37
PCChris left02:37
mizu_no_oto left02:37
PCChris joined02:37
nb_bez_ left02:37
GarheadeGarheade|AFK02:38
PCChris left02:38
jenrzzz joined02:38
PCChris joined02:38
Neozonz left02:38
becks__ joined02:38
PCChris left02:39
makubi left02:39
PCChris joined02:39
pbrobst left02:39
PCChris left02:40
Forkk left02:41
MattMaker left02:41
sgen left02:41
Guest_ joined02:41
wrouesnel left02:42
PCChris joined02:42
Celm left02:42
snuffeluffegus joined02:42
Forkk joined02:42
PCChris left02:42
MattMaker joined02:42
Celm joined02:43
PCChris joined02:44
talios joined02:44
becks__ left02:44
makubi joined02:44
PCChris left02:44
diegoviola joined02:45
becks__ joined02:45
Celm left02:45
LucasKA joined02:45
vijay13 left02:46
maestrojed left02:48
cgar left02:49
Skrypter left02:49
BadProphet left02:49
Evanlec left02:49
becks__ left02:49
LucasKA left02:50
Evanlec joined02:50
obert left02:51
alexlindenlevy left02:51
zz_ag4ve joined02:52
rchavik joined02:53
hellopat joined02:53
nayak94 left02:54
nayak94 joined02:54
lindenle joined02:54
fatalhalt joined02:55
ignas left02:55
alvaro_o left02:55
koell left02:58
hellopat left02:58
Seven_Six_Two joined02:59
dmnd left03:00
starkhalo joined03:01
recycle left03:02
robbyoconnor joined03:04
dreiss joined03:05
Mitchbones joined03:05
Cassiel left03:05
BadProphet joined03:06
quazimod1 joined03:09
b4rbz joined03:10
bwreilly joined03:10
maqr left03:10
maqr joined03:11
Guest_ left03:11
luriv joined03:12
TheMoonMaster left03:13
bwreilly left03:14
quazimod1 left03:15
quazimodo left03:15
githogori left03:15
quazimodo joined03:15
ascarter joined03:16
AccessibleWeb joined03:16
eberg left03:16
jakobhans left03:17
jcarouth joined03:17
jstimm left03:18
rchavik left03:18
sethwklein joined03:18
Noldorin left03:19
AccessibleWeb left03:20
zivester left03:21
daito left03:21
pheaver joined03:22
dreiss left03:22
MattMaker left03:22
Seven_Six_Two I'm not sure if I understand how git works. I set up git locally, will my project show up on github automagically?03:23
assuming that git is properly configured?03:23
TheMoonMaster joined03:23
fairuz Seven_Six_Two: Git has nothing to do with github03:24
But of course, you can set your remote to be github03:24
quazimod1 joined03:24
fairuz So that when you push/pull, it will push/pull to/from github03:25
Seven_Six_Two oh, so should I initially create the project on github?03:25
lasserix joined03:25
buzzybron c;ear03:25
alexlindenlevy joined03:25
fairuz Seven_Six_Two: The question is do you want to use github or just git?03:26
Seven_Six_Two ok. I've located a better tutorial. thanks03:26
fairuz If it's the former, yes you need to create project on github03:26
griotspeak joined03:26
Seven_Six_Two I would like to use both together, so that my project has a public face03:26
lindenle left03:27
zivester joined03:27
fairuz Seven_Six_Two: Ok. You can create project on github. Github normally will tell you what to do afterwards (add remote, clone etc)03:27
Seven_Six_Two ok. Now that I know that, at least I can stop fiddling and go read again.03:27
thanks03:28
MattMaker joined03:28
john2x joined03:28
Gamecubic left03:29
robarell_ joined03:30
john2x_ left03:32
jcarouth left03:32
madewokherd left03:33
karthiknayak joined03:34
nayak94 left03:34
FreezingCold left03:34
robarell_ left03:34
eletuchy left03:35
dancat joined03:37
aboba joined03:37
mribeirodantas joined03:37
MattMaker left03:38
LucasKA joined03:38
harish left03:38
fsdldl joined03:38
alexlindenlevy left03:39
pheaver left03:39
MattMaker joined03:41
rchavik joined03:41
yacks left03:42
yacks joined03:43
fairuz left03:45
MattMaker left03:46
Celm joined03:46
fairuz joined03:46
fairuz left03:46
Nicholas_Rishel joined03:46
MattMaker joined03:46
fairuz joined03:47
fairuz left03:48
Celm left03:50
crankyadmin left03:50
robbyoconnor left03:50
MattMaker left03:51
ascarter left03:52
robbyoconnor joined03:52
luc_ joined03:52
Dougie2187 left03:52
Dougie187 left03:55
zajn joined03:56
Ivo joined03:56
EGreg left03:57
l0x3py joined03:57
vien41f joined03:58
vien41f left03:59
kukks left03:59
GT4066 left03:59
githogori joined03:59
daito joined04:00
hooper left04:00
kukks joined04:02
MattMaker joined04:03
weltall left04:03
aspiers left04:04
robustus left04:04
robustus joined04:06
quazimod1 left04:06
quazimodo left04:06
roymiloh joined04:06
dougsland left04:08
karthiknayak left04:08
griotspeak left04:09
Snowball64 joined04:10
Fissure left04:12
Celm joined04:13
mribeirodantas left04:14
Celm left04:15
Garen left04:15
crystal77 left04:15
chrisshattuck joined04:16
AccessibleWeb joined04:16
crankyadmin joined04:17
ascarter joined04:17
daito left04:18
b4rbz left04:19
Garen joined04:19
arietis joined04:20
AccessibleWeb left04:21
rotta joined04:22
MattMaker left04:22
roymiloh left04:22
rockfruit left04:24
beautifulmind joined04:24
Celm joined04:25
harish joined04:28
CKyle left04:29
Sample joined04:31
robarell_ joined04:31
jcarouth joined04:31
Fissure joined04:32
simesy joined04:35
Lemony left04:35
robarell_ left04:35
ril joined04:37
ril hi!04:37
deens joined04:37
ril I cloned of someone's github repo, and had to make some changes to get it to compile on my system04:37
I'd like to contribute them back but I'm not really sure how04:38
DolphinDream left04:39
aboba left04:39
offby1 ril: there are lots of ways, actually04:41
skorgon ril: pretty vague. what is the problem? make your changes in small logical chunks and commit them to your repo. push the branch to your fork on github and oopen a pull request04:42
offby1 ril: with github, an easy an popular way is to use a "pull request". github's documentation has lots of discussion04:42
hellopat joined04:42
ascarter left04:42
anry joined04:42
jeff_04 joined04:42
ril so I made the changes in a read-only clone before I thought to fork the repo04:42
i've committed them on my machine but I'm not sure how to push them back to github04:43
jefflyne joined04:43
ril I think I need to repoint my clone to my fork?04:43
skorgon ril: add your github repo as remote to your local repo (git remote add foo <url>)04:43
MattMaker joined04:44
ril what's foo?04:44
oh, foo<url>04:44
skorgon and then push the branch to that remote with git push foo <local branch>:<remote branch>04:44
an arbitrary name for that remote04:44
Nicholas_Rishel left04:44
skorgon there is a space between foo and <url>04:44
ril oh04:45
fairuz joined04:45
skorgon it's just a name to refer to that remote when you fetch or pull or refer to remote branches of that remote04:45
ril is there a naming convention?04:45
sanjayu joined04:45
skorgon origin is the name of the remote you originally cloned from04:45
other than that, i'm not aware of any04:46
ril ok04:46
skorgon give it a descriptive name, so you know what it is04:46
hellopat left04:46
skorgon the name is just used locally in your repo anyway04:46
ril should it be specific to the change I'm committing?04:46
skorgon well, it refers to the remote, i.e. your github fork of that project04:46
joelm left04:46
skorgon change specific names are rather for branches04:46
ril ok04:46
ok, added the remote04:47
now I need to make a branch?04:47
jenrzzz left04:47
skorgon not necessarily04:47
Rakko joined04:47
skorgon if you used the push syntax i posted a little further above, you can push your local branch under any arbitrary other name - or the same - to the remote04:48
jefflyne left04:48
skorgon but you need to have the changes commited somewhere, ideally based on the latest version of the upstream project04:48
k_sze[work] joined04:48
Rakko If I'm told my master is ahead of origin/master by 3 commits, does that mean it's queried the origin remote to see its newest commit? Or is it just using my local clone of it?04:48
Celm left04:49
k_sze[work] erm, `git push -f` seems to be somewhat dangerous.04:49
skorgon Rakko: just what you already have locally04:49
Rakko ok04:49
ril so git push myRemote04:49
skorgon Rakko: you need to git fetch the remote to actually get remote updates04:49
k_sze[work] Is there a way to configure it so that the repository and branch name are required when I use `git push -f`?04:49
ril and then what, my github URL and then their github URL?04:49
skorgon ril: i'd rather use git push myRemote <local branch>:<remote branch>04:49
ril what goes in the angle brackets04:50
skorgon k_sze[work]: isn't that what happens when you set push.default=none ?04:50
the name of the local branch you want to push and a name of the remote branch you want to push to (doesn't need to exist)04:50
ril do I need to make a branch first?04:51
skorgon k_sze[work]: though that would affect all pushes04:51
ril: locally? you should be on a branch, aren't you?04:51
ril I guess? I have no idea04:51
I git cloned04:51
tried to compile04:51
dancat left04:51
ril noticed some typedefs were broken04:51
fixed them04:51
did git commit -a04:51
skorgon but you can create one04:51
k_sze[work] skorgon: exactly. I want convenience when I do plain `git push`, but more safety when doing `git push -f`04:52
pweaver_ joined04:52
skorgon actually the push command does not need a branch to specify the local side. you can even give it any sha104:52
ril I'm sorry, I do not understand.04:53
Tommy[D]_ joined04:53
Zifre left04:54
ril should I make a branch on github for this pull request?04:54
rook2paw1 left04:54
skorgon the push will create a branch on github.04:55
Rakko 2nd question: I have a repo with a bunch of submodules. I usually do `git submodule update --remote` to update them, which causes changes to be shown in the main repo. But just now I instead did `git submodule foreach 'git co master && git pull'`. It did update several, but now the main repo doesn't show any changes. Why is that?04:55
ril but you said I need to push with a branch name...04:55
Tommy[D] left04:56
skorgon ril: right, but the remot branch will be created04:56
ril oh god04:56
ok, so I need to delete the branch I just made?04:56
snuffeluffegus left04:56
skorgon what branch did you create? but i think no, there shouldn't be any need to remove a branch - other than cleaning up eventually04:57
ril ok04:57
hyperboreean joined04:57
ril so git push <myThing>04:58
now it's just hanging04:58
Sample left04:58
ril I feel so fucking stupid04:59
skorgon you should probably read this https://help.github.com/articles/fork-a-repo05:00
Rakko anyone?05:02
CheckDavid left05:02
ril error: failed to push some refs to 'git@github.com:AprilArcus/vpython-wx.git'05:02
hint: Updates were rejected because the remote contains work that you do05:02
hint: not have locally. This is usually caused by another repository pushing05:02
hint: to the same ref. You may want to first integrate the remote changes05:02
sanjayu left05:02
LucasKA left05:03
anry left05:03
Sample joined05:03
Sample left05:03
Sample joined05:03
bhldev_ left05:03
ril ok. I'll just… delete this fork, and try again?05:03
bhldev_ joined05:04
BadProphet left05:04
sanjayu joined05:04
dreiss joined05:05
chris_thomson left05:05
BadProph_ joined05:06
Rylee left05:06
veebers_ joined05:07
grumbel_ ril, you'll have to first get the changes from remote and merge your changes05:08
either do git fetch; git rebase or git pull05:08
akim left05:08
grumbel_ pull will create a merging commit, while rebase will put your changes on top of the work done in remote05:08
akim joined05:08
Rylee joined05:08
veebers left05:09
pweaver_ left05:09
iamntz joined05:10
ril okay05:10
$ git rebase05:10
Current branch master is up to date.05:10
so current status: no forks, no branches, I have my changes committed into a clone of the master repository.05:11
what do05:11
I feel like I should have made a fork before I started editing anything05:12
but I guess it is too late for that?05:12
jstimm joined05:12
akim left05:12
MattMake_ joined05:13
ariscop joined05:14
daito joined05:14
rgr left05:15
MattMaker left05:15
jeff_04 left05:15
grumbel_ ril: did you do git fetch05:15
Snowball64 left05:15
k4r1m left05:16
pweaver_ joined05:16
grumbel_ you can also fork now, clone that fork, and take your changes to that new clone, if you like05:16
AccessibleWeb joined05:17
ril Permission denied (publickey).05:18
fatal: Could not read from remote repository.05:18
pwnz0r left05:20
ChanServ set mode: +o05:20
MattMake_ left05:21
jceb joined05:21
Eugene changed the topic to: Welcome to #git, the place for git help and Hydra operatives | Current table version: 1.9.1 | Start here: http://jk.gs/git | Getting "cannot send to channel"? /msg gitinfo .voice | Cut off one branch and two more will grow to take its place05:21
Eugene set mode: +v05:21
Eugene set mode: -o05:21
MattMaker joined05:21
grumbel_ ril: uh, seems that your ssh configuration is somehow broken; I wonder why git push worked then, though05:22
AccessibleWeb left05:22
chrisshattuck left05:24
zacts joined05:24
dmnd joined05:25
rook2pawn joined05:26
MattMake_ joined05:28
MattMaker left05:28
marthinal joined05:29
Rakko submodules are hard05:29
I should go shopping05:29
Eugene Rakko - I recommend beer.05:29
Rakko I have whisky only05:30
Eugene And rum. Don't forget rum.05:30
ErKa joined05:30
Rakko I have a repo with a bunch of submodules. I usually do `git submodule update --remote` to update them, which causes changes to be shown in the main repo. But just now I instead did `git submodule foreach 'git co master && git pull'`. It did update several, but now the main repo doesn't show any changes. Why is that?05:30
(I also that did `git submodule update --remote` to see what would happen afterward; seemingly nothing did.)05:30
Devastator left05:31
kayloos joined05:31
robarell_ joined05:32
ril okay, I got it all sorted out!05:32
thanks everyone <305:32
lite_ joined05:32
Eugene Because you're not using enough alcohol to use submodules. Nobody ever is.05:32
Rakko I know05:32
Devastator joined05:32
Eugene (seriously, I have no idea. I hate those things so much)05:32
Rakko But I wannnnnnt to learrrrrn05:32
vijay13 joined05:32
ifdm_ left05:34
starkhalo left05:34
hoschi joined05:34
diegovio1 joined05:35
robarell_ left05:35
MattMake_ left05:36
diegoviola left05:36
nfk joined05:36
diegovio1diegoviola05:36
JerryT left05:37
_5kg left05:37
ferreum joined05:38
jenrzzz joined05:39
diegovio1 joined05:40
endiruna left05:41
diegoviolaGuest2890305:42
diegovio1diegoviola05:42
kayloos left05:42
Guest28903 left05:42
robbyoconnor left05:44
robbyoconnor joined05:45
jaimef left05:46
arunpandianp_ left05:46
diegovio1 joined05:46
arunpandianp_ joined05:46
endiruna joined05:46
jaimef joined05:46
fragamus joined05:46
diegoviolaGuest7754305:47
diegovio1diegoviola05:47
Guest77543 left05:47
tpollard left05:48
Celm joined05:49
viscera left05:50
FilipNortic joined05:50
jekle joined05:52
elbeardmorez joined05:52
ifdm_ joined05:53
Celm left05:53
arunpandianp_ left05:54
kbart joined05:54
Mitchbones left05:54
diegoviola left05:55
robbyoconnor left05:56
arunpandianp_ joined05:56
robbyoconnor joined05:57
wrouesnel joined05:57
mh` left05:58
mh` joined05:59
Macaveli joined05:59
Sample left06:00
Tronsha joined06:01
iamntz left06:01
Sample joined06:01
zumba_ad_ joined06:02
Raging_Hog joined06:02
oojacoboo left06:02
mrjensen joined06:02
arunpandianp_ left06:02
tvw joined06:02
teran joined06:02
arunpandianp_ joined06:03
zumba_addict left06:03
oojacoboo joined06:03
ehmatthes joined06:03
Sleepy63 left06:05
talios left06:05
EminenceHC joined06:06
Sample left06:06
Atrumx joined06:06
papegaaij joined06:06
iamntz joined06:07
qrohlf joined06:07
Exancillatus joined06:07
ryez joined06:07
diegoviola joined06:08
heavystorm left06:08
k4r1m joined06:08
mh`` joined06:09
qrohlf left06:09
mh` left06:09
mh``mh`06:09
dreiss left06:11
lov left06:11
lov joined06:11
Exancillatus left06:11
heavystorm joined06:12
el3ctron left06:12
jluc joined06:12
qrohlf joined06:13
Sicp_ joined06:13
arunpandianp_ left06:14
arunpandianp_ joined06:14
Goplat left06:14
cbreak-work joined06:14
eletuchy joined06:14
a-l-e joined06:16
qrohlf left06:16
EminenceHC left06:16
qrohlf joined06:16
EminenceHC joined06:17
roymiloh joined06:17
Zematix joined06:17
Sicp_ left06:18
Zematixzematis06:18
AccessibleWeb joined06:18
qrohlf left06:19
nilg joined06:19
qrohlf joined06:19
Sleepy63 joined06:19
soerenbf joined06:19
zematis left06:19
qrohlf left06:20
ilmgb_ left06:20
EminenceHC left06:21
_5kg joined06:21
sschonert joined06:22
AccessibleWeb left06:23
draftqin joined06:23
zoso joined06:24
Skrypter joined06:24
kesha joined06:24
soerenbf left06:25
freimatz joined06:26
vurma joined06:27
diegoviola left06:27
Gizburdt joined06:30
hellopat joined06:30
soee joined06:30
diegovio1 joined06:31
aarapov joined06:31
robarell_ joined06:32
weltall joined06:32
diegovio1diegoviola06:33
hellopat left06:34
_iron joined06:35
kesha left06:36
robarell_ left06:36
kesha joined06:37
h0bbit joined06:37
diegoviola left06:38
pikaren joined06:38
rchavik left06:38
jceb left06:39
ORiON-- left06:39
jmd joined06:40
kukks left06:40
obert joined06:41
maestrojed joined06:41
jmd Can someone help me with a submodule problem. I have modified something in a submodule and want to discard those modifications. git checkout -- <submoddir> seems to have no effect. What is the correct way to do it?06:42
veebers_ left06:42
ORiON-- joined06:42
milki go into the submodule dir and git checkout06:42
Rakko I had a question about submodules too, if you'd like to take a shot at it, milki06:43
milki runs away06:43
Rakko ok then :)06:43
milki sobmodules are chasing after us06:43
!ask06:43
gitinfo Yes, it's okay to ask questions here.... in fact, you just asked one! ;-) Pretty much any question is fine. We're not terribly picky, but we might be asleep. Please be patient and you should get an answer soon.06:43
Rakko I know, I know06:43
but last two times I got no answers06:44
I just wanted to warn before spamming the channel06:44
and let you take care of jmd first06:44
jmd milki: Ok Thanks.06:44
fatalhalt left06:46
ORiON-- left06:46
Rakko I have a repo with a bunch of submodules. I usually do `git submodule update --remote` to update them, which causes changes to be shown in the main repo. But just now I instead did `git submodule foreach 'git co master && git pull'`. It did update several, but now the main repo doesn't show any changes. Why is that?06:46
(I also that did `git submodule update --remote` to see what would happen afterward; seemingly nothing did.)06:46
milki what did main repo show _before_ you did that?06:47
dreiss joined06:48
Rakko it was clean06:48
milki and the checkout and pull showed changes?06:48
AccessibleWeb joined06:49
ORiON-- joined06:49
Rakko yes06:49
in a few submods06:49
Rastus_Vernon left06:49
Rakko submodules are strange magic06:50
milki shrugs06:50
jagob joined06:50
Celm joined06:50
xificurC joined06:50
Rakko hmm06:50
milki maybe the local masters were not up to date but the checked out repo before you co were06:50
Rakko yeah06:50
jmd Rakko: submodules are an abomination - they should never have been put into git.06:50
Rakko but they were ;)06:51
milki the idea is pretty logical though06:51
veebers joined06:51
Rakko all I want is for my main repo to track external repos by either tag or branch tip or commit id06:51
I did clone my repo into another directory and checked all the submodule commits and they were up to date there06:52
mishok13 joined06:52
Rakko I just have no idea where those commit ids are stored in git06:52
milki they are stored in the tree itself06:52
git ls-tree HEAD -- path/to/submodule06:53
mbrgm joined06:53
Rakko but they aren't in /.gitmodules06:53
milki correct06:53
jenrzzz left06:53
AccessibleWeb left06:53
milki that only tells git where to fetch the submodules from06:53
Rakko so presumably they're in /.git/modules/...06:53
lite_ left06:53
Dudi joined06:53
milki o ya, i forgot that existed...06:53
jenrzzz joined06:53
milki wonders whats in there06:53
lite_ joined06:54
Celm left06:54
hd1 joined06:54
diegoviola joined06:55
gitinfo set mode: +v06:55
ErKa left06:55
xificurC_ joined06:56
roymiloh left06:56
hooper joined06:57
hooper left06:57
draftqin left06:57
xificurC left06:57
Kingsy left06:57
anry joined06:58
dmnd left06:58
harish left06:58
earth left06:58
Kneferilis joined06:58
Exancillatus joined06:59
kukks joined06:59
kukks left06:59
kukks joined06:59
harobed joined07:00
Mendenba_ joined07:00
jenrzzz left07:00
m0nkmaster joined07:01
luriv left07:01
Mendenbarr left07:01
jenrzzz joined07:02
ehmatthes left07:02
pwnz0r joined07:02
BadProph_ left07:04
talios joined07:04
talios left07:04
talios joined07:05
talios left07:05
talios joined07:05
talios left07:05
pduin joined07:06
thiago left07:06
talios joined07:06
jceb joined07:06
dreiss left07:06
zumba_ad_ left07:07
hkon_ joined07:07
shruggar joined07:07
boombatower left07:08
Exancillatus left07:08
Xethron joined07:08
ifdm_ left07:09
thevishy joined07:09
ghostlines joined07:10
ifdm_ joined07:10
rockfruit joined07:11
rob_w joined07:11
soerenbf joined07:11
LucasKA joined07:11
zumba_addict joined07:11
obert left07:11
Exancillatus joined07:12
skasturi left07:13
xjiujiu left07:13
w41 joined07:13
w41 left07:13
w41 joined07:13
Gizburdt left07:13
draftqin joined07:13
stodan joined07:14
Rakko left07:14
Gizburdt joined07:14
skasturi joined07:14
soerenbf left07:15
skasturi left07:17
skastur1 joined07:17
Neon1024 joined07:18
skastur1skasturi07:18
MafooUK joined07:18
freestyl3r joined07:18
teran left07:18
teran joined07:19
blackmesa joined07:19
jnavila joined07:19
mishok13 left07:20
alorence joined07:20
BadProphet joined07:21
ruskie left07:21
thierryp joined07:22
jargon joined07:22
teran left07:23
mikecmpbll left07:27
Sonderblade joined07:27
Sonderblade left07:28
Sonderblade joined07:28
mishok13 joined07:28
sonicblud left07:29
codeurge joined07:29
shruggar left07:29
kalypso left07:30
Xethron left07:30
john2x left07:30
m0nkmaster left07:31
Sonderblade Say someone has rebased a branch I also have locally. How can I check if I have local commits not contained in the other persons rebased branch?07:31
hd1 left07:32
john2x joined07:32
losted left07:32
osse Sonderblade: git cherry07:33
I think07:33
robarell_ joined07:33
losted joined07:33
jast git cherry compares the patches, so depending on how much rebasing has happened it won't detect all commits with equivalent changes07:33
kay______ test07:35
soerenbf joined07:35
skorgon left07:36
setuid left07:36
asakura0 left07:36
Sonderblade osse: the commits that command list are already part of the rebased branch07:36
kay______ i'd lose my HEAD if it wasn't detached07:36
beautifulmind left07:37
skorgon joined07:37
robarell_ left07:37
Exancillatus left07:37
asakura0 joined07:37
blackmesa left07:38
m0nkmaster joined07:39
osse Sonderblade: I'm not entirely sure how to use git-cherry; you'll have to look it up. Other than that, jast has a point. If you're unlucky you'll have to do it by hand07:39
Sonderblade osse: that sucks. cant i just tell git to treat commits with the exact same author, commit message and timestamp to be the same?07:41
Vampire0_Vampire007:42
Vampire0 Sonderblade, if the commits have the same diff, git cherry should see them as the same. But if you rebase it can happen that there are conflicts along the way that get resolved07:42
And then it is not seen as the same commit anymore07:42
ruskie joined07:43
LucasKA left07:43
lb1a joined07:43
Exancillatus joined07:44
Sonderblade Vampire0: yes but git is wrong, it is "the same commit" for all intents and purposes07:45
einonm left07:45
einonm joined07:45
ggherdov_ left07:45
ggherdov_ joined07:45
ggherdov_ left07:45
ggherdov_ joined07:45
Seven_Six_Two left07:46
osse Sonderblade: git-cherry outputs all commits with a + or a - in front07:46
how many +'es were thereP?07:46
francisfish left07:47
Exancillatus left07:48
Sonderblade osse: 107:48
osse that means there is only one commit that Git thinks you have that is not in the rebased branch07:49
Vampire0 Well RTFM then :-) (man git cherry)07:49
gitinfo the git-cherry manpage is available at http://jk.gs/git-cherry.html07:49
ngladitz joined07:50
ArSn joined07:50
akiva joined07:51
kay______ BC07:52
5*507:52
lavong joined07:52
Balliad joined07:55
sschonert left07:55
Stalkr_ joined07:55
Stalkr_ left07:55
Stalkr_ joined07:55
m0nkmaster left07:56
sschonert joined07:56
BiggFREE joined07:56
maestrojed left07:57
Kicer86 joined07:57
Sonderblade osse: the only diff in the commits is that one has a \ No newline at end of file message and the other doesn't. there was no rebase conflict07:57
ORiON-- left07:57
Exio4 left07:58
Exio4 joined07:59
osse As far as Git is concerned then it's different commit08:00
ORiON-- joined08:00
osse anyway, it was just the one commit you had to inspect manually. So you're done08:00
psoo joined08:00
Kingsy joined08:00
Kingsy if I have a git diff.. can I commit those changes into a file?08:01
sdouglas joined08:01
Skrypter left08:02
mikecmpbll joined08:02
Error404NotFound joined08:03
osse Kingsy: what do you mean?08:03
akheron Kingsy: git apply08:03
matteo joined08:03
RagBal left08:04
sweetyReaper joined08:04
Kingsy osse: well, I am looking at the history of a branch. I can see the various changes made to various files in the commit history, however for one specific file there is like 500 changes. If you view the file in the commit history it gives you a diff... I need to implement the same changes made in that commit on that file, to another file in another repo08:04
rockfruit left08:04
lavong left08:04
lavong joined08:05
tobiasvl Kingsy: http://ariejan.net/2009/10/26/how-to-create-and-apply-a-patch-with-git/08:05
Kingsy tobiasvl: but its not a .patch, its a diff08:05
or is that the same thing?08:05
tobiasvl but you can create a patch from the diff08:05
osse Kingsy: the default git-diff output is a valid patch08:05
Kingsy oh great08:06
pweaver_ left08:06
b1lly1 joined08:07
sdouglas left08:07
ril left08:09
Kingsy it just says patch does not apply when you --check it08:09
winny left08:09
tureba left08:09
ariscop left08:09
winny joined08:09
tobiasvl Kingsy: sure you chose the right revision? it matches the other file somewhat?08:10
Kingsy tobiasvl: yeah, at least it should, perhaps I just have to do this manually..08:10
it'll take ages :(08:10
tureba joined08:11
kotopies joined08:11
losted left08:11
Mrono left08:11
tobiasvl Kingsy: naw man, that shouldn't be necessary08:11
amcsi_work joined08:12
osse Kingsy: did you do git diff foo bar -- path/to/file? So that you get the exact patch?08:13
cebor left08:13
ORiON-- left08:13
pwnz0r left08:13
Kingsy osse: I got the diff from gitg08:13
osse and copy-pasted it?08:14
Kingsy yeah08:14
RagBal joined08:14
osse then all sorts of things can go wrong, wrt. formatting, whitespace etc.08:14
Kingsy well you can export the entire commit as a patch but that didnt work either.08:16
losted joined08:16
Silmarilion joined08:16
teran joined08:16
osse maybe it simply doesn't apply08:16
shruggar joined08:16
osse if you export the entire commit then you get changes to other files as well08:17
Kingsy yeah which is fine08:17
cebor joined08:17
Kingsy but they all say patch does not apply08:17
osse in that case you can use git-cherry-pick08:17
Octalot joined08:17
soerenbf left08:17
hellopat joined08:18
Keridos_offKeridos08:19
wrouesnel2 joined08:19
soerenbf joined08:20
ORiON-- joined08:22
endiruna left08:22
b1lly1 left08:22
soerenbf left08:22
hellopat left08:22
jameswlane joined08:23
Xethron joined08:23
Xethron left08:23
Xethron joined08:23
m0nkmaster joined08:24
PeterBooker joined08:24
Kingsy osse: loads of errors like this --> http://pastie.org/903239408:24
kukks left08:25
kotopies left08:25
tobiasvl Kingsy: and is that text present in the file?08:25
osse Kingsy: what command did you run?08:26
ORiON-- left08:26
kermit left08:26
blinkdesign joined08:27
kermit joined08:27
rockfruit joined08:28
soerenbf joined08:29
hkon_ left08:29
ilmgb joined08:30
psoo left08:30
Kingsy tobiasvl: yes08:31
moritzs joined08:31
Kingsy osse: git apply -v --checkout 001patch.patch08:31
oops08:31
--check not --checkout***08:31
haha08:31
Leoneof left08:32
Dudi left08:32
vijay13 left08:33
robarell_ joined08:34
BiggFREE left08:34
pairofdice joined08:35
Leoneof joined08:35
osse try git-cherry-pick08:35
wrouesnel2 left08:35
ggherdov_ggherdov08:36
Segfault_ left08:36
rath joined08:36
Dudi joined08:37
ifdm_ left08:37
tgummerer joined08:37
robarell_ left08:38
ifdm_ joined08:38
Leoneof left08:40
sgronblo joined08:40
AccessibleWeb joined08:40
Leoneof joined08:41
slax0r joined08:41
welly joined08:41
gain joined08:41
vurma left08:42
spacepluk joined08:43
vurma joined08:44
m0nkmaster left08:45
user258467 joined08:46
AccessibleWeb left08:46
AccessibleWeb joined08:47
simesy left08:47
arietis left08:47
m0nkmaster joined08:47
HelperW joined08:50
Accessib_ joined08:50
Celm joined08:51
AccessibleWeb left08:51
arietis joined08:51
Celm left08:55
proycon left08:57
delight joined08:58
alansaul-laptop left08:58
SilverBln joined09:01
MafooUK left09:02
MafooUK joined09:02
francisfish joined09:03
SilverBln left09:03
chipster left09:05
ezekiel|work left09:05
chipster joined09:05
asakura0 left09:06
m0nkmaster left09:06
Kayra joined09:07
hkon_ joined09:08
asakura0 joined09:08
frobware left09:09
JohnBat26 joined09:10
weiyang left09:12
whitebone joined09:13
whitebone left09:14
dannymichel joined09:14
ni__ joined09:14
devoldmx left09:16
moberberger joined09:16
Nizumzen joined09:17
simesy joined09:17
Stalkr_ left09:18
BadProphet left09:19
fsdldl left09:19
Gizburdt left09:20
Kyle____Kyle09:21
KyleGuest4421709:21
delight left09:22
canton7-mac joined09:22
frobware joined09:23
lite_ so something like .foo:hover .bar {} ?09:23
m0nkmaster joined09:23
Guest44217Eliz09:23
masak_ left09:24
jnavila left09:24
simesy left09:25
Joost` left09:26
nnyk_ joined09:26
eletuchy left09:26
eletuchy joined09:26
eaj joined09:27
Joost` joined09:27
delight joined09:28
nnyk_ left09:30
eletuchy left09:31
Nizumzen left09:32
carbon joined09:32
lasserix left09:34
Accessib_ left09:34
RaptorJesus left09:34
robarell_ joined09:34
AccessibleWeb joined09:34
jnavila joined09:35
BadProphet joined09:36
W0rmDr1nk joined09:36
mrjensen left09:36
mrjensen joined09:36
h0bbit left09:36
aspiers joined09:37
djh_djh09:37
Naeblis joined09:38
djh Is there an easy way to get a git equivalent of "ls -l" so I can check when all the files in the current directory were last updated in git?09:38
Turicas left09:38
robarell_ left09:38
grasshopyx joined09:39
canton7 djh, something like this? http://serverfault.com/a/401450 you might want to skip the -r09:40
deepy left09:40
djh canton7: Looks good, ty09:40
simesy joined09:40
tokik left09:41
deepy joined09:41
deepyGuest5930009:42
carbon left09:42
kesha left09:42
grasshopyx left09:43
nnyk_ joined09:43
blinkdes_ joined09:43
blinkdesign left09:44
LeMike joined09:44
luriv joined09:45
endiruna joined09:45
deens left09:46
WaReZ joined09:46
variable left09:47
user258467 Hi I noticed that now when I do a git merge it tells me to identify myself by configuring user.email and user.name before I haven't to do that. Why now it asked me that? is it because the merge is not fast-forward? and there is conflict?09:48
hkon_ left09:49
flexd left09:49
ezekiel|work joined09:49
_ikke_ Yes, probably. If earlier you only did ff merges, and no comitting09:49
flexd joined09:50
Gizburdt joined09:50
jluc left09:50
simesy left09:51
SLY1986 joined09:52
Gizburdt left09:52
Gizburdt joined09:52
AccessibleWeb left09:54
user258467 _ikke_, thanks I think I relaized I made a commit for a .gitignore change normally I wouldn't do any commit in this working copy because it is not its purpose (I do only git fetch and git merge on it) but I made the mistake, how do I to merge with fast-forward now, I already git reset --soft to the revision before the commit mistake09:54
AccessibleWeb joined09:55
Macaveli left09:55
fairuz left09:55
simesy joined09:55
jmd left09:55
jluc joined09:56
francisfish left09:58
user258467 in brief I would like to have an exact working copy of the origin, I know I remove the directory and do a git clone but it is not really a good practice09:58
kotopies joined09:59
francisfish joined10:00
Hounddog joined10:01
tave joined10:01
variable joined10:01
Sicp joined10:03
Sicp left10:03
Sicp joined10:03
mrjensen left10:03
ilmgb left10:03
soerenbf left10:04
sdouglas joined10:04
gitinfo set mode: +v10:06
tave hi - hope someone can help me. i have problems using cygwin with git under windows with changed file permissions. when i am going to checkout another branch were a file has changed file permissions, git tries to add the file again to my working copy instead of changing to file permissions. git is filing with error: unable to create file bar/foo (File exists). I have already tried to set the option core.filemode=false, but nothing changes10:06
Vampire0 user258467, maybe "git reset --hard @{u}"? It should reset the current branch to its upstream branch.10:06
hellopat joined10:06
tave when i am using windows git client everything works as expected. Has anyone an idea what is going wrong - or can i provide some more information?10:06
Accessib_ joined10:07
W0rmDr1nk left10:07
m0nkmaster left10:07
W0rmDr1nk joined10:07
simesy left10:08
Accessib_ left10:08
Vampire0 tave is this really a permission thing, or do the two files have differences in case?10:08
Raging_Hog left10:08
Vampire0 As windows is case insensitive, this could be a problem10:08
Accessib_ joined10:08
hkon_ joined10:09
sdouglas left10:09
Gizburdt left10:09
jenrzzz left10:09
kotopies left10:10
AccessibleWeb left10:10
tave hi Vampire0 - in fact it is a binary file of same size. The only thing i can see is a changed user permission10:10
qknight after git push origin :foo i get '- [deleted] foo', running it again it says that it has been deleted. now i run 'git branch -l' and it still shows that branch. also GITLAB still shows it, why?10:10
maybe i have to make git init and push -f first to get rid, but that is probably a bit brutal10:10
kotopies joined10:11
hellopat left10:11
ifdm_ left10:11
tave hey qknight - as far as i know git push origin :foo deltes the remote branch. if you want to delete you local branch you have to do git branch -d foo10:11
or you can try git fetch -p10:12
qknight tave: yes, but git branch -r still shows them ;P10:12
Accessib_ left10:12
dilfridge left10:13
qknight solution: http://stackoverflow.com/questions/5094293/git-remote-branch-deleted-but-still-appears-in-branch-a10:13
Vampire0 qknight, yeah, just as tave advised you ;-)10:14
git fetch -p will also do the pruning10:14
Mrono joined10:14
Vampire0 hence the -p10:14
WaReZ left10:14
ilmgb joined10:15
AccessibleWeb joined10:15
qknight Vampire0: but i don't want to delte the local branch10:15
Vampire0: i just wanted to delete all the remove branches10:16
s/remove/remote10:16
Vampire0 [12:12:07] <+tave> or you can try git fetch -p10:16
That doesn't delete any local branch10:16
It prunes the non-existing remote branches10:16
man git fetch10:16
gitinfo the git-fetch manpage is available at http://jk.gs/git-fetch.html10:16
Vampire0 You can prune with git fetch and with git remote, doesn't make much difference10:17
dilfridge joined10:17
Vampire0 You can of course delte a remote branch manually too, but usually that's not what you want10:17
Sander^home left10:17
jstimm left10:17
xlinkz0 joined10:18
przemkovv left10:18
RaptorJesus joined10:19
Raging_Hog joined10:20
WaReZ joined10:20
ORiON-- joined10:20
przemkovv joined10:20
tave shouldn't git ignore file permission for diffs when core.filemode=false is set?10:22
Vampire0 I think so10:22
beautifulmind joined10:22
Vampire0 besides that only the execute permission of the user part is considered anyway10:22
that's why I thought it might be a casing problem, not a permissions problem10:23
tave the sad story is - the executable flag changed ;) - when i am making a diff on the two different version of the filles git recognizes the different executable permission10:23
i think this is what causes me trouble - but i don't get why git is looking at the file permission, because core.filemode is set to false10:24
francisfish left10:25
przemkovv left10:26
eletuchy joined10:27
przemkovv joined10:28
nnyk_ left10:29
veebers left10:30
Sander^home joined10:31
eletuchy left10:32
Gizburdt joined10:33
DoniRS joined10:34
runn joined10:35
jatt joined10:35
robarell_ joined10:35
hyperair left10:36
dgeary2 joined10:36
ifdm_ joined10:37
Sabbath left10:37
mrjensen joined10:37
aarapov left10:37
jatt left10:38
jatt joined10:38
m0nkmaster joined10:38
francisfish joined10:38
robarell_ left10:39
LucasKA joined10:40
optixx joined10:41
vtunka joined10:41
Vampire0 tave, I think core.filemode is only considered when adding changes to the index10:42
If there are recorded changes they are still applied10:42
but this should work fine usually10:42
buzzybron left10:42
nayak94 joined10:42
SLY1986 left10:43
HelperW left10:43
HelperW joined10:44
LucasKA left10:45
tave Vampire0: maybe it is not a problem about the file permission. but what still irritates me is that it is working fine for windows git client. but the cygwin git client causes me problems.10:45
napcae joined10:45
daedeloth joined10:45
tave is there any way to get some more information what causes git trouble - like debug output or something like that?10:45
Wizek joined10:46
Gizburdt left10:47
Vampire0 Maybe because windows doesn't care about executable permissions?10:48
Gizburdt joined10:48
HelperW left10:48
nnyk_ joined10:49
tave at least i have read - that the windows git-client is by default compiled with config.filemode=false10:49
so this is one difference i know10:49
daito left10:49
kesha joined10:50
w41 left10:50
stamina joined10:51
ilmgb left10:51
soerenbf joined10:52
jameswlane left10:53
arietis left10:55
Kayra left10:56
monbro joined10:56
yacks left10:56
glebihan joined10:56
nayak94 left10:57
thierryp left10:57
AccessibleWeb left10:57
AccessibleWeb joined10:58
diegoviola left10:58
k_sze[work] left10:58
paulweb515 left11:00
Gizburdt left11:00
rnsanchez joined11:00
teran_ joined11:01
arietis joined11:01
kotopies left11:01
Error404NotFound left11:01
AccessibleWeb left11:02
watabou left11:02
luc_ left11:03
w41 joined11:04
teran left11:04
shruggar left11:04
shinnya joined11:05
optixx left11:06
HelperW joined11:06
Wizek left11:08
sohail joined11:10
Wizek joined11:11
astrozyk left11:11
w41 left11:12
k4r1m left11:14
AccessibleWeb joined11:14
AccessibleWeb left11:15
rockfruit left11:15
HelperW_ joined11:15
draftqin left11:15
AccessibleWeb joined11:15
Gizburdt joined11:16
HelperW left11:17
yacks joined11:18
simesy joined11:18
AccessibleWeb left11:20
moberberger_ joined11:21
thierryp joined11:21
harobed left11:21
dualmal left11:21
mellernoia joined11:21
simesy left11:23
moberberger left11:23
Kayra joined11:24
thierryp left11:25
VinceZa joined11:26
Entomo left11:27
chimay joined11:28
ilmgb joined11:28
eletuchy joined11:28
samsamm777 joined11:28
glebihan left11:29
jargon left11:30
simesy joined11:30
simesy left11:31
ilmgb left11:31
kriks joined11:32
nuck left11:32
eletuchy left11:32
LeMike left11:32
rockfruit joined11:33
BadProphet left11:34
Gizburdt left11:34
nuck joined11:35
davispuh joined11:35
BadProph_ joined11:36
robarell_ joined11:36
VinceZa left11:36
nkr joined11:37
simesy joined11:37
VinceZa joined11:38
matheus23 joined11:38
Gizburdt joined11:39
simesy left11:40
Wizek left11:40
robarell_ left11:41
AccessibleWeb joined11:41
msafi1 joined11:41
msafi left11:41
zz_chamunks left11:41
mrjensen left11:42
robustus left11:42
mrjensen joined11:42
zz_chamunks joined11:42
Wizek joined11:43
robustus joined11:43
Joost` left11:43
samsamm777 left11:44
raven-au left11:45
shruggar joined11:45
voxadam left11:47
raven-au joined11:47
Joost` joined11:47
ignas joined11:47
rfoust left11:49
jenrzzz joined11:49
diegoviola joined11:49
tokik joined11:50
daito joined11:50
dsdeiz left11:51
pikaren left11:51
jenrzzz left11:51
ni__ left11:52
Celm joined11:52
Neon1024 left11:54
Luke-Jr left11:54
Luke-Jr joined11:55
bwaxxlo joined11:55
teran_ left11:56
user258467 Vampire0, thanks for answer what is exactly @{u}?11:56
bwaxxlo how do I do pattern matching in git?11:56
msafi1 left11:56
Celm left11:57
jamieshepherd joined11:57
bwaxxlo say I have folders "/PersonOne", "/PersonTwo" & "/PersonThree"11:57
I want to avoid tracking files in all folders starting with "/Person.."11:57
msafi joined11:58
daito left11:58
Vampire0 user258467, man git rev-parse11:58
gitinfo user258467: the git-rev-parse manpage is available at http://jk.gs/git-rev-parse.html11:58
harobed joined11:58
bwaxxlo how do I do pattern matching in git?11:59
say I have folders "/PersonOne", "/PersonTwo" & "/PersonThree"11:59
I want to avoid tracking files in all folders starting with "/Person.."11:59
Neon1024 joined11:59
gain left11:59
watabou joined11:59
Vampire0 bwaxxlo, man git ignore11:59
gitinfo bwaxxlo: the git manpage is available at http://jk.gs/git.html11:59
francisfish left12:00
Vampire0 hm, no, thats not right12:00
zumba_addict left12:00
Vampire0 bwaxxlo, man gitignore12:00
gitinfo bwaxxlo: the gitignore manpage is available at http://jk.gs/gitignore.html12:00
Vampire0 ah, that should be it12:00
goTAN joined12:00
nbouscal joined12:00
AccessibleWeb left12:01
bl4ckdu5t left12:01
canton7-mac left12:01
AccessibleWeb joined12:01
francisfish joined12:01
canton7-mac joined12:01
dgeary2 left12:02
AccessibleWeb left12:02
AccessibleWeb joined12:03
LBV_User joined12:03
diegoviola left12:03
bartman`` joined12:03
watabou left12:03
m0nkmaster left12:04
aspiers left12:04
j0ran left12:05
ignas left12:05
tmcmahon joined12:05
CheckDavid joined12:07
rob_w left12:07
Joost` left12:07
lasserix joined12:08
Kayra left12:08
talios left12:08
Wizek left12:09
bwaxxlo Vampire0: still doesn't help12:09
I was actually reading the same page under a different domain12:09
gua_ould joined12:09
ferreum left12:10
bwaxxlo I guess it's using regex like patterns which is slightly complicated when used with git12:10
raven-au left12:10
bremner bwaxxlo: it's not regex but "file globs", which are simpler12:11
jast /Person*12:11
done!12:11
bremner and then yeah, there are complications specific to gitignore12:11
LeMike joined12:11
bwaxxlo jast: you fookin genius12:11
it's so simple it's stupid12:12
francisfish left12:12
jast sorry to disappoint :}12:12
bwaxxlo nah! it worked12:12
fanno joined12:12
dragon3_ joined12:12
bartman`` left12:12
bwaxxlo I tried ** before but never thought * alone would work12:12
Guest___ joined12:12
bwaxxlo jast: cheers man...12:13
jast typically the difference is that ** matches arbitrary depths, whereas * matches only one component12:13
rfoust joined12:13
jast in git, whenever a pattern matches some directory, git never even looks at the stuff below it12:13
so * is sufficient for most things12:13
vtunka left12:14
jenrzzz joined12:14
tmcmahon left12:14
mrjensen left12:15
pwnz0r joined12:15
meibumei joined12:15
Macaveli joined12:15
dragon3_ left12:15
rfoust left12:16
jenrzzz left12:16
mrjensen joined12:16
teran joined12:16
bwaxxlo_ joined12:17
callmeDarwin joined12:17
armin joined12:18
armin is my assumption correct, that the only reason one would do a "git rebase master" after a "git pull origin master" is to kindof hide the merge commit in the log?12:18
momomomomo joined12:18
Vampire0 bwaxxlo, this is Git, not Ant. ;-)12:19
pwnz0r left12:19
juliohm joined12:19
meibumei left12:19
bwaxxlo left12:19
raven-au joined12:19
tobiasvl armin: yes, in a way - you don't create a separate merge commit12:20
jast armin: I can't think of any *sane* reason to use that combination12:20
tobiasvl armin: http://git-scm.com/book/ch3-6.html12:20
Wizek joined12:20
Vampire0 essentially the rebase will always be a no-op after the merge, wouldn't it?12:20
bwaxxlo_ left12:20
xunil joined12:20
sig joined12:20
Vampire0 s/wouldn't/wont/12:21
tobiasvl Vampire0: after the merge, yes, sure12:21
sig hi, can I git stash apply -- just_a_single_file ?12:21
tobiasvl then there's nothing to merge12:21
harish joined12:21
ndngvr joined12:21
sig it says no valid stash state found12:21
can I cat a file from a revision?12:21
jast sure12:21
sig something like git cat stash{0} myfile.txt12:22
jast git cat-file blob <commit>:path/to/file12:22
sig blob...12:22
tobiasvl jast: git show vs git cat-file?12:22
jast in this case? no difference, except show uses a pager by default if you don't redirect its output12:22
ferreum joined12:23
sig hmmh... how do I get the blob12:23
Kneferilis left12:23
sig also, why isn't commit (stash{0}) and path/to/file enough...12:23
jast the difference is more interesting for other object types, where cat-file gives you the raw form by default and show formats it12:24
sig: the literal word 'blob'12:24
sig :D aight12:24
lasserix left12:25
sig jast: tanks!12:26
eletuchy joined12:26
simesy joined12:26
paulweb515 joined12:30
moritzs left12:30
paulweb515 left12:30
paulweb515 joined12:30
eletuchy left12:31
bwaxxlo joined12:31
Guest___ left12:32
bwaxxlo irc was being stubborn12:32
Lemony joined12:33
emergion joined12:34
stamina left12:34
emergion left12:34
freestyl3r left12:35
cgar joined12:35
davividal joined12:36
Joost` joined12:36
IrishPrime joined12:36
VinceZa left12:37
robarell_ joined12:37
Lemony left12:40
_tpavel joined12:40
Joost` left12:41
wrouesnel left12:41
robarell_ left12:41
ldiamond_ left12:41
a-l-e left12:44
duckydan left12:44
ni__ joined12:45
dsdeiz joined12:45
francisfish joined12:46
netcarver left12:47
ayaz joined12:47
Droolio joined12:48
Joost` joined12:48
jackneill joined12:49
cannonball joined12:50
Xethron left12:51
nkr left12:52
Xethron joined12:54
shinnya left12:54
dougsland joined12:55
thiago joined12:56
ilmgb joined12:58
a-l-e joined12:59
FreezingCold joined12:59
ahf left12:59
ahf joined13:01
nbouscal left13:01
Guest59300 left13:02
Guest59300 joined13:02
Guest59300deepy13:02
ilmgb left13:03
prosana joined13:04
rfoust joined13:04
h0bbit joined13:04
l_casawi99 joined13:04
jxpx777 joined13:05
l_casawi99 left13:06
polyzen joined13:06
crystal77 joined13:07
VinceZa joined13:08
matteo left13:08
AccessibleWeb left13:08
pilif left13:09
pilif joined13:09
j0ran joined13:09
moberberger_ left13:09
AccessibleWeb joined13:09
AccessibleWeb left13:11
xificurC_ left13:11
AccessibleWeb joined13:11
MattStratton joined13:11
Droolio left13:12
MattStratton left13:14
livingstn joined13:15
Kayra joined13:15
cjwilburn joined13:15
MattStratton joined13:15
FortySix2 joined13:16
vtunka joined13:17
hellopat joined13:17
FortySix2 left13:18
thiago left13:18
FortySix2 joined13:19
Devastator left13:20
Devastator joined13:20
PeterBooker left13:20
xificurC joined13:21
francisfish left13:21
PeterBooker joined13:22
hellopat_ joined13:23
jcvfen joined13:23
murosai im trying to integrate meld into git and i ran git config --global diff.external meld, git diff file still opens the regular diff however13:24
francisfish joined13:24
kamal_ left13:25
hellopat left13:25
paul424 joined13:25
canton7-mac murosai, were you after man git difftool ?13:25
gitinfo murosai: the git-difftool manpage is available at http://jk.gs/git-difftool.html13:25
rockfruit left13:25
kamal_ joined13:26
clone1018 joined13:26
Joost` left13:26
Vampire0 probably :-)13:26
Mitchbones joined13:26
paul424 I just don't know how to exchange one file13:27
eletuchy joined13:27
canton7-mac hmm?13:27
paul424 for another ... I copy pasted the file on the dir13:27
murosai well even git difftool --tool=meld file won't work13:27
canton7-mac murosai, define 'won't work'13:27
paul424 but git insist that nothing was aded13:27
murosai it opens the regular diff13:28
not meld13:28
canton7-mac murosai, 'git difftool' won't open a regular diff. it should prompt you whether you want to launch your difftool13:28
paul424 naah what a f****cker now it says 1 file changed >_>13:28
paul424 left13:28
murosai well it's not doing that :P13:29
canton7-mac murosai, !repro13:29
gitinfo murosai: Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session -- or, even better for complex issues, design a minimal case in which your problem can be reproduced, and share it with us. This will raise the odds of getting your problem fixed from about 30% to about 90%.13:29
luriv left13:29
murosai well git diff file and git difftool file produces exactly the same output, git diff is just scrollable13:30
git difftool file | less and it's the same thing13:31
hholtmann joined13:31
eletuchy left13:31
canton7-mac I find that very odd indeed13:31
er, try unsetting diff.external13:32
moritzs joined13:32
b4rbz joined13:34
hafeez3000 joined13:34
BadProph_ left13:34
topwobble joined13:34
beautifulmind left13:35
mizu_no_oto joined13:35
murosai not working, git mergetool however works13:36
jargon joined13:36
AccessibleWeb left13:37
robarell_ joined13:37
AccessibleWeb joined13:38
dragon3_ joined13:38
AccessibleWeb left13:38
AccessibleWeb joined13:39
chiromante joined13:39
momomomomo left13:39
ErKa joined13:39
duckydan joined13:40
cwillu_at_work joined13:40
hholtmann left13:42
robarell_ left13:42
jenrzzz joined13:42
treehug88 joined13:42
Dougie187 joined13:43
Neozonz|Disc joined13:43
murosai now i just need to figure out what the heck the meld output means :p13:44
jenrzzz left13:44
m0viefreak left13:45
canton7 reading diffs is a skill. don't let anyone tell you otherwise13:45
qknight Vampire0, tave: i've tried now several things and the only way to remove the branches on the remote was to use: 'git push origin --delete mybranch'. using 'git push origin :mybranch' with 'git fetch -p' deleted it locally and then restored it afterwards thus the remote side was never affected13:47
Vampire0: thanks for your hlep btw13:47
lite_ left13:48
francisfish left13:48
VinceZa left13:49
fatalhalt joined13:49
jnavila_ joined13:49
b4rbz left13:50
BadProphet joined13:50
francisfish joined13:50
kesha left13:51
ni__ left13:52
Pwnna left13:52
ErKa left13:52
jnavila left13:53
papegaaij left13:53
lavaman joined13:53
Celm joined13:53
deryni left13:54
Pwnna joined13:54
mancha left13:54
thoraxe left13:54
deryni joined13:55
PerlJam left13:55
daito_ joined13:55
PerlJam joined13:55
thoraxe joined13:55
mancha joined13:56
murosai is it possible to get a copy of "their" and "our" copy in merge situation?13:56
canton7-mac there's some magic 'git show' syntax iitc13:56
*iirc13:56
dragon3_ left13:56
dragon3_ joined13:56
CKyle joined13:56
thegorn murosai: actually what i find really helpful is merge.conflictstyle=diff313:57
canton7-mac that is really very useful ^^13:57
GT4066 joined13:57
thegorn and then each merge conflict has theirs, yours, original13:57
xender Yeah, I wonder why diff3 is not the default13:57
thegorn i don't know, i wish it were the default13:57
Celm left13:57
dsdeiz left13:57
thegorn but i found it, set it as default and only care a little bit now that it isn't default on out-of-the-box git :)13:58
canton7-mac ah there we go, you can show :1:path/to/file, :2:path/to/file and :3:path/to/file13:58
and I can't remember which is which13:58
becks__ joined13:58
G________ joined13:58
xender Also, anyone knows what is the nature of cases when git tells there is conflict that it cannot 3-way merge, but p4merge when ran does it automatically and shows 0 conflicts?13:58
thegorn :1 = common ancestor, :2 = current branch :3 = what you are merging13:59
canton7-mac cheers13:59
xender All you need to do is run mergetool, look around, save, and done. Why Git's doesn't handle it by itself?13:59
soee left13:59
daito_ left13:59
thegorn xender: i haven't seen that, maybe next time you see it might be worth sending in the diff to the mailing list as a test-case14:00
canton7-mac different 3-way merge tools make different decisions on whether something might be a conflict or not14:00
I think if git sees two lines added at the same point, it'll mark it as a conflict. other tools might not14:00
thegorn i'm guessing it has more to do with how much context has to match before git vs p4merge assumes ok to merge14:00
xender canton7-mac: I think p4merge will show conflict, because order of that lines can matter14:01
AccessibleWeb left14:01
Accessib_ joined14:01
xender Maybe it's when there are different changes in same line that can be 3-way merged?14:01
Does git operate line-wise or character-wise?14:01
(Git's 3-way merge)14:01
G________ left14:01
Noldorin joined14:01
thegorn i cna't imagine anyone's works character-wise, that sounds like a disastor waiting to happen14:02
sweetyReaper left14:02
Vampire0 qknight, "--delete foo" and ":foo" are identical :-/14:02
Macaveli left14:03
mizu_no_oto left14:03
betelgeu1e joined14:03
crystal77 left14:03
ni__ joined14:03
G________ joined14:03
sdouglas joined14:03
endiruna left14:04
JesseCW left14:05
hkon_ left14:05
JesseCW joined14:05
JesseC-Work joined14:07
JesseCWGuest4869814:07
ErKa joined14:07
sdouglas left14:08
becks__ left14:09
JerryT joined14:09
becks__ joined14:09
thiago joined14:10
Guest48698 left14:10
JesseC-Work left14:11
JesseC-Work joined14:11
devoldmx joined14:12
NimeshNeema joined14:13
becks__ left14:13
alexlindenlevy joined14:14
b4rbz joined14:14
polyzen left14:15
dik_dak joined14:15
DoniRS left14:15
thiago left14:17
shiroyamakota_ joined14:17
PeterBoo joined14:18
robbyoconnor left14:18
jatt left14:19
zumba_addict joined14:19
PeterBooker left14:20
rnsanchez left14:20
thedodd joined14:22
rockfruit joined14:23
thiago joined14:25
sanjayu left14:26
Cerise left14:26
Chryyz left14:27
rgr joined14:27
telesto joined14:27
sweetyReaper joined14:28
eletuchy joined14:28
Luke-Jr left14:28
Cerise joined14:28
Cerise left14:28
Cerise joined14:28
fjfish joined14:28
JesseC-Work left14:29
simesy left14:29
JesseCW joined14:29
JesseCW left14:29
rmaximus joined14:29
PeterBoo left14:29
JesseCW joined14:30
CKyle left14:30
kesha joined14:30
rockfruit left14:30
francisfish left14:30
kbart left14:31
CKyle joined14:32
Luke-Jr joined14:32
Anony987 left14:32
sweetyReaper left14:32
AccessibleWeb joined14:32
Accessib_ left14:32
sschonert left14:32
eletuchy left14:32
Anony987 joined14:32
rnsanchez joined14:32
jrdavid left14:33
_ikke_ left14:33
AccessibleWeb left14:33
becks__ joined14:33
telesto Hey all, had a high level question about best practices on handling production files with Git and Grunt, if anyone has any comments: http://pastebin.com/bqFjpm5s14:34
topwobble left14:34
AccessibleWeb joined14:34
Testy-Bot joined14:35
canton7-mac don't commit build artifacts to the repository14:36
don't deploy using git directly14:36
ferreum left14:36
akim_ joined14:36
EminenceHC joined14:37
LBV_User left14:37
canton7-mac git is not a deployment mechanism for many reasons, one of which is your issue. it's OK to trigger a deployment by pushing to a git repo, but there needs to be a distinct deployment step, somewhere, which reads in your source code, compiles it, sets up production configuration, packages it up, and sends it to the production machine in an atomic manner14:37
akim_akim14:38
LBV_User joined14:38
doev joined14:38
AccessibleWeb left14:38
robarell_ joined14:38
AccessibleWeb joined14:39
Macaveli joined14:39
thiago left14:40
gabedain left14:41
gabedain joined14:42
SocalNick joined14:42
robarell_ left14:43
macabre joined14:43
Macaveli left14:43
Macaveli joined14:44
zq joined14:45
tyreld joined14:45
_tpavel left14:45
makubi left14:45
PeterBooker joined14:47
makubi joined14:47
jefflyne joined14:47
hirani joined14:48
JesseCW left14:48
juliohm left14:49
Macaveli left14:49
Angelous joined14:50
chimay left14:50
DrShoggoth joined14:50
stodan left14:50
telesto Ok. That makes sense. Any recommendations on what handles that deployment step -- is that what people use things like TeamCity and Jenkins for?14:50
canton7-mac sure, they can help with the compilation/config/creating a package14:51
zq is there a proper way to maintain only patches against a larger repo, without checking in the contents of said repo?14:51
mizu_no_oto joined14:51
xlinkz0_ joined14:51
rnsanchez left14:52
telesto Alright. That makes a lot of sense and explains why I couldn't find many solutions based on production files in the repo. Thanks.14:52
maestrojed joined14:52
canton7-mac for actually getting that onto the server, rsync is popular (and ln -s for atomically switching the files used), or something like capistrano14:52
rudisimo joined14:52
LBV_User left14:52
oodavid joined14:52
canton7-mac zq, that's called a branch ;)14:53
GodPuppet joined14:53
telesto Unfortunately a lot of our projects are Windows based so our options there might be more limited, though I'm guessing capistrano could probably work with Ruby in a Windows environment14:53
LBV_User joined14:53
lov telesto: !deploy14:53
gitinfo telesto: Git is not a deployment tool, but you can build one around it (in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/deploy.html14:53
lov but yeah, there are Tools for deploying your content.14:53
xlinkz0 left14:53
bwaxxlo for git difftool, can you set the tool to be your text editor? Or do you have to use vim/visual studio14:54
zq canton7-mac: branching requires that i check in the bigger repo14:54
lov You can tie them as a post-build step to jenkins or something, but you should really not be using git for this in nearly every case14:54
canton7-mac zq, what?14:54
zq canton7-mac: which could be arbitrarily large14:54
telesto We're currently using Beanstalk (beanstalkapp.com) which is kind of build around deploying Git via the repo, so that's probably where some of my confusion came from14:54
lmatteis joined14:54
bwaxxlo I tried setting one but couldn't14:54
canton7-mac zq, what is "the bigger repo"?14:54
b4rbz left14:54
_5kg left14:54
Guest37155 left14:54
Guest37155 joined14:54
Guest37155digifiv5e14:54
lov bwaxxlo: any editor that will handle diffs will do.14:54
You may need to look at the arguments, etc14:54
bwaxxlo lov: I tried but it doesn't allow e.g notepad++14:55
lov define "it doesn't allow"14:55
zq canton7-mac: i don't understand your question14:55
arietis left14:55
lov telesto: my recommendation is to read beanstalk's documentation, since it sounds like your problem is already solved.14:55
canton7-mac zq, you said "branching means that I check in the bigger repo". I'm wondering what you meant by "the bigger repo"14:55
bwaxxlo I did "git difftool --tool='Path to my editor' "14:55
Sicp left14:55
lov bwaxxlo: you may need to give it the arguments to pass in the right order too14:56
Macaveli joined14:56
lov !diff-tool14:56
hum.14:56
Tronsha left14:56
canton7-mac bwaxxlo, did you read the docs for --tool ?14:56
lov bwaxxlo: http://git-scm.com/book/en/Customizing-Git-Git-Configuration#External-Merge-and-Diff-Tools14:56
canton7-mac to use a custom tool, you need to add some config to .git/config telling git how exactly to invoke your tool14:56
bwaxxlo yep...and I went to check allowed difftools14:56
zq canton7-mac: i have a repo, R, for which i'm writing a plugin that would reside inside R's tree. how would i use git to track only the changes of my plugin without having to check in R in its entirety?14:56
bwaxxlo using "git difftool --tool-help"14:57
ojacobson joined14:57
bwaxxlo all of that kicks me out14:57
jamieshepherd left14:57
bwaxxlo ^ignore that plz14:57
canton7-mac zq, oh! you're after submodules?14:57
!submodule14:57
gitinfo git-submodule is ideal to add subsidiary git repositories to a git superproject when you do not control the subprojects or more specifically wish to fix the subproject at a specific revision even as the subproject changes upstream. See http://www.git-scm.com/book/en/Git-Tools-Submodules14:57
ehmatthes joined14:57
jenrzzz joined14:57
bwaxxlo I meant it only lists vim/visual studio and some other weird tools14:57
telesto lov: Huh, I'll check that. I know Beanstalk can trigger web hooks which could then do the production build, if that's what you mean?14:58
oodavid left14:58
freimatz left14:58
canton7-mac bwaxxlo, so if you want 'git difftool' to call a tool which isn't in the pre-supported list, you need to configure it in .git/config14:58
as the docs for --tool say14:58
bwaxxlo cool!14:58
vtunka left14:58
bwaxxlo canton7-mac: will do14:58
oodavid joined14:58
zq canton7-mac: but don't submodules strictly reside within a larger source tree?14:58
canton7-mac define what you mean by "strictly reside within a large source tree"14:59
mrjensen left14:59
Testy-Bot left14:59
xlinkz0__ joined14:59
xlinkz0_ left14:59
canton7-mac throwing ambiguous and ill-defined terms in your statements don't aid anything :P14:59
zq it means exactly what it sounds like14:59
jenrzzz left14:59
zq a submodule S of a repo R must live inside R's directory14:59
canton7-mac the object database for S is *not* stored in R15:00
that's the entire. point. of. submodules.15:00
nnyk_ left15:00
JohnBat26 left15:00
zq you're assuming that i can modify R, which i can't15:00
_ikke_ joined15:00
tokik left15:00
canton7-mac I'm really lost as to what you want, then15:00
teran_ joined15:00
shuaib joined15:01
canton7-mac you were keeping a set of patches, and wanted to know how to manage them15:01
koell joined15:01
canton7-mac a set of patches is a branch. you can have a local branch which doesn't have impact at all on any other repos apart from the one on your machine, if you want15:01
FilipNortic left15:01
soerenbf left15:01
qknight Vampire0: i wonder why it didn't do the same here ;P15:02
jast FWIW I don't understand the question either15:02
shiroyamakota_ left15:02
Raging_Hog left15:02
teran_ left15:02
jast the initial question sounds like it's about patch queueing15:02
ArSn left15:02
ethlor joined15:02
lov telesto: sure? I've never used beanstalk so I don't know, but since they bill themselves as providing a way to deploy I assume it's possible.15:02
tave left15:02
shiroyamakota_ joined15:02
Gizburdt left15:02
teran_ joined15:02
telesto Gotcha15:03
DoniRS joined15:03
teran left15:04
rath left15:04
GuestO1102 joined15:04
CodePulsar left15:05
maestrojed left15:05
shuaib left15:06
luriv joined15:06
rnsanchez joined15:07
xificurC left15:08
h0bbit left15:08
pweaver_ joined15:08
Vampire0 qknight, you should probably report it as bug. According to the man page it does the same15:09
lavaman left15:09
robarell_ joined15:09
raven-au left15:09
fr33 joined15:09
kesha left15:10
dragon3_ left15:10
luriv left15:10
kesha joined15:10
bbloom left15:10
raven-au joined15:10
LBV_User left15:10
luriv joined15:10
LBV_User joined15:11
cllamas joined15:11
xlinkz0__ left15:11
Destos joined15:11
xlinkz0__ joined15:11
jefflyne left15:12
user258467 left15:12
cbreak-work left15:12
koell left15:12
koell joined15:13
soerenbf joined15:14
CKyle left15:14
john2x left15:14
LeMike left15:15
yacks left15:15
kesha left15:15
bbloom joined15:16
DolphinDream joined15:16
hholtmann joined15:17
PeterBoo joined15:18
jenrzzz joined15:18
AccessibleWeb left15:19
beyondcreed joined15:19
beyondcreed left15:19
beyondcreed joined15:19
Accessib_ joined15:19
ErKa left15:19
fragamus left15:19
planB joined15:19
jenrzzz left15:20
nbouscal joined15:20
vijay13 joined15:20
Evanlec left15:20
Angelous left15:20
Angelous joined15:20
FortySix_ joined15:20
ErKa joined15:20
soerenbf left15:21
arietis joined15:21
CodePulsar joined15:21
Evanlec joined15:22
PeterBooker left15:22
paulweb515 left15:22
danman_ joined15:22
obert joined15:22
dik_dak left15:22
nilg left15:23
jenrzzz joined15:23
starkhalo joined15:23
recycle joined15:23
FortySix2 left15:24
jenrzzz left15:24
goTAN left15:24
ayaz left15:26
brisbin left15:28
jceb left15:28
nilg joined15:29
eletuchy joined15:29
DoniRS left15:30
zoso left15:30
ghostlines left15:30
rockfruit joined15:31
rockfruit left15:31
teran joined15:31
tang^ joined15:31
kermit left15:31
aboba joined15:32
Dudi left15:32
Garheade|AFK left15:32
matteo joined15:32
hafeez3000 left15:33
eletuchy left15:33
paulweb515 joined15:33
lavaman joined15:33
thevishy left15:34
teran_ left15:34
bwreilly joined15:35
whitby joined15:35
arietis left15:35
gua_ould left15:36
Lunatrius left15:37
nayak94 joined15:37
mf___ joined15:38
dik_dak joined15:38
_5kg joined15:38
alorence left15:38
Raging_Hog joined15:38
mf_ left15:38
infynyxx joined15:38
Macaveli left15:38
Xethron left15:38
Sonderblade left15:39
CKyle joined15:39
eletuchy joined15:39
GtaTg joined15:39
arietis joined15:40
simesy joined15:40
brisbin joined15:40
Accessib_ left15:41
Evanlec left15:41
AccessibleWeb joined15:41
chrisshattuck joined15:42
infynyxx left15:42
chrisshattuck left15:43
Balliad left15:43
eletuchy left15:43
rainmanjam joined15:43
Accessib_ joined15:44
simesy left15:44
jagob left15:44
lolmaus joined15:44
GtaTg left15:44
hooper joined15:45
jargon left15:45
AccessibleWeb left15:45
SocalNick left15:45
mbrgm left15:46
Droolio joined15:47
pduin left15:47
macabre left15:47
rockfruit joined15:47
Lunatrius joined15:47
macabre joined15:47
ehmatthes left15:48
cjwilburn left15:48
Harzilein joined15:49
Harzilein hi15:49
is there an existing script to "check out" blob references as if they were files?15:49
maestrojed joined15:49
SocalNick joined15:49
Harzilein i.e. it should work like checkout but the files should only contain the relevant hash15:49
Celm joined15:50
GtoPk joined15:50
canton7 slightly confused if I'm honest15:50
Wizek left15:50
ojacobson "work like checkout" implies things like moving HEAD and updating the staging area15:51
Eugene Harzilein - man git-show15:51
gitinfo Harzilein: the git-show manpage is available at http://jk.gs/git-show.html15:51
canton7 so if foo/bar existed in the tree, the file foo/bar would be created containing a single line, which was its blob hash?15:51
ojacobson is that _really_ what you mean?15:51
Harzilein Eugene: yeah, i'm quite sure the script would involve git show15:51
canton7: yes15:51
canton7 git ls-tree -r would be the tool here, I think?15:52
cjwilburn joined15:52
jenrzzz joined15:52
Harzilein well, i was just wondering if someone had this idea before15:52
canton7 or actually, let's do this with a smudge filter15:52
Harzilein canton7: that sounds promising15:52
naxin left15:53
Harzilein canton7: it would be ideal if i could even add a new blob through the command line, then change the hash in some file, then add and commit that change15:53
Raging_Hog left15:53
Gizburdt joined15:53
macabre left15:53
canton7 Harzilein, you could probably do that with a clean filter15:53
jenrzzz left15:53
dreiss joined15:53
infynyxx joined15:53
Dudi joined15:53
vtunka joined15:54
jast !xy...15:54
gitinfo Woah, slow down for a bit. Are you sure that you need to jump through that particular hoop to achieve your goal? We suspect you don't, so why don't you back up a bit and tell us about the overall objective...15:54
GtoPk left15:54
jast in the meantime I'm gonna head home :}15:54
Eugene Harzilein - man git-hash-object; man git-write-tree; man git-commit-tree ;-)15:54
gitinfo Harzilein: the git-hash-object manpage is available at http://jk.gs/git-hash-object.html15:54
Harzilein: the git-write-tree manpage is available at http://jk.gs/git-write-tree.html15:54
Harzilein: the git-commit-tree manpage is available at http://jk.gs/git-commit-tree.html15:54
Harzilein yeah, okay, let me tell you the background15:54
grawity and `man git mktree` while you're at it15:54
gitinfo the git-mktree manpage is available at http://jk.gs/git-mktree.html15:54
grawity but generally what jast said15:54
Eugene Oh yeah, that one too.15:54
LBV_User left15:54
Eugene In fact, write-tree is for the index. mktree is the right one.15:54
doev left15:54
Harzilein let me dump those urls to a file15:55
Eugene It's just the git man pages15:55
infynyxx left15:55
canton7 Harzilein, so a smudge filter could be something like 'git ls-tree -r HEAD %f | awk '{print $3}'15:55
recycle left15:55
infynyxx joined15:56
Gizburdt left15:56
koell left15:57
gabedain left15:57
jagob joined15:57
canton7 and the clean filter something like 'git cat-file -p < $(cat %f)', although that's a bit fugly15:57
Harzilein so, about the background, i cloned the slightly massive RosettaCodeData repository, and would like to avoid the waste of disk space of actually checking it out, while still having a relatively sane way to browse it. of course once i get that way, i might want to apply it to projects where i'd actually want to change stuff, and this seems like a neat solution to me. clearly filters are the way to go, because that way git won't get confused by the different s15:58
hooper left15:59
hooper joined15:59
canton7-mac "relatively sane" is relative :P15:59
coasterz left16:00
Accessib_ left16:00
dmnd joined16:00
AccessibleWeb joined16:00
dreiss left16:01
callmeDarwin left16:01
dkpi joined16:02
Exancillatus joined16:03
brisbin left16:03
brisbin joined16:04
sirchopsalot joined16:04
sirchopsalot guys, whats the opposite to 'git add <file>' ?16:04
as in I want to stop tracking a file16:05
AccessibleWeb left16:05
ojacobson sirchopsalot: man git-rm16:05
gitinfo sirchopsalot: the git-rm manpage is available at http://jk.gs/git-rm.html16:05
jnavila_ left16:05
sirchopsalot thanks ojacobson16:05
alexlindenlevy left16:05
xmj joined16:05
pweaver_ left16:05
xmj moin16:06
noob question: how do i create a new branch inside some repo that is completely empty?16:06
freestyl3r joined16:06
sirchopsalot says it 'has changes staged in the index' and wont let me remove the file16:06
xmj i.e. master is full of stuff, and 'newbranch' should be completely clean without a delete commit16:06
canton7-mac pastie the output of 'git status'16:06
sirchopsalot, ^^16:06
xmj, should it have a parent, or not?16:07
Harzilein canton7: hmm... is there a way to avoid having to use .gitattributes for this?16:07
canton7-mac Harzilein, for the smudge/clean stuff? no16:07
Harzilein canton7: can i somehow specify the filter in .git/config?16:07
canton7-mac well, you can use .git/info/attributes16:07
Harzilein :/16:07
canton7-mac which isn't tracked16:07
xmj canton7-mac: nop16:07
sirchopsalot canton7-mac: http://pastie.org/9053447 the audiobus stuff is what im trying to remove16:07
oodavid left16:08
Harzilein canton7: that helps, thanks16:08
canton7-mac xmj, git checkout --orphan newbranch; git rm -rf .; git commit --allow-empty -m "New empty commit"16:08
xmj brilliant16:08
canton7-mac sirchopsalot, like git status says, 'git reset HEAd audiobus'16:08
Gizburdt joined16:08
Harzilein canton7-mac: looks like it works.16:09
canton7-mac sirchopsalot, it looks like you've git added audiobus, but not committed that add (in which case the operation you want is un-add, rather than remove :P)16:09
Harzilein, woop!16:09
Harzilein of course it is still massive:16:09
harzilein@debian:~/Projects/Git/github.com/RosettaCodeData$ git checkout16:09
Checking out files: 35% (26508/75735)16:09
dkpi left16:09
xmj canton7-mac: thanks!16:09
canton7-mac oh lovely16:09
:)16:09
sirchopsalot canton7-mac: ahh I see. Yeah the audiobus stuff is stopping me from committing in xcode cause its not acutally in the project, its just in a header file search directory. So if i do git reset head is it branch or the last committ that I need to put after that?16:10
canton7-mac: also said un-add is not a command.. :(16:10
canton7-mac sirchopsalot, huh? like I said, put 'audiobus'16:10
sirchopsalot, and yeah, un-add isn't a command. you use reset for it here16:11
git reset HEAD audiobus16:11
see the top of the 'git status' output where it says 'git reset HEAD <file>... to unstage'?16:11
mishok13 left16:11
coasterz joined16:11
canton7-mac well you can also pass a whole folder16:11
which is what you're doing16:11
dmnd left16:11
sirchopsalot canton7-mac: ahh I see!16:12
canton7-mac: yes that did exactly what I wanted16:12
canton7-mac: the weird thing is that there is more than just those files in the audiobus directory16:12
Gizburdt left16:12
sirchopsalot so I wonder why it doesnt' want to track them16:12
canton7-mac define 'doesn't want to track them'16:12
coasterz left16:12
ni__ left16:13
sirchopsalot ok16:13
thats not what I meant16:13
as far as I know they're already being tracked16:13
which is why it doesnt want to track them16:13
so the reset HEAD wont have removed them also, correct?16:13
just the ones I staged for commit?16:13
canton7-mac really very confused16:13
sirchopsalot LOL sorry16:13
blinkdes_ left16:14
canton7-mac what are 'they'16:14
rockfruit left16:14
sirchopsalot previously I added audiobus header files fine16:14
canton7-mac right16:14
sirchopsalot and have been committing no problem16:14
canton7-mac cool16:14
sirchopsalot i tried to add those16:14
xcode gave me an error16:14
canton7-mac what error?16:14
sirchopsalot something about not being able to find them in the project16:14
el3ctron joined16:14
sirchopsalot I can get the actual error, but I'l have to git add one of those files agai16:14
blinkdesign joined16:14
sirchopsalot n16:14
dreiss joined16:14
canton7-mac odd that it does that - just adding a file shouldn't cause that :P16:15
sirchopsalot let me get the error hang on16:15
Luke-Jr left16:15
sirchopsalot hmm16:16
ok that worked?!16:16
let me try adding those files again then16:16
Harzilein canton7: 40k files in i have only one error with your script. wonder what happened. should add some logging i guess16:16
sirchopsalot what can I do to revert the last committ I just made so I can make some changes and recommit?16:16
Luke-Jr joined16:16
sirchopsalot rather than make lots of shitty commits while i test16:16
milki sirchopsalot: amend and read !fixup16:16
gitinfo sirchopsalot: So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history!16:16
canton7-mac Harzilein, I'm impressed! completed untested, that was16:17
milki sirchopsalot: or maybe !perfect16:17
gitinfo sirchopsalot: [!postproduction] So, you want to make your commit history look pretty before pushing? http://sethrobertson.github.com/GitPostProduction talks you through how to use 'rebase -i' to do this.16:17
PeterBooker joined16:18
sirchopsalot git reset HEAD^ looks like what I need16:18
canton7-mac there are nicer ways though :P16:18
git commit --amend for starters16:18
git commit --fixup (and git rebase -i --autosquash)16:18
sirchopsalot ok sounds good16:18
blinkdesign left16:19
Gamecubic joined16:19
lolmaus left16:19
Gizburdt joined16:20
lolmaus joined16:20
Sample joined16:20
Luke-Jr left16:20
sirchopsalot canton7-mac: could I do git reset HEAD^ and then --amend the 'final commit' I made just before that?16:21
Luke-Jr joined16:21
AaronMT joined16:21
sirchopsalot right now im trying to make a 'real final commit to commit untracked files' commit16:21
soerenbf joined16:21
sirchopsalot which makes me big speech in the last commit message about it being the final look kinda silly16:21
my*16:21
soerenbf left16:22
PeterBoo left16:22
soerenbf joined16:22
canton7-mac if you git reset HEAD^, you throw away the last commit. if you then commit --amend, you edit the commit before that one16:22
acharlieh joined16:23
canton7-mac if you've created a load of temporary commits, just rebase -i them all, fixup the ones you want to chuck, and reword the final one16:23
Evanlec joined16:23
dkpi joined16:23
canton7-mac the links you were given go into a lot of detail16:23
sirchopsalot im going to try this reset HARD^ as I didnt expect that commit to work, i was just trying to get the error message to show you16:23
canton7-mac HARD^ what?16:24
you meant HEAD^ ;)16:24
sirchopsalot yeah, but its 2:24am and im trying frantically to upload this before sleep :)16:24
yes sorry16:24
canton7-mac don't :)16:24
late-night commits are the ones that break the build16:24
sirchopsalot but im sooo close!16:24
CKyle left16:24
canton7-mac if it's a personal project, go for it :P16:24
sirchopsalot it is16:24
canton7-mac but it's way more efficient to do it tomorrow haha16:24
sirchopsalot but its going to the appstore lol16:25
yeah i know16:25
Luke-Jr left16:25
welly left16:25
sirchopsalot but i just wanna get my spot in that queue16:25
Luke-Jr joined16:25
sirchopsalot but either way16:25
I gotta sort this16:25
even if i dont upload tonight16:25
zumba_addict left16:25
ojacobson sleep dep is known to be _exactly_ as bad for your judgement as alcohol16:25
sirchopsalot so im gonna git reset HEAD^16:25
then git commit --amend the extra files16:25
ojacobson except that people acknowledge their own drunkenness and generally believe that sleep deprivation isn't interfering with their thoughts.16:26
nnyk_ joined16:26
ojacobson Stop.16:26
Go to bed.16:26
Deal with it in the morning.16:26
sirchopsalot im not tired16:26
ojacobson Future you thanks you for not blowing his face off.16:26
See, there you go16:26
sirchopsalot bed time for me is normally 4am16:26
haha16:26
trust me16:26
i fucked up my time zone a long time ago16:26
ojacobson yes, I'm going to trust _you_ over well-documented sleep research. That happens.16:26
zumba_addict joined16:26
sirchopsalot the hours or 10pm to 3am are my primetime coding hours16:26
Chryyz joined16:26
bwaxxlo sirchopsalot: welcome to the club of faulty sleeping schedules16:26
sirchopsalot bwaxxlo: thanks16:27
ojacobson That you can't reliably tell us what commands you're going to run or, apparently, understand what commands people are telling you to run and why, suggests that you're not as awake as you think you are.16:27
sirchopsalot bwaxxlo: hoping to take a break from the club after being living it for over a year16:27
canton7-mac left16:27
sirchopsalot ojacobson: you would assume I know anything about git16:27
and I really dont16:27
im still not going to know anything about git tomorrow16:27
LucasKA joined16:27
sirchopsalot but at least now I have people I can ask questions to16:27
so here goes nothing anyway16:28
tonythomas joined16:28
dmnd joined16:29
lb1a left16:29
eletuchy joined16:29
codeman joined16:29
Kayra left16:29
Neon1024 left16:30
shruggar left16:30
Lunatrius left16:31
CKyle joined16:32
kukks joined16:32
Lunatrius joined16:33
rockfruit joined16:35
sirchopsalot canton7: ok all done :)16:35
did git reset head^16:35
readded the files16:35
then did git commit --amend16:35
all seemed to work16:35
goTAN joined16:36
mikecmpbll left16:36
jceb joined16:36
goTAN left16:36
sirchopsalot now to merge this sucker onto the master branch16:36
cllamas left16:37
cllamas joined16:37
Naeblis left16:37
Sabbath joined16:38
kesha joined16:38
kesha left16:39
Devastator left16:39
coasterz joined16:39
Wizek joined16:40
harobed left16:40
Wizek left16:41
cllamas left16:41
sq-one joined16:42
sirchopsalot If i say: git checkout master; git merge dev; that will bring the master branch up to date with the changes in dev, yes?16:42
Sabbath left16:42
sirchopsalot thinking I might take ojacobson's advice once this is all sorted16:43
eaj left16:47
JanC left16:47
kylef left16:49
monbro left16:49
ni__ joined16:49
Droolio left16:50
kylef joined16:50
dreiss left16:51
CodePulsar left16:51
mizu_no_oto left16:51
alexlindenlevy joined16:53
doev joined16:54
hyperair joined16:55
sq-one left16:55
jrajav joined16:55
Skrypter joined16:56
LBV_User joined16:56
sirchopsalot wooo16:57
7 long months finally merged dev into master :D16:57
FortySix_ left16:58
Fretta joined16:59
MattStratton left16:59
mikecmpbll joined16:59
Sonderblade joined16:59
Gizburdt left16:59
lov sirchopsalot: excellent16:59
sirchopsalot \o/17:00
FortySix2 joined17:00
Gizburdt joined17:00
FreezingCold left17:00
m0viefreak joined17:01
FortySix2 left17:01
sohail left17:01
pweaver_ joined17:01
infynyxx left17:02
looper joined17:03
sohail joined17:03
LBV_User left17:03
infynyxx joined17:04
LBV_User joined17:04
Gizburdt left17:04
ScottE left17:04
NimeshNeema left17:04
lindenle joined17:04
sirchopsalot ok17:04
Nicholas_Rishel joined17:05
sirchopsalot gonna take the advice and get some sleep17:05
I'll upload in the morning17:05
thanks for your help!17:05
sirchopsalot left17:05
einonm left17:05
beyondcreed left17:05
ScottE joined17:05
cagedwisdom left17:06
zorbash joined17:06
koell joined17:07
Harzilein canton7: it works ^^17:08
arunpandianp_ left17:08
Nicholas_Rishel left17:08
Harzilein canton7: http://paste.debian.net/9275617:08
canton7: :)17:08
fjfish left17:08
canton7 looks good!17:09
dmnd left17:09
matteo left17:09
canton7 what was the bug the first time around?17:09
Harzilein canton7: oh, i don't know. let me check if git status can tell17:09
arunpandianp_ joined17:10
koell left17:10
shiroyamakota_ left17:10
eletuchy left17:10
dmnd joined17:10
Harzilein canton7: harzilein@debian:~/Projects/Git/github.com/RosettaCodeData$ time git status17:10
francisfish joined17:10
koell joined17:10
Nicholas_Rishel joined17:11
Kayra joined17:11
Harzilein canton7: i'm not sure if git status also needs to invoke the smudge/clean filter... that ought to take a wile then17:11
while*17:11
bartman`` joined17:11
el3ctron left17:12
vtunka left17:12
axl_ joined17:12
eletuchy_ joined17:13
pikaren joined17:14
pikaren left17:14
pikaren joined17:14
francisfish left17:14
St_Marx left17:14
Harzilein canton7: hmm... it claims the working directory to be clean. that shouldn't be the case if one checkout failed...17:15
is there a naming convention for filter scripts?17:16
hahuang65 joined17:16
moritzs left17:16
Harzilein i think when i add debugging output, i ought to make it an external script17:16
dmnd left17:16
doev left17:16
St_Marx joined17:17
Joost` joined17:17
pen joined17:17
lov left17:19
lov joined17:19
moritzs joined17:19
lavaman1 joined17:20
lavaman left17:20
khmarbaise joined17:20
PeterBooker left17:21
Lemony joined17:22
mrjensen joined17:23
bluesm joined17:24
yacks joined17:25
kermit joined17:25
sohail left17:26
cvanball joined17:26
beyondcreed joined17:27
glebihan joined17:28
KWhat_Work joined17:29
KWhat_Work is there a simple guide for creating a fork from what will now be an upstream repo?17:30
hyperair left17:30
hyperair joined17:31
sohail joined17:31
sohail left17:31
sohail joined17:31
_ikke_ What?17:32
dreiss joined17:32
HelperW_ left17:32
crystal77 joined17:33
moritzs left17:33
kayloos joined17:33
SocalNick left17:33
ni__ left17:33
koell left17:33
mahmoud joined17:34
mahmoud do you guys recommend git with binary files? and why?17:34
ashooby mahmoud: !binary17:35
gitinfo mahmoud: Storing binary files in git causes repo balloon, because they do not compress/diff well. In other words, each time you change a file the repo will grow by the size of the file. See !annex for some solutions17:35
Riobe left17:35
ashooby and I guess !annex too17:35
gitinfo git-annex and git-media are two solutions to the !binary problem. They work by keeping the blobs outside of the repo, storing a reference to the blob in the repo instead. See http://git-annex.branchable.com/ and https://github.com/schacon/git-media17:35
cff joined17:35
jxpx777_ joined17:35
jxpx777 left17:35
vurma left17:35
thedodd left17:36
mahmoud i don't understand17:36
_ikke_ Each change to a binary file causes git to store the entire content of the file17:37
khmarbaise left17:37
_ikke_ and binary files aren't very compressable17:37
mahmoud _ikke_: oh so usually git only stores diffs with texts?17:38
decotii left17:38
ril joined17:38
Exancillatus left17:38
mahmoud how can git know if a file is text or binary?17:38
ojacobson mahmoud: no, git stores the entire file for text, too17:38
it's just that (a) text files are small, and (b) for long-term storage, loose objects are delta-encoded into packs, which goes much better for text generally17:39
_ikke_ mahmoud: It has certain heuristics to determine if a file is text or binary17:39
mahmoud so delta encoding is only for text and only for texts that are packed/archived?17:39
blueyed Why isn't 1.9.1 not listed on http://code.google.com/p/git-core/downloads/list ?17:39
mahmoud i don't get why should git care if it's text or non-text. to me it seems it should be octets/bytes irrespective of whether they are text/bin17:40
s/get/gir/17:40
_ikke_ mahmoud: git doesn't really make a difference, but delte-compression (just like any other compression) doesn't help much for binary files17:40
mahmoud so git tries to delta-compress except that delta-compress isn't helpful?17:40
_ikke_ mahmoud: correctg17:40
kesha joined17:41
mahmoud then why does git need that heuristic to determine whether a file is text?17:41
_ikke_ mahmoud: Because it doesn't try to calculate diffs for binary files for example17:41
mahmoud i see17:42
why doesn't git use non-diff compression methods that work with binaries and possibly even better with txts?17:42
_ikke_ mahmoud: binary files aren't compressable in general. It has nothing to do with the specific compression methods git uses17:43
khmarbaise joined17:43
khmarbaise left17:43
khmarbaise joined17:43
KWhat_Work left17:44
KWhat_Work joined17:44
dkpi left17:44
mahmoud aren't most bins compressable?17:44
_ikke_ Depends on the type of data17:44
mahmoud perhaps encrypted stuff are non-compressible17:44
Harzilein mahmoud: as in "code binaries"?17:44
mahmoud pdf files, images (png)17:45
_ikke_ Most of them are already compressed17:45
toomanysecrets joined17:45
Harzilein pdf and png both use compression17:45
mahmoud i see17:45
Harzilein i guess you _could_ convert the pdfs to not contain compressed sections, but then images would likely still be compressed17:46
_ikke_ As long as most of the file stays the same when changing things, delta-compression helps a lot. But if one change cause the complete file to be different, nothing can help mutch17:46
Harzilein if one only has pdfs that use a known subset of the format, one could have relatively efficient storage17:46
Angelous left17:47
garomero joined17:47
Harzilein i.e. the drawing operations should delta compress well17:47
Angelous- joined17:47
Angelous- left17:47
Angelous joined17:48
Angelous left17:48
garomero left17:48
faBimon joined17:48
Lemony left17:48
Angelous joined17:48
Angelous left17:48
Angelous joined17:49
Angelous left17:49
Angelous joined17:49
Angelous left17:49
shortest_path joined17:49
shortest_path left17:49
shortest_path joined17:49
Angelous joined17:50
Angelous left17:50
khmarbaise left17:50
Angelous joined17:50
Tuna-Fish left17:50
Angelous left17:50
Lemony joined17:50
Angelous joined17:51
Angelous left17:51
ignas joined17:51
zq urgh17:51
Angelous joined17:51
Angelous left17:51
zq what the heck is the proper way to check in an llvm backend17:51
i seriously do not want to clone the whole damn repo just for a few relatively tiny modifictions17:52
Angelous joined17:52
Angelous left17:52
chiromante left17:52
Angelous joined17:53
Angelous left17:53
Angelous joined17:53
Angelous left17:53
_ikke_ Why do you need to clone the whole repo?17:54
Angelous joined17:54
Angelous left17:54
Kayra left17:54
Angelous joined17:54
Angelous left17:54
Angelous joined17:55
Angelous left17:55
zq _ikke_: because of the monolithic nature of the llvm build process17:55
jenrzzz joined17:55
Angelous joined17:55
Angelous left17:55
blueyed zq: try "git clone --depth 10 ..."17:55
zorbash left17:56
_ikke_ consensus is not to commit build artifacts anyway17:56
zorbash joined17:56
zq _ikke_: what?17:57
blueyed: i could, but then i'd have a really impossible time rebasing since llvm is a moving target17:57
_ikke_ zq: The problem is that I'm not really understand what the exact problem is you are facing17:58
Harzilein canton7: it appears the error is benign, it's just caused by the child process not consuming its stdin17:58
aard_ joined17:58
canton7 fair enough :P17:59
mahmoud is there any command to anonymize my git activities when i commit stuff?17:59
zorbash left17:59
mahmoud i think git puts my name and email address. does it put other stuff?18:00
osse it doesn't18:00
telesto left18:00
Angelous joined18:00
Angelous left18:00
_ikke_ mahmoud: You have complete control over what git puts there18:00
mahmoud: git config --global user.name "foo"; git config --global user.email "foo@bar.org"18:01
FortySix2 joined18:01
Angelous joined18:01
Angelous left18:01
mahmoud will git by default take stuff form variable names? like my username?18:01
GT4066 left18:01
_ikke_ Yes18:01
mahmoud like?18:01
Angelous joined18:01
Angelous left18:01
doev joined18:01
lindenle left18:01
Angelous joined18:02
Angelous left18:02
osse they're all in man git18:02
gitinfo the git manpage is available at http://jk.gs/git.html18:02
osse and they all start with GIT_18:02
it doesn't use $USER or $HOME or anything crazy like that18:02
khmarbaise joined18:02
mahmoud i think you didn't understand my question18:03
cjwilburn left18:03
vijay13 left18:03
mahmoud (possibly as i didn't explain it well, or that i mistakingly think u didn't understand while you actually did)18:03
cjwilburn joined18:03
_ikke_ osse: It uses you username and host when there are no username and email set18:03
pbrobst_ joined18:03
osse _ikke_: oops, you're right. But you get a big warning then, at least :P18:03
rgr left18:03
_ikke_ yup18:04
mahmoud i don't mean if git uses environment variables for its own data. i mean, does git eventually read some values from my local machine and then store it in the git repository? stuff that could potentially leak my username, system host name, or time zone?18:04
kesha left18:04
_ikke_ mahmoud: Like I said, only when you don't have a username and email set18:04
glebihan left18:04
mahmoud so the only local stuff that i'm leaking is 1) username 2) email?18:04
(otehr than the actual code that i commit)18:05
_ikke_ mahmoud: If I recall corectly it user your username and hostname18:05
mahmoud period?18:05
nothing more?18:05
_ikke_ Perhaps your timezone in commit dates18:06
Not sure though18:06
Tuna-Fish joined18:06
xlinkz0__ left18:06
mahmoud kinda offtopic, but does the tar command store my time zone info too?18:06
or is it just utc?18:06
_ikke_ No clue18:06
khmarbaise left18:07
MithrilTuxedo joined18:07
osse Git stores a unix epoch time thingy, plus a time zone, represented as an offset (no city names or anything like that)18:07
But it's easy to commit with a bogus time stamp18:08
totte left18:08
mahmoud osse: sounds wrong. why not just UTC?18:08
jenrzzz left18:08
dvide joined18:08
denisMone joined18:08
denis_ joined18:09
osse no diea18:09
doev left18:09
Harzilein left18:09
mahmoud i think all times in the world should be stored/processed/delivered as UTC and only locale stuff should process that info +/- offset for UI purposes to appease humans so that everytime they wake up in the morning they see it 9AM18:09
osse maybe the git guys thought it would be useful to be able to see if a commit was made in the morning or in the evening18:09
jnavila joined18:09
_ikke_ It *is* stored in UTC, but it also contains an offset18:09
jenrzzz joined18:09
roymiloh joined18:09
jamieshepherd joined18:09
msafi1 joined18:10
mahmoud offset for what? to tell other developers that "yo, he did it in UTC 23:32, but guess what? his offset is 4 hours LOL!"18:10
_ikke_ timezone offset18:10
jxpx777_ left18:10
kukks left18:10
jxpx777 joined18:10
mahmoud why18:10
totte joined18:11
mahmoud why should other developers know my time-zone offset18:11
_ikke_ Because people are used to see times in a timezone offset way18:11
mahmoud i hope you are wrong18:11
msafi left18:11
_ikke_ mahmoud: Is your watch set to utc?18:11
or your phone18:11
shortest_path left18:11
mahmoud or i hope that you are misunderstanding me18:11
_ikke_ or your computer18:11
osse The only reason I can think of is so that the log can show "human-readable" (ie. reasonable) times of day18:12
mahmoud err, actually set to bios clock cause windows is screwing me up18:12
set to local. sorry18:12
Zifre joined18:12
LBV_User left18:12
mahmoud (i'm on linux, but on the abandoned partition that has windows, it screws me occasionally)18:12
osse But the main Git guys don't seem to care much about anonymity18:12
LBV_User joined18:12
osse Security yes, anonymity no18:12
mahmoud i think you'are misunderstanding me18:13
cause git folks can't be that stupid18:13
il joined18:13
SHyx0rmZ joined18:13
osse E.g. if you contribute to git they require you to commit with a proper name (they can't tell if you're lying of course)18:13
Sander^home left18:13
mahmoud yeah that's fine. i can put a nickname and an email id with signed stuff18:13
but let's first discuss this time thingy. i don't get it18:14
_ikke_ https://gist.github.com/Ikke/54d7c6c040f5c263345718:14
That's a raw commit file18:14
mf___mf_18:14
_ikke_ You can see I'm in UTC+218:15
mahmoud suppose this example: i am living in uae, and you are in usa. i send you some code that is written in 10:00 UTC + 4GMT (so to me its 14:00). when you read my code, you should see it as 10:00 UTC -8 i guess, or something..... but why on earth do you care how the clock looked like in my country uae?18:15
iamntz left18:15
osse your commit in that example will show up as 14:00 +040018:16
mahmoud but why do you care if it was +4 in my part of the world?18:16
osse I wouldn't18:16
mahmoud why would anyone care?18:16
Dudi left18:16
jxpx777 left18:16
jxpx777_ joined18:16
osse No clue18:16
mahmoud is this from linus torvalds or other people who took over?18:17
osse I just know *how* it is, not *why* it is like it is18:17
_ikke_ I think this is from the beginning18:17
mahmoud damn linus torvalds.... jeez how can i trust to use his kernel18:17
eletuchy_ left18:17
_ikke_ mahmoud: How can you trust any OS?18:17
Or your hardware18:17
lov mahmoud: send an email to the mailing list and ask if there's a reason why it's there. If there's no good reason, and you can make a compelling argument to remove it, and a patch, then you've solved your problem.18:18
osse the very first commit has timestamp: Thu Apr 7 15:13:13 2005 -070018:18
mahmoud none but this dude is scary.18:18
pantsman joined18:18
pantsman left18:18
pantsman joined18:18
_ikke_ Only because a commit store a timezone offset?18:18
mahmoud yeah. probably if i'm seeing shit at the surface, this must be the tip of the iceburg18:18
_ikke_ meatmanek: https://stackoverflow.com/a/7651782/2026118:18
jagob left18:19
JanC joined18:19
soerenbf left18:19
mahmoud oh18:19
osse according to some e-mail on the mailing list: "We store seconds since UTC epoch, we add the author's or committer's timezone as auxiliary data so that dates can be pretty-printed in the original timezone later if anyone cares."18:19
shiroyamakota_ joined18:19
SHyx0rmZ left18:20
thedodd joined18:20
Not_Whatever joined18:20
dkpi joined18:21
osse mahmoud: this seems to be the original discussion on how to do it: http://thread.gmane.org/gmane.comp.version-control.git/5218:21
Grum joined18:21
mahmoud _ikke_: as for your uploaded file, question: is 1397067210 the UTC time when you write it, or is it the time + the offset already?18:21
osse mahmoud: there someone raised the exact same question you did18:21
Snowball64 joined18:21
nbouscal left18:21
mahmoud osse: thanks, i'm reading..18:21
_ikke_ mahmoud: unix timestamp is always in UTC18:22
nbouscal joined18:22
mahmoud i see18:22
anry left18:23
SHyx0rmZ joined18:24
_ikke_ That timestamp converts to: Wed, 09 Apr 2014 18:13:30 GMT18:24
Gamecubic left18:24
eletuchy joined18:24
_ikke_ while I'm not in GMT18:24
kriks left18:24
anry joined18:25
Tuna-Fish left18:25
cbreak that's why git stores time stamps and offsets separately18:25
macabre joined18:25
osse After reading through that thread my impression is that people generally didn't care. "Yaay, pretty printing!" and that was it18:26
cllamas joined18:26
mahmoud look at this idiocity: I'd prefer not to lose the information. If someone has committed a18:26
change at 2am, I like to know that it was 2am for _them_. It helps me18:26
denisMone left18:26
denis_ left18:26
mahmoud decide where to look first for the cause of problems. :)18:26
http://thread.gmane.org/gmane.comp.version-control.git/5218:26
_ikke_ It's usually not a problem, unless you absolutely want to prevent any information about your location18:26
dkpi left18:26
Sander^home joined18:27
cbreak you can change that easily18:27
_ikke_ mahmoud: If git stored it in utc with no tz info, git can't know how late it was for them18:27
mahmoud lol18:27
who cares?18:27
_ikke_ People care18:27
gitinfo set mode: +v18:27
mahmoud why, cause they want to assume that it was shitty code cause it was in 2AM? or it was a marvilous code at 5PM?18:28
_ikke_ UTC is pretty abstract for most people18:28
tmcmahon joined18:28
_ikke_ That's what people usally care about, yes18:28
mahmoud you make me feel sad cause you're defening nonsense. i think you're probably non-human. you should kill yourself cause killing you is not worth the cost18:28
Balliad joined18:28
_ikke_ mahmoud: You sound paranoid :-)18:28
mahmoud or stay alive while you help me with other stuff :p18:29
amcsi_work left18:29
_ikke_ git is not created for anonimity as osse already said18:29
mahmoud it's not about anonymity.... it's about sanity18:29
msafi joined18:29
cbreak mahmoud: please, don't be an idiot.18:30
arietis left18:30
cllamas left18:30
msafi1 left18:30
mahmoud enlighten me why the offset is needed? don't tell me "cause it helps us to predict the psychology of the developer cause usually developers are sleepy at 2AM"18:31
arietis joined18:31
cbreak mahmoud: because it is part of the time stamp, duh18:31
mahmoud it's not. the offset is part of the locale stuff to pretty stuff to your eyes so that it looks 9AM when it's morning in your place18:31
cbreak it's part of the time stamp, no matter how much you whine around18:31
blackmesa joined18:32
cbreak mahmoud: check git cat-file -p HEAD for an example18:32
_ikke_ cbreak: His question is why it *is* part of it18:32
nobitanobi joined18:32
mahmoud ^18:32
cbreak that's easy: because time stamps are local to the developer that committed18:32
just like everything in git18:32
_ikke_ cbreak: timestamps are stored in UTC18:32
PeterBooker joined18:33
cbreak _ikke_: nope. They are stored in utc + offset18:33
nobitanobi Hi guys. My git push is hanging at 6%. I guess I might have some big file in the commit I am trying to push. Is there any way I can find the file sizes of the files that are about to be pushed?18:33
cbreak why? Because unix timestamps alone can't represent local time.18:33
lavaman1 left18:33
Skrypter left18:33
sq-one joined18:33
lavaman joined18:33
_ikke_ That's circular reasoning18:33
mahmoud cbreak: only i care about my local time. why would you see how the clock looked like in my part of the world?18:33
yosito joined18:34
pwnz0r joined18:34
cbreak _ikke_: nope18:34
_ikke_: it's quite linear.18:34
commits are local.18:34
unix time stamps are not enough.18:34
let's add offsets.18:34
done.18:34
_ikke_ Only because the offsets are added18:34
Joost` left18:34
cbreak mahmoud: so? Don't commit.18:34
mahmoud lol18:34
such a fuckhead18:35
yosito left18:35
yosito joined18:35
Xethron joined18:35
ChanServ set mode: +o18:35
cbreak kicked mahmoud (Please think more.)18:35
osse mahmoud: the only reason for storing offsets seems to be: "because people would find it useful"18:35
cbreak such a rude person.18:36
lindenle joined18:36
Skrypter joined18:36
alexlindenlevy left18:36
nicoulaj joined18:36
mahmoud joined18:36
_ikke_ http://article.gmane.org/gmane.comp.version-control.git/11018:36
"If someone has committed a18:37
change at 2am, I like to know that it was 2am for _them_. It helps me18:37
decide where to look first for the cause of problems. :)"18:37
dkpi joined18:37
_ikke_ "It also helps disambiguate certain comments, especially those involving18:37
words or phrases such as "yesterday" or "this afternoon". "18:37
endiruna joined18:37
skorgon hmm, that is actually bogus. with rebase etc. the authorship timestamp is pretty much useless18:37
cbreak commits are local. Seems natural that the dates are also local.18:37
Gamecubic joined18:37
cbreak skorgon: nope. It's still the date of authorship.18:38
_ikke_ skorgon: you mean comitter timestamp18:38
skorgon: author timestamp doesn't change18:38
cbreak the committer timestamp is the one the commit was created18:38
axl_ left18:38
cbreak the authorship timestamp is when it was authored18:38
lindenle left18:38
skorgon cbreak, but it might have gone through so many iterations that took place at different times, that it doesn't say anything anymore18:38
Joost` joined18:38
cbreak skorgon: it says as much as any time stamp18:38
osse skorgon: when you rebase the author timestamp doesn't change unless the patch itself changes.18:38
cbreak skorgon: it's just a point in time.18:38
skorgon osse, exactly my point18:39
cbreak skorgon: if you want a proper time tracking, you'd need a range anyway.18:39
but git doesn't do time tracking18:39
it tracks commits18:39
Exancillatus joined18:39
osse skorgon: but the commit timestap changes. So you have both pieces of info18:39
lindenle joined18:39
skorgon osse, if i rebase -i and amend and fix stuff in my commit18:39
dfarler left18:39
dkpi left18:39
cbreak the commit was authored at time X. That doesn't change.18:39
skorgon tihngs change but the authorship stays18:39
cbreak why does it not change?18:39
because authorship doesn't change18:40
you can --reset-author, then it will change18:40
skorgon: your choice.18:40
it's local after all. :)18:40
dfarler joined18:40
mahmoud how about adding even more auxilary data? like time stamp format "234234223555 +0400 For me, it was the Friday evening after beer bust checkin"18:40
cbreak set mode: -o18:40
dkpi joined18:40
_ikke_ mahmoud: That's part of the commit18:40
yosito left18:40
_ikke_ message ;-)18:40
osse skorgon: huh, you're right. I didn't expect that18:40
eaj joined18:40
Angelous joined18:40
Angelous left18:40
yosito joined18:41
osse mahmoud: I think we've said all we have to say about it (I have at least). If you're not happy with our answers feel free to raise the question on the mailing list. I would be interested in reading the responses18:41
Because deep down I sort of agree with you18:42
jxpx777_ left18:42
osse But I can also see the usefulness of identifying the time of day for a commit18:42
jxpx777 joined18:42
mahmoud i think we shouldn't plug anything there just in case it might be useful. may be that's why we have the message option -m18:43
anywayy. will create an email account and send the stuff to the mailing list18:44
recycle joined18:45
osse What I am wondering now is why it's shown by default :p18:45
ril left18:45
paulweb515 left18:46
osse I guess it's because it conforms to some standard date format18:46
Kayra joined18:46
pwnz0r left18:46
Exancillatus left18:47
Guest45082spaceone18:47
mahmoud how about daylight saving offsets?18:47
b4rbz joined18:48
jenrzzz left18:48
maestrojed left18:48
_ikke_ mahmoud: As long as you computer observes them, it's part of the offset automatically18:48
+2 is dst for me18:48
prosana left18:48
arietis left18:49
mahmoud it seems this whole discussion ended in vain http://thread.gmane.org/gmane.comp.version-control.git/5218:49
prosana joined18:49
amcsi joined18:49
cbreak it ended in facts.18:49
boombatower joined18:49
mahmoud s/t/k/18:50
cbreak you can see the facts multiplying every time you commit18:50
_ikke_ mahmoud: You linked to the general topic, not to a specific e-mail18:50
einonm joined18:50
jagob joined18:50
osse is happy he lives in a highly populated time zone18:50
mahmoud _ikke_: i know. i read the full thread18:50
i think git also relies on some assumptions cause they don't happen often. like being happy that sha hashes won't collide anytime soon18:51
_ikke_ Oh, that discussion again18:51
mahmoud i really tried to forget it but this time-stamp thing triggered me again18:52
mahmoud blames _ikke_18:52
_ikke_ In the mean-time everyone hapilly uses git without problem18:52
osse at least it's Y2K safe18:52
soerenbf joined18:52
mahmoud i'm certainly not happy18:52
rawtaz https://github.com/Lekensteyn/pacemaker18:53
git is listed18:53
_ikke_ rawtaz: I'm sure the maintainers are aware18:53
rawtaz great18:53
perhaps now some user who didnt know is aware too :-)18:53
mahmoud isn't this the official git channel? i guess me saying it here is enough18:54
osse I'd rather see Git's allergy to network drives fixed18:54
skorgon there is no "official" git channel18:54
_ikke_ the mailing-list is the official channel18:54
skorgon the !mailinglist is where development etc. takes place18:54
_ikke_ This is just for user support18:55
osse !list18:55
gitinfo [!mailing_list] The mailing list can be reached via [email@hidden.address] You don't need to subscribe to the list, you will always be put in cc on reply. Read archives at http://j.mp/gitlist18:55
MafooUK left18:55
skorgon that's what i meant :) thx osse18:55
ignas left18:55
dmsuperman joined18:55
dkpi left18:55
Dudi joined18:55
osse Apparently '!list' is some sort of warez thing18:56
CKyle left18:56
_ikke_ It is18:56
bwaxxlo left18:56
cbreak why?18:56
dkpi joined18:57
soerenbf left18:57
_ikke_ why what18:57
treehug88 left18:58
osse when how18:58
mahmoud jeez can't i make an aemail account without gmail asking my name and family name...18:58
rfoust__ joined18:58
_ikke_ You don't *need* a gmail account18:59
mahmoud how can i post to the mailing list18:59
_ikke_ just send an e-mail the e-mail address just posted here18:59
rfoust left18:59
mahmoud ohh telnet?18:59
osse https://www.hushmail.com/signup/18:59
dmsuperman I'm having some confusing behavior with a submodule. My .gitmodules file points to a particular repository (my fork), and on my dev machine my .git/modules/.../config file also points to my fork. On my server, however, the .git/modules/.../config file points to the original, not my fork, despite the .gitmodules file pointing to teh correct repository (my fork)19:00
leeN joined19:00
dmsuperman I've run git submodule sync && git submodule update --init --recursive on the server19:00
lov mahmoud: you're a pretty bad troll.19:00
mahmoud i'm not trolling19:00
dmsuperman but it's still pulling files from the original repo, not my fork. Especially confusing is when I run a "git log" from within the submodule, it shows the log from my fork, not the original repository19:00
how can I update the server properly to use the path in .gitmodules?19:00
alorence joined19:01
osse mahmoud: use this: http://post.gmane.org/post.php?group=gmane.comp.version-control.git - supply a mailinator address. open the mailinator's inbox (disposable)19:01
http://mailinator.com/19:01
cbreak dmsuperman: sync should do it...19:01
dmsuperman That's what I thought too19:02
cbreak dmsuperman: the submodule URL in .git/config should be updated19:02
dmsuperman Yeah, that URL is up to date19:02
it's only the one in the .git/modules/.../config that's out of date19:02
and when it fetches the file contents that's where git appears to be reading from19:02
l0x3py left19:03
yosito left19:03
mahmoud 504 Connect to mailinator.com:80 failed: SOCKS error: TTL expired19:03
now what... can't tor it..19:03
Exancillatus joined19:03
glebihan joined19:03
cbreak mahmoud: sounds like you fucked up your proxy19:03
dmsuperman even if I specifically git checkout $commit_id_from_my_fork, it's successful, but the file contents are still from the non-fork repository19:03
earth joined19:04
dmsuperman I can just change the .git/modules/.../config file manually but this has come up in the past so I'm hoping to find a more correct fix19:04
dkpi left19:04
c74d left19:04
mahmoud lol @ [email@hidden.address]19:04
supermat left19:04
Dudi left19:04
cored joined19:04
nnyk_ left19:05
digiv joined19:05
cbreak dmsuperman: file contents don't matter19:05
cored hi I want to remove a file from a commit message; I also did a rebase before pushing but I used git add . and got some unrelated files19:05
cbreak dmsuperman: all that matters is history19:05
dmsuperman: if current state is not the same as history, it'll show as local changes in git status19:06
cschneid can I set a private key per git remote? I have several heroku accounts, each with a different key, but all at heroku.com, so I can't just use a Host record in .ssh/config19:06
cbreak you can deal with it as normal19:06
cschneid or do I have to do the silly alias dance in ssh/config19:06
upene joined19:06
cbreak cschneid: git doesn't handle keys19:06
ssh does.19:06
cschneid cbreak: ok, figured it didn't.19:06
c74d joined19:07
_ikke_ cschneid: You don't need to create aliases19:07
cschneid _ikke_: is there an easier way to do it?19:07
_ikke_ No19:07
osse sounds like you could generate the ssh/config using mad leet scripting19:07
Exancillatus left19:07
cschneid what? so I have app1, which is [email@hidden.address] and I have app2 which is [email@hidden.address] but the key is different.19:08
hmm, I wonder if I can repeat the key directive in .ssh/config's format?19:08
cbreak cschneid: just let it try all keys?19:08
saustin__ joined19:08
cschneid "try all these"19:08
el3ctron joined19:08
cbreak load all into ssh-agent19:08
btree_ joined19:08
cbreak done.19:08
dmsuperman cbreak: that's why it's so confusing. it doesn't show up as local changes. I ran git checkout 21c9c94aa (which only exists in my fork), and then git status shows no local changes, but when I view the file itself, it doesn't reflect the changes introduced in 21c9c94aa19:08
osse { for i in ~/.ssh/*_rsa; do printf 'Host %s\n\tHostname foo\n\tIdentifyFile %s' "${i#.ssh/}" "$i"; done } > ~/.ssh/config19:09
cbreak dmsuperman: did you ever do something stupid like git update-index --assume-unchanged?19:09
mdhopkins joined19:09
dmsuperman nothing like that19:09
khmarbaise joined19:09
dmsuperman I changed the URl found in .gitmodules once but that shouldn't cause this right19:09
cbreak dmsuperman: does git update-index --really-refresh help?19:09
mahmoud can you guys tor into mailinator19:09
cbreak dmsuperman: did you ever compare git diff HEAD?19:09
teran left19:10
saustin left19:10
dmsuperman that git update-index command followed by git status still shows no modifications despite me still being on my fork's commit19:11
git diff HEAD returns nothing19:11
osse mahmoud: how about this then: http://10minutemail.com/10MinuteMail/index.html19:11
cbreak dmsuperman: then nothing changed and the local files are correct19:11
btree left19:11
cbreak dmsuperman: you can git cat-file -p HEAD:path/to/file > newfile19:12
that'll show what is in HEAD19:12
mahmoud osse: works19:12
Dudi joined19:12
EminenceHC left19:13
pbrobst_ left19:13
codeman left19:13
EminenceHC joined19:13
dmsuperman aha cbreak we're getting somewhere. that shows the correct file contents. but when I just do a simple "git checkout HEAD" it doesn't update the file with those contents found from the cat-file command19:14
what does that indicate?19:14
cbreak dmsuperman: you did something weird19:14
something very weird...19:14
sparse checkout, assume unchanged...19:14
mahmoud osse: so predictible. you can know the next mail in sequence19:14
fanno left19:14
cbreak can't think of something else19:14
dmsuperman: you can just delete all files, then git reset --hard HEAD19:14
dmsuperman I haven't done anything weird I promise... this is on a server where we don't run any weird commands, it's a staging area. all that happens is a git pull and git submodule update --init --recursive19:15
cbreak but no idea why they aren't showing up as changes19:15
osse mahmoud: so what?19:15
dmsuperman cbreak: do that from within the submodule?19:15
jenrzzz joined19:15
cbreak dmsuperman: a pull from a script? Now that sounds dumb.19:15
dmsuperman: yes19:15
mahmoud osse: should be randomly generated19:15
dmsuperman why is it dumb? I push changes, I wnat to see those changes on the staging server, so on the staging server I pull those changes19:16
CKyle joined19:16
mahmoud osse: specially that it doesn't hurt to do it right19:16
ril joined19:16
CKyle left19:16
osse mahmoud: the whole thing gets nuked in 10 minutes...19:16
VinceZa joined19:16
osse it doesn't matter19:16
Xethron left19:16
cbreak dmsuperman: because pull can fail. Do you want your script to fail?19:16
FortySix2 left19:17
mahmoud osse: i know, but anyone can jump in and distrub me19:17
cbreak in a script you should fetch, then reset --hard19:17
osse mahmoud: how?19:17
I don't knw19:17
your email19:17
mahmoud osse: everyone knows that the email ID in sequence now is a120509819:17
tonythomas left19:17
buu left19:17
osse here it's different19:17
mahmoud what is it?19:18
dmsuperman I run git pull by hand cbreak -- on production we rsync and avoid git entirely19:18
osse mahmoud: a120506719:18
treehug88 joined19:18
buu joined19:18
mahmoud sorry, i forgot to erase my cookies... my fault19:18
the site is neat. i approve it.19:18
EminenceHC left19:18
PeterBoo joined19:18
osse but they seem to be sequential though19:18
Tuna-Fish joined19:18
mahmoud hmm yeah19:19
guess it gets more random the more people use it19:19
osse I still think it doesn't matter19:19
mahmoud can anyone read the email other than me?19:19
rq60 joined19:20
mahmoud guess no.. you're right. it doesn't matter19:20
_ikke_ It would be useless if that was possible19:20
mahmoud mailinator.com does that19:20
cored left19:20
osse mailinator's emails last forever I think. Or just appear and disappear as needed19:21
it's a different mechanism19:21
_ikke_ http://mailinator.com/inbox.jsp?to=foobar19:21
hmm19:21
khmarbaise_ joined19:21
PeterBooker left19:22
acharlieh left19:22
tcstar joined19:22
tcstar so I have a symfony application,19:22
Zematix joined19:22
khmarbaise left19:23
Zematix left19:24
ril left19:24
acharlieh joined19:24
tcstar so i have a symfony application, and i created a private repo on github... i also have my development environment that has a git repo on there as well... so, what i'm trying to figure out with git is if on my local machine i run: git push dev master to have it include everything but if i run git push gh master it only includes src/* and web/themes/* -- is that possible, if so what would i do?19:25
mixandgo joined19:26
akiva left19:26
cbreak tcstar: nope19:27
tcstar: push pushes history19:27
_ikke_ Only by separating it into two repositories19:27
cbreak tcstar: you'll have to rewrite it manually if you want different history19:28
zacts left19:28
tcstar Not a problem thanks for the quick answer19:28
mixandgo hello, I’m wondering if there’s a nice way to handle this scenario: I have a <branch1> forked from master with a few commits, and I have <branch2> forked from master. <branch2> needs a few commits from <branch1> but the code review is not done yet on <branch1>. Is there another way besides waiting for <branch1> to be merged and then rebase ?19:29
jottr joined19:29
tcstar any way to list everything that's being tracked so i can set this up properly from the get go and not have to fix it later?19:29
_ikke_ git ls-files19:29
neunon left19:30
tcstar thanks _iike19:30
neunon joined19:31
rfoust__ left19:31
macabre left19:32
glebihan left19:32
rfoust joined19:32
coredump joined19:32
cbreak mixandgo: you can cherry-pick, which will copy the commits19:32
mixandgo: you can merge branch 1 completely too19:33
coredump left19:33
cbreak mixandgo: or you can rebase branch 2 onto branch 219:33
(that's history rewriting though, so be sure you understand what that means)19:33
mixandgo cbreak: so with the cherry-pick what happens when I need to merge <branch2> back onto <master> ? given <branch1> was also merged into <master>19:34
toomanysecrets left19:34
Nevik left19:34
cbreak mixandgo: you get to resolve the conflicts if git doesn't.19:35
Nevik joined19:35
b4rbz left19:35
mixandgo so you get 2 identical commits ? (the ones you cherry picked)19:36
G________ left19:36
devoldmx left19:36
_ikke_ mixandgo: No19:36
khmarbaise_ left19:36
cbreak mixandgo: they aren't identical19:36
they only result in identical changes19:37
ascarter joined19:37
ascarter left19:37
kotopies joined19:38
snql joined19:38
G________ joined19:38
alvaro_o joined19:38
hoschi left19:38
mixandgo so even tho the commit is copied, after both branches are merged into <master> there will only be on commit (of the one copied) ?19:38
macabre joined19:39
_ikke_ mixandgo: No, you will have two, unless you rebase one branch onto the other19:39
macabre left19:39
upene left19:40
psoo joined19:40
hholtmann left19:40
cbreak mixandgo: merging doesn't change history19:41
mixandgo: if you have two commits before the merge, then you'll have three afterwards :)19:41
ascarter joined19:41
jackneill left19:41
mixandgo yeah but it sounds useless to have the same commits19:41
vurma joined19:41
mixandgo so I guess my only option is to start <branch2> from <branch1>…19:42
AccessibleWeb joined19:42
Lemony left19:43
zacts joined19:44
_ikke_ cherry-pick is used when you have two branches, where you need a certain fix in both branches19:44
paulweb515 joined19:44
mixandgo _ikke_: and they will never be merged together… ?19:44
_ikke_ eventually19:44
Or rebased19:44
luft_ left19:45
mixandgo rebase will get rid of the dupes ?19:45
luft_ joined19:46
akiva joined19:46
_ikke_ it will19:46
prosana left19:46
ErKa left19:46
koell joined19:47
freeman42 left19:47
mixandgo I see so, if I merge <branch1> into <branch2> and then later (after <branch1> was merged into <master>) I rebase from master… I should have no dupes19:47
is that correct ?19:47
_ikke_ rebasing after merging is not advisable19:49
nilg` joined19:49
nikb joined19:49
nikbnikb_19:50
koell left19:50
koell joined19:51
Angelous joined19:51
mixandgo so what would be my best bet ? cherry-pick then rebase ?19:51
axl_ joined19:51
khmarbaise joined19:51
lmatteis left19:51
FortySix2 joined19:52
hooper left19:53
axl_ left19:53
ni__ joined19:53
khmarbaise left19:54
lithiumjake left19:54
lindenle left19:54
hahuang65 left19:54
mahmoud fatal: bad default revision 'HEAD'19:55
freeman42 joined19:55
mahmoud nvm.. solved.19:55
delight left19:56
G________ left19:56
luft_ left19:56
shashank_rs joined19:56
luft_ joined19:57
pbrobst joined19:57
nilg left19:58
mahmoud what does 'created mode 100644 file.txt' mean after 'git commit'19:58
tang^ it's a new, non-executable file19:58
Guest_ joined19:59
mikecmpbll left19:59
mahmoud did git change stuff? or is it just reporting file's mode?19:59
hahuang65 joined19:59
p8952 left19:59
tang^ reporting19:59
mikecmpbll joined19:59
_ikke_ Note that git only knows 755 and 64420:00
mahmoud what... non-configured git says 'm@test.org'... what is going on?20:00
p8952 joined20:00
jnavila left20:01
blinkdesign joined20:01
_ikke_ "system user name and the hostname used for outgoing mail (taken from /etc/mailname and falling back to20:02
the fully qualified hostname when that file does not exist)"20:02
mahmoud is -a already assumed there by default in git commit?20:02
delight joined20:02
Exancillatus joined20:02
_ikke_ No20:03
mahmoud so everytime i modify a file, i must manually git add it or use git commit -a?20:03
VinceZa left20:03
lov yes?20:04
mahmoud i thought that i only need to add files/dirs when i create them20:04
i.e. add once, and that's it20:04
lov not quite. You're staging your changes.20:04
This sounds like an obnoxious extra step, but it allows really powerful workflows20:04
e.g. only staging and committing part of the changes you make in a file20:04
francisfish joined20:04
pikaren left20:05
francisfish left20:05
mahmoud parts of changes in a single file?20:05
lov yes20:05
modify a few distinct parts of a file of yours, then use git add -p20:05
mahmoud lemme try. sounds cool]20:05
lov git will ask you if you want to stage each part20:05
aretecode left20:06
mahmoud do i make a new branch everytime i make git commit?20:06
lov It also lets you do things like modify configuration files for testing, but not commit that change with your other changes20:06
no20:06
you probably want to make a new branch for each feature (or even each bug!)20:06
netcarver joined20:06
Balliad left20:06
lov but you don't have to, and could just work off of master.20:06
mahmoud ok will continue watching that awsome youtube tutorial..20:07
lov you might want to read the !book if you haven't yet20:07
gitinfo There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !gcs !designers !gitt !vcbe and !parable20:07
mahmoud _ikke_: how did you generate that text file that had the commit head20:07
no way. i won't read a book for this20:07
lov there's also Git For Ages 4 and Up which kind of hammers home how git is really just a graph internally20:07
mahmoud interesting. you mean like visually it works like a graph?20:08
Balliad joined20:08
devoldmx joined20:08
khmarbaise joined20:09
lov Internally, git is a Directed Acyclic Graph, a !dag20:09
really? no trigger for that?20:09
mahmoud i know dag20:09
lov !graph20:09
gitinfo [!lol] A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all20:09
lov bleh20:09
crystal77 left20:09
mahmoud yeah dag is cool20:09
lov point is, branching is super cheap because you're just moving pointers.20:09
aretecode joined20:09
_ikke_ !gcs20:09
gitinfo [!concepts] "Git Concepts Simplified" explains the basic structures used by git, which is very helpful for understanding its concepts. http://gitolite.com/gcs.html20:09
Gizburdt joined20:09
mahmoud how does svn or other code managers branch?20:09
_ikke_ svn creates seperate directories20:10
lov ^^20:10
polyzen joined20:11
mahmoud so that just makes branches expensive space-wise?20:11
_ikke_ yes20:11
lov well, "yes"20:11
mahmoud is that the only problem of svn?20:11
_ikke_ for some values for problems, yes20:11
mahmoud i thought git makes branching cheaper cause of addressing non-space related issues too20:11
EminenceHC joined20:12
teran joined20:12
_ikke_ Well, svn used to not track merge information, causing every consecutive merge to be a full 2-way merge again, causing all sorts of merge conflicts20:12
But newer versions do track it20:12
lov not to say that merges are easy.20:13
mellernoia left20:13
erikruthven joined20:13
lov ESPECIALLY when people "branch" by just fucking copying all of their files, and don't include the metadata20:13
lov rages20:13
Snowball64 left20:13
lov ESPECIALLY when they merge changes by doing that too20:13
VinceZa joined20:14
doomlord_ joined20:14
mahmoud copying it into some directory and then push?20:14
lov basically, if you have branch A and branch B, and branch A has a commit you want to copy to branch B, SVN has a special flow for merging that change over.20:14
ezekiel|work left20:14
mahmoud _ikke_: did you just paste the output from git log?20:14
cllamas joined20:14
lov Because SVN expects you to have a different physical directory for every branch, unlike git, people will lazily just copy files from A to B20:15
_ikke_ when?20:15
xsbeats left20:15
lov and then make a duplicate commit20:15
and then merge conflicts occur because the goddamned metadata isn't there20:15
_ikke_ I didn't20:15
mahmoud _ikke_: previously when i was farting about timers20:15
lov Ask me about why I never want to work with SVN with subpar professionals again.20:15
_ikke_ mahmoud: git cat-file -p <commit>20:15
lov incidentally, the worst offenders were the same people that would commit a week's changes with a message of "fixed"20:15
IrishPrime left20:16
lov and didn't understand why they couldn't just copy directories on their local computer as source control20:16
Cork left20:16
lithiumjake joined20:16
mahmoud _ikke_: interesting... to me it seems its redundant too20:16
_ikke_ What is redundant?20:17
mahmoud is that timestamp read from logs? or is it read from the commit object?20:17
_ikke_ mahmoud: the log is built from commit objects20:18
git doesn't keep a seperate log20:18
DolphinDream anybody using git subtree ?20:18
mahmoud so the timestamp is stored in the objects?20:18
_ikke_ yes20:18
PeterBooker joined20:18
Xueqi joined20:18
AccessibleWeb left20:18
mahmoud _ikke_: when i push stuff to others, do i give them my log too?20:18
grawity git doesn't keep a separate log20:19
_ikke_ ^20:19
grawity you push commits, and `git log` just shows you all the commits, sorted20:19
AccessibleWeb joined20:19
mahmoud so everyone has his own logs and we only merge objects from others?20:19
cllamas left20:19
gkze joined20:19
_ikke_ there is no 'log' people have20:19
mahmoud i do have log....20:19
Kayra left20:20
Guest46478 joined20:20
_ikke_ There is a command called git log, which just reads all commits objects20:20
jrajav left20:20
Xueqi left20:20
ashooby if you currently have a detached head checked out is there a way to find out what branches are at that point?20:20
ril joined20:20
_ikke_ The only 'log' being stored is the reflog, but that is for different purposes20:20
mahmoud _ikke_: lies. i have .git/logs/refs/heads/master with all stuff listed there too including comments of commits20:21
grawity ashooby: git describe --all --exact-match20:21
moritzs joined20:21
_ikke_ git branch --contains20:21
ashooby grawity: ty20:21
talios joined20:21
jceb left20:21
PeterBoo left20:21
grawity though mine only prints one name, I guess20:21
try `git branch...`20:21
netcarver left20:21
_ikke_ git branch --contains20:21
khmarbaise left20:21
a-l-e left20:22
Guest46478 left20:22
Guest46478 joined20:22
Guest46478Cork20:22
ashooby _ikke_: ty as well20:22
mahmoud how can i partially commit changes to a file?20:23
_ikke_ mahmoud: git add -p20:23
AccessibleWeb left20:23
mahmoud how about git commit -a?20:23
someone talked about it being part of a powerful workflow20:23
_ikke_ that's basically the complete opposite20:24
ril left20:24
_ikke_ git commit -a says, I don't care, just commit all20:24
shortest_path joined20:24
mahmoud so when i commit stuff, i only change the current trunk?20:25
or current branch20:25
sohail left20:26
_ikke_ yes20:26
travisstaton joined20:26
harobed joined20:26
akiva left20:26
Entomo joined20:27
Xueqi joined20:27
jfarrell joined20:28
moritzs left20:28
Xueqi left20:28
teran left20:28
draftqin joined20:29
jfarrell is there a command to extract the subject and email from a patch file without applying it?20:30
snql left20:30
soerenbf joined20:30
GeoAleyPerMer joined20:31
infynyxx left20:32
EdGruberman left20:32
PerlJam jfarrell: grep? :)20:32
c74d left20:32
snql joined20:32
EdGruberman joined20:34
rnsanchez left20:34
teran joined20:34
infynyxx joined20:35
saustin_ joined20:35
AccessibleWeb joined20:36
c74d joined20:36
saustin__ left20:37
marcjs joined20:38
yacks left20:38
Not_Whatever2 joined20:39
ril joined20:39
Sabbath joined20:39
moritzs joined20:39
rnsanchez joined20:40
ashooby jfarrell: awk '/Subject:/,/---/' <file>20:40
probabl'20:40
y20:40
travisstatonfoldr20:41
Gizburdt left20:41
jfarrell ashooby: yeah, was hoping that i has just missed something in apply or am that would show the nicely rather than having to use awk, oh well20:41
Not_Whatever left20:41
SHyx0rmZ left20:42
doener left20:42
nephyrin` joined20:42
foldr left20:42
Gizburdt joined20:42
MattStratton joined20:42
davividal left20:43
Arokh left20:43
Kayra joined20:43
Sabbath left20:43
ril left20:43
ashooby jfarrell: why do you need it? could maybe work the awk line into a git alias? or just a shell alias20:43
VinceZa left20:43
JerryT left20:43
travisstaton joined20:44
travisstaton left20:44
nephyrin` left20:45
shashank_rs guys i'm in deep trouble , my friend push the changes and all the changes i commited where gone .. ?? how to recover the commit plz help ?? plz help20:45
JerryT joined20:46
dannixon_ joined20:46
JerryT left20:47
SamB shashank_rs: do you still have a local copy that had the changes before?20:48
JerryT joined20:48
SamB if so, back it up now20:48
shashank_rs yes20:48
crystal77 joined20:48
shashank_rs i have done it ..20:48
SamB: I can recover my commit ..20:49
vurma left20:49
SamB ah, well, that's good20:49
shashank_rs: wait, was that a statement or a question?20:49
shashank_rs SamB: I can recover my commit ??20:50
sory20:50
kotopies left20:50
shashank_rs SamB: i'm little nervous20:50
SamB hmm, well, try running "git reflog"20:50
blinkdes_ joined20:51
shashank_rs SamB: It shows the recent commit ...20:51
infynyxx left20:52
jagob left20:52
SamB shashank_rs: including the most recent of the ones you are looking for?20:52
shashank_rs yes20:52
foldr joined20:53
cannonball left20:53
tpollard joined20:53
veebers joined20:53
shashank_rs its showing here but on github all my changes have been removed ..20:53
endiruna left20:54
nephyrin joined20:54
zajn left20:54
Exancillatus left20:54
mixandgo left20:54
mahmoud osse: done. how long does it take for the post on the mailing list to appear?20:54
AccessibleWeb left20:54
SamB well, you can put them in a branch using e.g. "git branch lostchanges <hash-from-reflog>", where <hash-from-reflog> is replaced by the hash from that reflog line20:54
blinkdesign left20:55
veebers left20:55
_iron left20:55
sq-one left20:55
SamB shashank_rs: got that?20:55
ignas joined20:55
dannixon_ left20:55
shashank_rs SamB: something like this git branch lostchanges c8c76aa 1d7c9c9 ??20:56
mahmoud osse: done http://article.gmane.org/gmane.comp.version-control.git/24599820:56
SamB shashank_rs: er, no, only one hash at a time20:56
so probably just take the one for the most recent commit20:56
m0viefreak left20:56
shashank_rs SamB: it means i have to do this 12 times... :(20:57
SamB shashank_rs: aren't your commits all in a chain?20:57
cored joined20:57
mdhopkins left20:57
shashank_rs SamB: yes they are in one chain ....20:57
SamB try "git log c8c76aa", assuming that c8c76aa was the highest-listed commit20:58
shashank_rs SamB: oohh k ...20:58
snql|bad_interne joined20:58
SamB if that displays all the commits you were looking for, then you just need to run "git branch lostchanges c8c76aa"20:58
Exancillatus joined20:58
GuestO1102 left20:58
roymiloh left20:58
shashank_rs SamB: done .. now ??20:59
snql left20:59
lov shashank_rs: now you get up21:00
get up and dance21:00
SamB shashank_rs: well, either tell your friend not to force push, or start pushing to a repository that he can't push to21:00
lov o>-<21:00
SamB shashank_rs: also presumably you'll want to do some kind of merge21:00
xunil left21:00
GuestO1102 joined21:00
xunil joined21:00
W0rmDr1nk left21:01
Kicer86 left21:01
monbro joined21:01
lavaman left21:02
W0rmDr1nk joined21:02
lavaman joined21:02
SamB shashank_rs: but at least now you don't have to worry about your changes being garbage collected or anything21:02
monbro do you know any repo / open source search engine which enables easily a full text search for all of my accounts on various services like getpocket / asana or basecamp or ira / github issues ?21:03
DolphinDream left21:03
cff left21:03
FreezingCold joined21:03
mahmoud i think git's timestamp should include gender too21:03
or somewhere in the commits21:04
tanath joined21:04
SamB easy, just be German21:04
cjwilburn left21:04
mahmoud like "23423423424 +offset male mood:happy"21:04
german has no gender differences?21:04
lov mahmoud: patches welcome21:04
mahmoud i'm ranting. i mean someone please remove the offset :321:04
SamB mahmoud: german names are required by law to refer unambiguously to a specific gender21:05
mahmoud: the offset is important!21:05
mahmoud oh, so genders care more about genders21:05
SamB: why?21:05
JonasF left21:05
BadProphet left21:05
infynyxx joined21:05
SamB well, unless you mean "just use UTC for all the times"21:06
mahmoud yeah21:06
and let my locale handle the utc time to make it look pretty on my machine21:06
mrjensen left21:06
zumba_addict left21:06
mahmoud i guess you agree too21:07
:) 3 ppl agree with me21:07
SamB well, obviously some people will probably prefer it be known what local time they committed at, but it certainly wouldn't hurt to have an option to just use a zero offset ...21:07
infynyxx left21:07
timmi_qt left21:08
mahmoud i think it's there21:08
jcvfen left21:08
polyzen left21:09
mahmoud well i take it back...21:09
lmat joined21:09
shashank_rs SamB: Since i'm not good in git ... the final conclusion is that i can't commit my changes back to the repo ...21:09
:(21:09
mahmoud i ws thinking of git log --date=... but that doesn't change what's stored21:09
lmat I'm trying to merge branch A and B into master. I basically want git checkout master; git merge A; git merge B -s recursive -X theirs; can this be done with git merge A B -s recursive -X theirs; ?21:10
treehug88 left21:10
lmat (there are no conflicts merging A, but B conflicts with A and I want to keep A's changes)21:10
soerenbfff joined21:10
kotopies joined21:10
amunak joined21:10
timmi_qt joined21:10
amunak hello, some time ago my friend branched a git-revisioned project, made tons of changes (without a repository) and now we use our own git repo and we'd like to merge the changes with the original. Is there any possibility of doing that? Especially if I don't even know what commit he originally downloaded from?21:11
mahmoud hmm it seems iso time includes the offset too21:12
infynyxx joined21:12
mixandgo joined21:12
livingstn left21:13
treehug88 joined21:13
soerenbf left21:14
rfoust left21:14
lmat Without this solution, I'll have to man-handle each conflict that B brings ?21:14
snql|bad_interne left21:14
lmat eye-balling it, there are 6 files, it looks like the first file has some 40 conflicts ?21:15
That's a bit much for me old point-n-click!21:15
the others seem to be similar :-O21:15
MattStratton left21:15
josePhoenix left21:15
zeroknowledge left21:16
ErKa joined21:17
Sonderblade left21:20
Arokh joined21:21
sdouglas joined21:21
BadProphet joined21:21
marthinal left21:22
ignas left21:22
Samual joined21:22
PeterBooker left21:23
Gizburdt left21:23
Gizburdt joined21:24
mixandgo left21:25
rnsanchez_ joined21:26
pr0ton joined21:26
cYmen joined21:27
mishok13 joined21:27
PeterBooker joined21:27
rnsanchez left21:27
pwnz0r joined21:28
ErKa left21:28
nicoulaj left21:28
Gizburdt left21:29
maestrojed joined21:29
hellopat_ left21:29
thedodd left21:30
moritzs left21:30
dkpi joined21:31
faBimon left21:31
CKyle joined21:32
lambda joined21:32
thedodd joined21:32
Gamecubic left21:33
alorence left21:33
infynyxx_ joined21:34
lambda left21:35
shashank_rs left21:36
diminoten joined21:36
dkpi left21:36
dsdeiz joined21:36
earth left21:37
infynyxx left21:37
kukks joined21:39
Luke-Jr left21:39
jottr left21:40
ril joined21:40
Luke-Jr joined21:40
brisbin left21:41
infynyxx_ left21:41
jstimm joined21:42
axl_ joined21:42
byte48 joined21:42
infynyxx joined21:42
tmcmahon left21:42
ErKa joined21:44
eaj left21:44
lmat left21:44
jstimm left21:44
bwreilly left21:44
eaj joined21:44
descala left21:45
ril left21:45
descala joined21:46
rgr joined21:46
Gamecubic joined21:47
Pwnna left21:47
kermit left21:48
ilmgb joined21:49
dkpi joined21:49
eaj left21:49
freestyl3r left21:50
kermit joined21:50
gamera joined21:51
endiruna joined21:51
nbouscal left21:52
unknwn- joined21:52
Luke-Jr left21:53
Luke-Jr joined21:53
Luke-Jr left21:53
Luke-Jr joined21:53
matheus23 left21:55
bluesm left21:55
pr0ton left21:55
aard_ left21:55
gamera left21:56
nbouscal joined21:57
JerryT left21:59
cYmen left21:59
maslowbeer joined21:59
Dougie187 left21:59
pr0ton joined22:00
Exancillatus left22:00
xsbeats joined22:01
zackiv31 left22:01
cvanball left22:01
danman_ left22:02
elbeardmorez left22:02
sdouglas left22:02
gkze left22:02
cvanball joined22:02
BadProphet left22:02
maslowbeer hello. I'm having an issue with a remote I created for some reason. I usually git remote add new_server ssh://user@server/var/gitfolder - then i git remote show new_server and git fetch -a. Then I can git diff origin/develop new_server/master for example to see what the diffs are, or git (log|whatchanged) new_server to see what's been done, etc. Now I keep getting fatal: ambiguous argument 'new_server/master' unknown revision or path not22:02
in working tree. What am I doing wrong?22:02
tmfsd joined22:03
polyzen joined22:03
cllamas joined22:03
ngladitz left22:03
OnkelTem left22:04
ojacobson is new_server/master listed in 'git branch -a'? If not, is it after 'git fetch --all' ?22:05
CKyle left22:05
LBV_User left22:05
LBV_User joined22:05
marcjs left22:05
LBV_User left22:05
pr0ton left22:05
fatalhalt left22:05
OnkelTem joined22:06
bwreilly joined22:06
maslowbeer ojacobson, it isn't, even after fetching. however git remote show new_server shows all the right info22:06
ojacobson 'git ls-remote new_server' will tell you what, if any, refs exist in the remote22:06
BadProph_ joined22:06
ojacobson which will probably do a lot to explain why 'git fetch' isn't retrieving the ref you expected22:06
monbro left22:07
maslowbeer result is two lines with the same SHA - one HEAD the other refs/head/master22:07
pbrobst_ joined22:07
maslowbeer ojacobson,22:07
soerenbfff left22:08
jakob_ left22:08
pbrobst left22:08
DrShoggoth left22:08
rudisimo left22:08
ojacobson can you !repro 'git fetch --all' and 'git branch -a', then22:08
gitinfo Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session -- or, even better for complex issues, design a minimal case in which your problem can be reproduced, and share it with us. This will raise the odds of getting your problem fixed from about 30% to about 90%.22:08
brisbin joined22:08
ojacobson At this point I need to see over your shoulder, not just hear what you're seeing :)22:08
cllamas left22:08
Mrono left22:08
sdouglas joined22:08
Neozonz|Disc left22:09
ErKa left22:09
talios left22:09
maslowbeer oh wait lol git fetch --all did the trick I was git fetch -a . . . :-/22:10
bhldev__ joined22:11
bhldev_ left22:11
ORiON-- left22:12
FortySix2 left22:13
danman_ joined22:13
Matrixiumn left22:14
ORiON-- joined22:14
alansaul-laptop joined22:14
treehug88 left22:15
eaj joined22:15
Dreadnaught joined22:15
Dreadnaught left22:15
Dreadnaught joined22:15
thedodd left22:15
draftqin left22:15
unknwn- left22:17
amunak hello, some time ago my friend branched a git-revisioned project, made tons of changes (without a repository) and now we use our own git repo and we'd like to merge the changes with the original. Is there any possibility of doing that? Especially if I don't even know what commit he originally downloaded from?22:17
nnyk_ joined22:18
endiruna left22:19
cored left22:19
thegorn amunak: magic, not much else you can do22:20
you could try to determine from the date what he branched off of22:20
pantsman left22:20
jakob_ joined22:20
amunak well It doesn't matter all that much - just if I could avoid doing diff on all the files separately22:21
and if I could then just keep merging every update22:21
PeterBoo joined22:21
thegorn amunak: he just has a zip of changed files now?22:21
polyzen left22:21
amunak thegorn we have a repository now22:21
git22:21
thegorn amunak: yea, but what does he have22:21
skorgon left22:21
amunak he has git now too22:22
PeterBoo left22:22
ojacobson left22:22
Rastus_Vernon joined22:22
dkpi left22:22
pairofdice left22:22
amunak but there's no trace of the commit it was taken from... but even then, I could guess it and it should more or less be fine22:22
bhldev joined22:23
thegorn did he use git from the start?22:23
Destos left22:23
joelm joined22:23
thegorn like import your original project into a new git repo?22:23
skorgon joined22:23
FortySix2 joined22:23
ilmgb left22:24
xsbeats left22:24
bhldev__ left22:24
PeterBooker left22:24
kayloos left22:24
bwreilly left22:24
amunak thegorn, no, that's the problem. There was a repo, he downloaded the code, made edits for several months and now I forced him to use git instead of dropbox22:25
and he wants to merge with the original code22:25
which has changed a lot of course22:26
alexlindenlevy joined22:26
treehug88 joined22:26
thegorn so i'd clone your repo, then22:26
osse the easiest solution is to make him merge them and give the result to you22:27
thegorn git remote add his <url> && git fetch his22:27
amunak it's not my repo the original22:27
so I'd have to clone it first22:27
Xack joined22:27
amunak then merge his?22:27
thegorn git branch wag <sha1 of your wild guess as to where he branched off at, use the date to get close>22:27
amunak thanks, I'll try that22:28
thegorn git checkout wag22:28
eaj left22:28
amunak and is it better to start a new repo completly now (I had to clone the original first), or can I create it as branch or something?22:28
I guess not22:28
bhldev left22:28
thegorn git read-tree --empty && git read-tree <sha1 of his root commit> && git commit -m "my friend is a retard"22:29
nbouscal left22:29
monbro joined22:29
amunak read-tree?22:29
kotopies left22:30
thegorn git checkout -b unfsck his/master && git rebase --onto wag <sha1 of his root>22:30
amunak sheesh that seems complicated22:30
warthog9 left22:30
mitsuhiko left22:30
Luke-Jr left22:31
Luke-Jr joined22:31
thegorn well, it is, but if you want a merge to work, you have to rebase his repo as changes to your repo22:31
treehug88 left22:31
thiago joined22:32
sdouglas left22:32
cvanball left22:33
thegorn i'm pretty sure you can cut down the steps with git filter-branch and .git/info/grafts22:33
mitsuhiko joined22:33
bwreilly joined22:34
nfk left22:34
amunak well I have no idea what that is22:34
CKyle joined22:34
amunak so far I've been only using friendly GUIs and commands I found when I screw up22:34
Exancillatus joined22:34
mitsuhiko left22:35
GeoAleyPerMer left22:35
Luke-Jr left22:35
jluc left22:36
thegorn amunak: ok so the grafts thing is easier22:36
amunak yea mean that git branch wag?22:37
warthog9 joined22:37
monbro left22:37
anry left22:37
thegorn well, i don't know, where are you in the instructions22:37
or not at all?22:37
see, the whole issue is you need to get his first commit as a child commit of one of your commits, that's the only way merges work22:38
amunak I've only just cloned the original repo22:38
thegorn ok22:38
vijay13 joined22:38
thegorn so add his repo : git remote add his <url> && git fetch his22:38
amunak as I understand you can do that in a number of ways22:38
ok22:38
osse wouldn't it be simpler to merge the stuff he has commited?22:38
Silmarilion left22:38
cgar So, let's say you got a pull request fixing only whitespace. Do you accepted?22:39
osse instead of messing with grafts?22:39
thegorn osse: he took a tarball of the original git repos22:39
axl_ left22:39
thegorn he made a billion changes22:39
osse ahh22:39
thegorn then imported that into a new git repo as his root commit22:39
amunak yep.22:39
leeN left22:39
thegorn now wants to merge22:39
Luke-Jr joined22:39
osse I'd go with my original suggestion then: Give him your code, make him do the work, then copy it over and commit it22:39
and then nuke his repo22:40
thegorn amunak: ok, so you got his remote added with those commands?22:40
amunak well it's our repo now, so...22:40
nope, adding now22:40
it is huge.22:40
ril joined22:41
aboba left22:42
lowkeyliesmyth joined22:42
thegorn amunak: afterwards git checkout -b unfsck his/master22:42
bambams_ left22:43
Luke-Jr left22:43
nnyk_ left22:43
infynyxx left22:44
thegorn falls asleep22:44
thiago left22:44
JanC left22:44
dkpi joined22:44
amunak fetching now22:44
chris_thomson joined22:44
KWhat_Work left22:45
thegorn this is taking too long so i'm going to type out the rest of the directions and i'll be back on later after i drive home22:45
ril left22:45
thegorn it is pretty easy, and i appoint osse as my backup :-P22:45
amunak thank you22:45
thegorn so run git log, get the sha1 of his first commit22:46
the nrun git log master, get the sha1 of your guess as to where he might have copied from22:46
brisbin left22:46
thegorn echo "1234abc 5678def" > .git/info/grafts22:47
mitsuhiko joined22:47
thegorn where 1234abc = the full sha1 of your guess, 5678def = the full sha1 of his root commit22:47
whoop, had that backwards22:47
amunak can't I use rebase or something?22:47
dik_dak left22:47
thegorn 1234abc = full sha1 of his root commit, 5678def = full sha1 of your guess where he started with22:48
no22:48
(no to the rebase)22:48
tureba left22:48
Lemony joined22:48
thegorn and then after that run git filter-branch 5678def..HEAD22:49
kballou joined22:49
thegorn your unfsck branch should now be a regular branch and you can switch back to master and merge as normal22:49
amunak ok, thanks, will try22:49
thegorn amunak: the problem with rebase is that you have to somewhere generate the change from your code -> his first commit22:50
amunak oh22:50
why the hell does the fetch take ages22:52
bwreilly_ joined22:53
Luke-Jr joined22:54
zajn joined22:54
thegorn amunak: the fact that it is that big makes me fear that he put all the compiled results or something else dumb in the repo22:54
amunak no, I've cleaned that.22:54
nobitanobi Hi guys. In my main repository I have a folder in flash/controllers/ that contain lots of files. I have another repo in the same server that has a symlink in flash/controllers pointing at the main repository flash/controllers/22:54
amunak It has like 50MBs22:54
ilmgb joined22:54
thegorn amunak: did you clean it from history too?22:54
nobitanobi Right now when I do a git diff origin/master, I see that the file flash/controllers will be deleted. Does that mean that my folder flash/controllers/ will be gone?22:55
Exancillatus left22:55
robarell_ left22:55
amunak thegorn, I created the repo for him, it wasn't there in the first place. He used dropbox until now22:55
nnyk_ joined22:55
thegorn oh ok22:55
bwreilly left22:56
dilfridge left22:56
Kayra left22:56
uu1101 left22:57
harobed left22:57
MacWinner joined22:58
simesy joined22:58
JanC joined22:58
NotproN joined22:59
NotproN left22:59
genehack left22:59
FortySix2 left22:59
blackmesa left22:59
pbrobst_ left23:00
dilfridge joined23:00
dirt_ joined23:01
ilmgb left23:03
mahmoud why tags? why not just branches23:05
mtrovilho joined23:05
tureba joined23:06
pbrobst joined23:06
nb_bez_ joined23:06
harish left23:06
Sample left23:07
genehack joined23:07
bwreilly_ left23:08
cagedwisdom_ joined23:08
dmsuperman left23:08
pierre1_ joined23:09
iaaah joined23:10
pr0ton joined23:11
offby1 nobitanobi: my guess is 'no', but you can safely !tias by simply copying your git repository, and doing the merge there.23:12
gitinfo nobitanobi: Try it and see™. You learn much more by experimentation than by asking without having even tried. If in doubt, make backups before you experiment (see !backup). http://gitolite.com/tias.html may help with git-specific TIAS.23:12
nobitanobi offby1: I agrre with !tias. Just didn't want to screw up in production environment :)23:12
gitinfo offby1: Try it and see™. You learn much more by experimentation than by asking without having even tried. If in doubt, make backups before you experiment (see !backup). http://gitolite.com/tias.html may help with git-specific TIAS.23:12
nobitanobi thanks though.23:12
lov mahmoud: like, in general?23:12
or in particular?23:13
nobitanobi left23:13
lov tags are really meant as annotations, while branches are meant to be potentially mutable23:13
brisbin joined23:13
lov when you make a release, you mark the commit you built off of with a tag, so that there's a record of where that build came from, even if you modify your release branch.23:14
You can have release branches that have patches put into them for point fixes, etc.23:14
infynyxx joined23:14
lov knowing what 17.0.1 was built off of compared to 17.0.3 can be helpful.23:15
dkpi left23:15
rq60 left23:16
kotopies joined23:17
kotopies left23:17
rainmanjam left23:18
akim__ joined23:18
amcsi left23:19
trovilho joined23:20
warthog9 left23:20
mtrovilho left23:21
KeridosKeridos_off23:21
vr4679 joined23:21
akim left23:21
vr4679 left23:22
descala left23:23
trovilhomtrovilho23:23
mahmoud lov: why not make branches of version names?23:23
eaj joined23:24
blinkdesign joined23:24
infynyxx left23:24
warthog9 joined23:24
mahmoud hmm23:24
fatalhalt joined23:24
lov you could, there's no reason you couldn't23:24
but it would clutter up the list of branches23:24
yosito joined23:25
mahmoud that's all?23:25
^elf^elf23:25
lov tags can also be signed, which is an important factor in certain cases23:25
blinkdesign left23:25
mahmoud can't i sign branches?23:25
descala joined23:25
lov what would signing a branch mean?23:25
mahmoud use rsa stuff to sign that this is the branch from me23:25
lov that doesn't really mean anything, since branches are just pointers to commits23:25
mahmoud so when some dude merges it, it can verify that the commits in the branch are truely mine23:25
lov tags have messages, authors, etc23:26
robarelli joined23:26
mahmoud yeah i mean commits23:26
can i sign commits23:26
lov yes23:26
mahmoud why would i need to sign a tag...23:26
lov for the same reason you'd sign a commit23:26
mahmoud sounds redundant to me23:26
zumba_addict joined23:26
lov the use cases are limited but they exist23:26
mahmoud so a tag is a name for a group of commits?23:27
kadoban no, for a particular commit23:27
blinkdes_ left23:27
c74d left23:28
mahmoud and a commit by definition implies that it is preceded by a bunch of previous commits?23:28
eaj left23:28
offby1 mahmoud: I think people intend tags to be statements about which commits were _released_.23:28
kadoban it can be, yes, but i suppose you could tag the first commit if you wanted to23:28
offby1 Signing a commit means that you have to refer to the commit's sha1 hash in messages, etc; but signing a tag lets you refer to just that tag, with equal reliability.23:29
mahmoud offby1: i see... while a branch is a different league (bunch of comments some of which are not released)23:29
offby1 mahmoud: the thing about branches is that they change all the time.23:29
kadoban a branch is moving history, a tag is a fixed point23:29
ilmgb joined23:29
mahmoud yeah, makes sense no w. tags are neat. i approve them :323:29
offby1 mahmoud: today, "master" points at abcde0123. Tomorrow, who knows.23:29
dkpi joined23:29
kukks left23:30
mahmoud how to switch where master is pointing at?23:30
mtrovilho left23:30
TheFuzzball left23:30
robarelli left23:30
offby1 lots of ways23:30
jenrzzz left23:31
kadoban mahmoud: you just commit and master moves forward...or you can reset or any of several other ways23:31
offby1 most common is "git checkout master; vi some-file.c; git commit -a"23:31
mahmoud but this way master is master i'm just doing stuff to it23:31
i don't get how can master point to non-master23:31
kadoban it by definition can't, but that doesn't mean that what it points to is the same over time23:32
Guest_ left23:32
mahmoud yeah now it's OK23:32
hirani left23:32
Segfault_ joined23:33
alexlindenlevy left23:33
maqr left23:34
jfarrell left23:34
Not_Whatever2 left23:34
jenrzzz joined23:34
ilmgb left23:34
VinceZa joined23:36
monbro joined23:36
VinceZa left23:37
VinceZa joined23:37
ErKa joined23:37
mahmoud i said git rm file.txt; how to undo th e removal?23:37
osse git stTuz23:38
snuffeluffegus joined23:38
osse git status will tell you23:38
mahmoud git reset..23:38
danman_ left23:39
mahmoud wut..23:40
ril joined23:41
mahmoud if i revert to a very old commit, will get automatically walk all the down? or should i revert one by one until i reach that old commit ?23:42
wakd left23:42
hellome joined23:43
SamB mahmoud: you want to rollback?23:43
fatalhalt_ joined23:43
osse up to you23:43
Vampire0 mahmoud, is this a fresh question or related to the git rm question?23:43
SamB I think you can pass a revspec?23:43
mahmoud fresh23:44
SamB mahmoud: or, well, with git reset you just get to wherever you said to go23:44
mahmoud so when i move backward, i can jump and git will revert one by one until i reach that old point23:44
but when i move forward i cannot jump or merge conflicts may happen23:44
akim__ left23:45
osse do you want to revert the changes introduced by a commot, or revert to tbe state of a certain commit?23:46
akim joined23:46
offby1 mahmoud: !cs23:46
gitinfo mahmoud: "Git for Computer Scientists" is a quick introduction to git internals for people who are not scared by phrases like Directed Acyclic Graph. http://eagain.net/articles/git-for-computer-scientists/ See also !concepts !bottomup23:46
ril left23:46
fatalhalt left23:47
mahmoud neat..23:47
jenrzzz left23:47
acharlieh left23:47
AaronMT left23:48
monbro left23:48
jenrzzz joined23:49
pr0ton left23:49
Balliad left23:49
maxime__ joined23:49
amunak oooh fuuuck that filter-branch rewrites 15000 commits23:49
I think I'll let it run overnight -_-23:50
pr0ton joined23:50
pr0ton left23:50
Kayra joined23:50
osse !bfg23:50
hmm23:50
c74d joined23:50
offby1 I assume that filter-branch, if it touches any commit C, must necessarily therefore touch every commit "downstream" of C.23:51
Lemony left23:51
offby1 So if C is, say, the first commit, it'll touch every commit.23:51
Kayra left23:51
Kayra joined23:52
cllamas joined23:52
fatalhalt_ left23:53
pen left23:54
yosito left23:55
Kayra left23:56
maxime__ left23:56
lavaman left23:57
maxime__ joined23:57
cllamas left23:57
jenrzzz left23:57
becks__ left23:57
cephalostrum left23:57
pbrobst left23:58
shinnya joined23:58
jcw4 left23:59
john2x joined23:59
cephalostrum joined23:59

Logs Search ←Prev date Next date→ Channels Documentation