IRCloggy #git 2011-07-17

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.

2011-07-17

aLinux i dont have ~/.ssh folder, http://help.github.com/linux-set-up-git/00:00
cd ~/.ssh00:00
caseymcg left00:00
aLinux what to do ?00:00
hsb mkdir .ssh :)00:00
_iron left00:01
rideh joined00:01
Xanax left00:01
Pathin joined00:01
BinGOs go to Step 3.00:02
jutaro left00:03
spearce left00:03
aLinux i don't have $ cp id_rsa* key_backupCopies00:03
id_rsa*00:03
not id_rsa* in .ssh00:04
Corren left00:04
chrisf left00:04
Pathin left00:04
BinGOs cd ~/.ssh "If it says “No such file or directory“ skip to step 3. Otherwise continue to step 2."00:05
thews left00:05
thews joined00:07
Yuuhi left00:07
spearce joined00:07
j0llyr0t2en left00:07
j0llyr0tten joined00:07
Pathin joined00:07
Pathin left00:08
Pathin joined00:08
leavittx left00:09
_pr0t0type_ joined00:12
brian_g left00:13
v4n_ left00:14
Adys I haven't seen any announcement or anyone talking about it, but for those still interested, (since a couple of days?) google code now supports Git.00:14
j416 left00:15
p3rror left00:15
aLinux left00:17
fp1 Where's 1.7.6 for Mac OS X?00:19
offby1 aliceinwire: you could also try "ssh localhost true"; that will probably create the .ssh directory for you. The benefit of doing it that way is that the permissions will be correct.00:19
oops, that was meant for alinux00:19
joshsmith joined00:20
nibalizer left00:23
phretor joined00:23
cesario left00:25
Dreamer3 left00:26
codatory joined00:27
sword left00:34
canton7 left00:34
leavittx joined00:38
snitko joined00:38
banisterfiend joined00:42
jsjgruber_ joined00:42
airstrike left00:46
worstadmin joined00:47
snitko left00:47
tty1 joined00:47
worstadmin If I want to start a new git repo based off an existing, is the best way to just git init and cp -R the old one?00:47
snitko joined00:48
jsjgruber_ left00:48
worstadmin Ie, I need to form a branch but I dont have write access to the repo00:49
In essence it's a fork00:50
dwmw2_gone__ joined00:50
dwmw2_gone_ left00:50
sword joined00:52
bremner worstadmin: just clone it?00:53
what is the problem exactly?00:53
Pathin left00:53
worstadmin bremner, Im start a repo based off an existing repo that wont be commit changes upstream00:54
bremner so?00:54
worstadmin *starting00:54
bremner nothing says you have to push to repo you clone from00:54
worstadmin Er will when they push its going to the origin right?00:55
*well00:55
Im going to need people to clone and push00:55
bremner you can change the origin after you clone00:55
worstadmin Okay let me rephrase this: Theres a repo that I will be forking - and this new repo based off it will have different code. So when I clone the existing I now need to put it under new management /new devs/ etc00:56
Isnt the best way to do that to simply create a new git repo and copy in the old code?00:56
Since it will have new origin/new logs/etc?00:56
rtyler left00:57
worstadmin I mean I would have to, even setting a new 'git remote add myorigin' when they clone that will they recieve 'myorigin' >00:58
p3rror joined00:58
bremner worstadmin: are you saying you want to discart the old history? why?00:59
psoo joined00:59
bremner s/discart/discard/ ?00:59
nibalizer joined01:00
worstadmin bremner, Im cloning a repo with no write access. I need people to be able to edit/track/push code based on that codebase.01:00
bremner worstadmin: I do this all the time. clone. then git remote set-url origin01:01
worstadmin And I point the new remote at a fresh git repo?01:02
bremner sure01:02
and git push --all01:02
worstadmin Sure or yes?01:02
Sorry but sure could mean like "well yeah but thats dumb" hah01:02
bremner yes01:02
worstadmin Ah okay, ty01:02
Thanks that worked perfectly01:04
bremner great.01:04
BlindOracle joined01:04
Pathin joined01:06
rvsjoen left01:08
rvsjoen joined01:08
Dave^| left01:08
snitko left01:09
snitko joined01:10
sitaram necromancer: I just woke up but I have to go out for an hour or two. My quick diagnosis is that the compile failed because you added a comma to the username (gitolite uses spaces to separate tokens)01:12
bremner: ^01:12
necromancer: so you ought to be able to fix that, re commit, and push. Should work (if "info" is still showing you "R W ...")01:12
spearce left01:13
agilo joined01:14
p3rror left01:14
agilo is it a security risk to develop from a server (and have a private key stored there)? If so, what's the common way to go about developping from a server?01:14
sitaram bremner: in latest git (not even tagged yet, but pushed to pu) dont-panic has been replaced by even more generic "gl-admin-push". This is because some guys made changes that even gl-dont-panic could not fix!01:15
bremner sitaram: users never cease to impress me ;)01:17
zamabe joined01:17
gusnan left01:17
jimjastajay left01:18
lahwran for someone who has never used git before, should I recommend git-cheetah or tortoisegit?01:18
sitaram me too!01:18
Davey_ joined01:18
ProLoser|Mobile what's dont-panic?01:18
bremner lahwran: people into gui's seem to like git-extensions01:18
ProLoser|Mobile lahwran: are you on win?01:18
sitaram ProLoser|Mobile: gl-dont-panic; a program that comes with gitolite to help if you managed to lock yourself out01:18
ProLoser|Mobile lahwran: turtoisegit ain't bad but i really liked learning the shell+git-gui combo01:19
lahwran I am at the moment, but not normally. I also am used to cli git.01:19
I'm saying, what should *I* recommend to a team of people whom I will be setting up with git01:19
cakehero joined01:19
ProLoser|Mobile i taught a team of people using cli+gui01:19
up to you honestly01:20
i've tried lots of different solutions and i have mixed opinions and jump from one to another a lot01:20
ISF joined01:20
lahwran well, git-cheetah appears to be a separate implementation of what tortoisegit does01:20
BlindOracle left01:20
lahwran git-cheetah is built into msysgit by the looks of it, but also appears to be less mature (I'm saying all this without having installed either yet)01:21
ProLoser|Mobile i've never used cheetah01:21
i'm on a mac, there are a few solutions here like git tower01:21
and now github came out with a mac app too01:21
lahwran alright01:22
ProLoser|Mobile but the gui's are all really slow01:22
i git gui to stage and commit changes, but i do everything else via cli01:22
namely because it's easier to review changes using the gui01:22
kerrick joined01:22
lahwran alright, I'll recommend tortoisegit then01:22
hopefully it won't turn out to be a horribly wrong choice01:22
psoo left01:22
codatory I do complex commits with GitX on the Mac, everything else I use terminal commands and bash aliases / functions :-)01:22
bremner lahwran: any reason you are not considering git extensions?01:23
lahwran git extensions?01:23
codatory I usually recommend git-gui to people because then they don't use it as a crutch too long ;-)01:23
lahwran what is git-gui?01:23
bremner lahwran: it's another gui01:23
v4n_ joined01:23
lahwran is that the other option under "windows explorer integration" in the msysgit installer?01:23
cakehero left01:24
_pr0t0type_ left01:25
phretor left01:28
snitko left01:30
snitko joined01:30
caseymcg joined01:32
Corren joined01:33
andrewpthorp joined01:38
Fudge left01:39
snitko left01:40
Fudge joined01:40
dr_win joined01:50
Anubisss left01:51
caseymcg left01:52
Vampire0 left01:54
tuv joined01:55
Dreamer3 joined01:55
tuv left01:55
snitko joined01:56
glennpratt joined01:57
andrewpthorp left01:59
fbass joined01:59
spearce joined01:59
chrijon left02:01
Danny_Joris joined02:02
fowlmouth getting this error trying to clone02:04
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://github.com/Mon-Ouie/ray.git/info/refs02:04
Vampire0 joined02:07
kennethreitz left02:08
Danny_Joris hi all, I'm wondering: is it possible to hotlink to github projects? Kind of what google does for jquery for example? There is this open source project CodeMirror, I'd like to see hosted somewhere (preferably on google). Would this be possible with github as well? https://github.com/marijnh/CodeMirror2 https://raw.github.com/marijnh/CodeMirror2/master/lib/codemirror.js02:10
Chillance left02:12
fbass left02:12
fbass joined02:13
lunks left02:14
sadmac left02:14
snitko left02:15
snitko joined02:15
sadmac joined02:15
ProLoser|Mobile left02:16
DrDogwelder joined02:17
Danny_Joris left02:17
Scott0 joined02:18
hyperair joined02:19
caseymcg joined02:19
v4n_ left02:20
angelsl joined02:22
v4n_ joined02:23
caseymcg left02:23
hyperair left02:25
nikhgupta joined02:29
v4n_ left02:30
caseymcg joined02:30
v4n_ joined02:30
leavittx left02:31
akosikeno left02:32
BiggFREE joined02:32
phaedrix left02:33
BiggFREE left02:34
TomyLobo left02:34
BiggFREE joined02:34
hyperair joined02:34
spearce left02:34
chrisf joined02:35
phaedrix joined02:36
guns left02:38
snitko left02:40
bblfish_ joined02:40
snitko joined02:40
fp1 left02:41
Xanax joined02:41
bblfish left02:42
bblfish_bblfish02:42
BiggFREE left02:44
cherro joined02:48
macabre joined02:50
towski left02:54
arunce joined02:54
shiba_yu36 joined02:55
Xanax left02:56
DrDogwelder left02:57
msieradzki left02:58
shiba_yu36 left02:59
shiba_yu36 joined03:01
snitko left03:02
snitko joined03:03
zamabe left03:06
cherro left03:07
pheaver left03:12
tomas_w joined03:13
Fudge left03:20
pheaver joined03:20
pheaver left03:20
Fudge joined03:22
snitko left03:22
n8o-mba joined03:23
muneeb joined03:26
muneeb left03:26
ivan left03:26
ivan joined03:26
muneeb joined03:26
Corren left03:27
kermit left03:31
v4n_ left03:32
kermit joined03:36
kukks left03:36
snitko joined03:38
snitko left03:42
snitko joined03:43
lahwran do passphrases work in tortoisegit with openssh?03:44
MetaMucil joined03:45
krz joined03:48
djbpython joined03:50
EricInBNE left03:52
anzime joined03:54
EricInBNE joined03:54
AAA_awright lahwran: They do iirc, I haven't used it in a while03:55
zamabe joined03:56
rchavik joined03:57
snitko left04:02
snitko joined04:02
glennpratt left04:03
shedammit left04:05
Corren joined04:06
Chibby_ left04:08
Chibby_ joined04:09
Pathin left04:09
sechrist left04:10
towski joined04:10
rideh left04:10
n8o-mba left04:11
Pathin joined04:12
n8o left04:12
n8o joined04:13
rideh joined04:15
rchavik left04:18
TML joined04:21
Corren left04:21
mikew3456 joined04:22
Chibby_ left04:22
nikhgupta left04:23
Chib joined04:23
ChanServ set mode: +v04:23
mikew3456 how can i check the diff's of all files between two commits04:23
mDraze left04:24
cytrinox_ joined04:26
shiba_yu_ joined04:27
shiba_yu36 left04:27
rchavik joined04:28
DarkHouse joined04:29
glennpratt joined04:29
agilo left04:29
cytrinox left04:29
cytrinox_cytrinox04:29
seivan left04:30
quentusrex joined04:30
n8o left04:31
n8o_ joined04:31
diegoviola left04:32
codatory mikew3456: git diff commit1..commit204:34
sechrist joined04:34
mikew3456 thx04:35
diegoviola joined04:37
mikew3456 left04:40
snitko left04:42
snitko joined04:43
Chib left04:44
andrewpthorp joined04:45
Chib joined04:45
codatory left04:46
seivan joined04:47
mandric joined04:49
bitri joined04:50
akosikeno joined04:53
madewokherd left04:53
BlindOracle joined04:54
alberto56 left04:55
glennpratt left04:56
Bass10 left04:58
nikhgupta joined04:59
Dreamer3 left05:01
snitko left05:02
Dreamer3 joined05:02
Davey_ left05:04
snitko joined05:04
accel joined05:05
accel is it possible to store a git repo in "chunks?" for example, suppose I am encryting my repo + backing it up to a remote server. Instead of encrypting the entire repo historye very time, I want to do thigns like: "encrypt commits 1-100; backup; encrypt commits 101-200; backup; encrypt commits 201-300; backup; ... " i.e. access the git repo in chunks ... and then, somehow, magically ahve a way to assemble the chunks back together05:06
max_ joined05:06
max_ left05:07
Synthead joined05:08
Synthead is there a way I can host a folder from a git repo via apache (httpd) for development purposes?05:08
dr0id joined05:08
diegoviola left05:08
aLinux joined05:09
aLinux hi05:10
thiago left05:12
aLinux how can i remove a repository ?05:12
https://github.com/repositories/new05:13
Kreative` left05:13
arooni left05:13
ilteris left05:15
ilteris joined05:15
n8o_ left05:15
n8o joined05:16
aLinux after forking a project from github i get the original contributor name at top05:19
how can i remove/undo forking that project ?05:19
Prasad joined05:21
sou_ joined05:21
rideh left05:22
n8o_ joined05:23
bitri left05:23
diegoviola joined05:23
n8o_ left05:23
n8o_ joined05:24
n8o left05:24
n8o_ left05:24
n8o joined05:24
sou_ left05:31
aLinux how can i check the list of repository i have made ?05:31
leavittx joined05:32
avinashhm joined05:33
dfr|mac joined05:35
aLinux left05:41
sou_ joined05:45
SimonNa joined05:47
sonnym joined05:48
caseymcg left05:49
Saumil joined05:49
Chib left05:51
Chibby_ joined05:51
accel left05:52
cccaldas_ joined05:52
bgerber left05:52
cccaldas_cccaldas05:53
cccaldas left05:53
cccaldas joined05:54
kjdavies_kjdavies05:55
Prasad left05:58
MetaMucil left06:02
pheaver joined06:02
bluj joined06:04
rvsjoen_ joined06:06
aminpy joined06:08
rvsjoen left06:08
jutaro joined06:09
preflex_ joined06:11
Fullmoon left06:11
Synthead left06:12
preflex left06:12
beautifulmind joined06:12
n8o left06:13
Fullmoon joined06:13
necromancer sitaram: i was able to fix it, thanks!06:18
anzime left06:19
cccaldas left06:19
Fullmoon left06:20
zivester left06:20
mandric left06:21
fp1 joined06:27
catsup left06:28
catsup joined06:28
d0k left06:28
nikhgupta left06:31
deepthinker82 joined06:35
optixx left06:36
optixx joined06:37
jutaro left06:37
cccaldas joined06:39
Saumil left06:39
bn_ joined06:40
MikhX left06:40
dfr|mac left06:40
chrisf|laptop left06:42
NetRoY joined06:43
MavJS left06:44
jutaro joined06:45
anzime joined06:46
anzime left06:47
kriegerod joined06:49
JigABoot joined06:49
JigABoot I spent three nights on Neverland Ranch when I was 13! Michael Jackson and I had so much fun cuddling in bed, climing trees, and riding gokarts. One day when we were climbing a tree, he yanked down my shorts and underoos! Then he proceeded to tap his hard 8 inch cock on my cheeks, spit in my crack, and slowly slip it in. It hurt at first, but then I got this raging woody!06:49
jutaro left06:50
seivan left06:52
fowlmouth lol06:53
suzzy joined06:53
airborn joined06:54
bn_ hi. I'm using git v1.7.4.4 and have created a remote tracking branch A off master, pulled it down, made some some commits & pushes, then made a new local branch A' off A to test if the buildmaster's updates to master would merge in cleanly to A. After safely merging in updates from master to A', I switched back to A and merged that merge in. Several commits & pushes later in A, I switch back to A' to attempt to merge in the new changes I made06:55
MavJS joined06:56
chrisf|laptop joined06:56
beautifulmind left06:57
airtonix_ joined06:58
airtonix left06:59
bn_ note, FWIW, master is also a remote tracking branch07:00
snitko left07:01
lunks joined07:04
lunks hey, any operators around?07:04
lstarnes joined07:05
tewecske joined07:05
mikeym joined07:05
fowlmouthlinux-cry-babies07:06
lstarnes left07:06
linux-cry-babies left07:06
mst joined07:06
ChanServ set mode: +o07:06
mst set mode: +b07:06
mst kicked suzzy (suzzy)07:06
mst set mode: -o07:06
pheaver left07:06
lunks mst: thank you07:06
mst lunks: do make sure to explain to the ops what happened and why when they turn up so nobody comes and yells at me :)07:07
lunks mst: I surely will. :)07:07
jutaro joined07:07
mst good. because otherwise I may cry. and I'll bill you for the kleenex :)07:07
have fun.07:07
mst left07:07
sechrist left07:07
NetRoY left07:07
bn_ took a look at the man page for "git merge" too, but it also didn't seem to help :/07:08
seivan joined07:09
drev1 left07:12
jutaro left07:13
scyx joined07:13
seivan left07:16
bn_ anyone?07:16
maestrojed left07:16
JigABoot left07:16
maestrojed joined07:17
cesario joined07:18
f0i left07:19
drev1 joined07:20
bn_ ack! figured out my mistake, disregard my question07:20
haydenmuhl joined07:22
cccaldas left07:22
mikeym left07:23
drev1 left07:24
drizzd joined07:25
airborn left07:28
f0i joined07:29
fbass left07:30
iXeno left07:33
mikeym joined07:37
mikeym left07:37
mikeym joined07:37
mikeym left07:37
iXeno joined07:38
flexd left07:39
flexd joined07:39
brainbox1100 joined07:44
dr0id left07:45
brainbox1100 I just did a pull and have an unmerged path "both modified: ProjectDetailView.xib" is there a quick way to use my version and throw away the one that was pulled? Since I know mine is right?07:46
seivan joined07:46
seivan left07:48
Phoul joined07:48
fp1 left07:50
razvand joined07:52
vmil86 joined07:53
razvand Hi! I have a local Git repository clone that I want updated each time I do a commit from a remote clone. I used a post-receive hook but it doesn't work. Is there a proper way/hook to handle this?07:55
Adaptee left07:57
dwmw2_gone___ joined07:57
jast left07:58
dwmw2_gone__ left07:58
seivan joined08:00
Adaptee joined08:00
rfx joined08:01
joshsmith left08:04
bn_ brainbox1100: I think there may be a shortcut mentioned in the man page for git merge. In general though you should avoid doing a merge if you have local changes. If you do, you should stash or commit first...08:05
hth, night!08:05
bn_ left08:05
kane77 joined08:05
jutaro joined08:06
seivan left08:09
muneeb left08:10
towski left08:11
phretor joined08:11
jast joined08:14
paissad joined08:14
bblfish_ joined08:15
seivan joined08:15
paissad hello guys, i would like to see the differences of contents between the commit & the HEAD in the remote repository08:15
is it possible ?08:15
airborn joined08:16
Phoul left08:17
bblfish left08:17
bblfish_bblfish08:17
bgerber joined08:20
delian66 joined08:21
muneeb joined08:24
rfx When I use git status I see a file being marked modified, but git diff doesn't show me anything. How can I find out what git means exactly with modified?08:25
namemon joined08:27
haydenmuhl rfx: The changes are probably in the index. Does it also say "Changes to be committed:"?08:28
bauruine left08:30
bgerber left08:30
bauruine joined08:31
rfx haydenmuhl: yes. I've ran git add --all because I swapped a complete source tree08:32
DarkHouse left08:32
haydenmuhl rfx: You want "git diff --cached"08:33
That shows you what is in the index, and what will be committed if you run git commit immediately.08:34
bgerber joined08:34
ProLoser|Mobile joined08:35
rfx oh god, I just hit me from above what you mean. Sorry, not enough coffee, of course :)08:37
seivan left08:37
rfx s/I/it/08:37
hachque joined08:37
tansell-laptop left08:38
rfx Is it possible to have git ignore whitespace changes completely? I've to sync two big trees with thousands of files. git diff -b spares me the whitespaces. But git add doesn't know about it. I.e. I don't want to add files whose content only differ in whitespace, is that possible?08:40
I.e. when git diff -b does not show anything, don't add the file to the index?08:42
caseymcg joined08:42
haydenmuhl I don't see anything in the git add man page. You could git diff --name-only to get the list you want, and only add those.08:44
You might be able to pipe the output of git diff into git add...08:44
muneeb left08:45
jfkw left08:45
muneeb joined08:46
cbx33 joined08:47
haydenmuhl Nevermind. That doesn't seem to work.08:47
cbx33 is git gui included in the msysgit package?08:47
drizzd yes08:47
j416 joined08:48
cbx33 sweet08:48
thanks08:48
Mac OS too?08:48
hey j41608:48
j416 o/08:48
drizzd cbx33: I would be surprised if it was not08:48
rfx haydenmuhl: I see, thanks for your hint. I'll try it in bash itself then.08:49
cbx33 actually j416 should be able to answer08:49
drizzd were not08:49
j416 ?08:49
cbx33 is git gui provided in MacOS git?08:49
j416 yes08:49
well08:49
I'm not sure what you mean by mac os git08:49
is there a difference?08:49
haydenmuhl rfx: I tried it out, and the -b and --name-only flags don't play well together.08:49
cbx33 ok08:49
how do you get Git for MacOS how is it packaged?08:50
haydenmuhl rfx: --name-only will always give you the names of files which only differ by white space.08:50
j416 I'm not sure if the bundle they make for download on the site is any different08:50
rfx haydenmuhl: yes, I tried it to. I meant I'll do "for each file call diff -b" and based on the result git add it or not ...08:50
j416 I compile it from source.08:50
cbx33 is that the only choice for MacOS users?08:50
j416 cbx33: 10:50 j416: I'm not sure if the bundle they make for download on the site is any different08:50
haydenmuhl rfx: Ah, I see. That's probably a good idea.08:50
j416 s/make/make available/08:50
cbx33 ahh08:51
airborn left08:52
rfx haydenmuhl: unfortunately that status code of git diff -b also doesn't change :-( So I really have to look at the output off it.08:54
haydenmuhl rfx: Not difficult. Just check for zero length output.08:55
caseymcg left08:55
scyx can anyone help me out with understanding something about remote branches? i've added a few remote branches to a git repo, but whenever i go git clone on it, the new repo doesn't have those remote branches. am i doing something wrong?08:55
rfx haydenmuhl: true. Came up with this now; slow as hell but seems to work: git status -s|grep '^ M'|sed 's/^ M //'|while read file; do test -z "$(git diff -b $file)" ; if [ "$?" != "0" ]; then echo "git add $file"; fi; done08:56
Ignoring things like problematic characters and whitespace in filenames for now ...08:56
[intra]lanman left08:57
haydenmuhl I'm no bash guru, but I find quoting all your variables to be helpful.08:57
tore_ joined08:58
j416 bash trims whitespace and splits values up into words unless you quote when you assign.08:58
s/values/the value/08:58
rfx So in my case this should probably be sufficient: test -z "$(git diff -b "$file")"08:58
mjt that's true for any shell (incl. csh and derivates)08:59
j416 in that case you have to escape the inner "s08:59
munichlinux joined08:59
rfx zomg. git is so great. I figured it automatically (!) quotes filenames with special chars and such. wow09:00
never saw any other tool doing that so far09:00
mjt rfx: for this very test - verifying that there's no changes - you may use git diff --exit-code09:00
munichlinux left09:01
j416 rfx: another way to go is commit everything, diff that, then amend without the whitespace differences09:01
mjt and write the test like if git diff --exit-code ... ; then echo changed; else echo unchanged; fi09:01
munichlinux joined09:01
rfx mjt: wow, very cool09:01
j416 mjt: nice :)09:02
mjt speaking of quoting filenames -- ls(1) does that too for several decades.09:02
j416 thanks09:02
rfx mjt: but not by default? when I "ls" over a dir with a file name with a space in it, it does nothing special afaics.09:04
$ ls|grep ' ' # => foo bar ; without quotes or anything09:04
optixx left09:04
j416 rfx: so, what is it that you want to achive? You want to add only lines that were actually changed?09:05
(avoiding whitespace differences?)09:05
optixx joined09:05
juangiordana joined09:05
cbx33 left09:06
mjt rfx: for ls it's historical, so that all ls implementations work the same for basic operations. ls -b, ls -Q or ls --quoting-style= (from memory, manpage should have more details)09:06
SimonN joined09:07
rfx mjt: I see. yeah well, my real point actually was that it works expected usable out of the box. No one thinks (ok, bold statement, but...) about adding this (as default) options to ls, imho09:07
nmemon joined09:07
SimonN left09:07
SimonNa left09:07
j416 rfx: what is the task?09:08
mjt i think diff does some quoting by default (in diff -r)09:08
SimonNa joined09:08
juangiordana left09:09
namemon left09:11
nmemonnamemon09:11
resmo_ left09:11
airborn joined09:12
muneeb left09:12
juangiordana joined09:14
mjessome left09:14
j416 gives up solving rfx's problem09:15
dr0id joined09:17
Pupeno joined09:21
juangiordana left09:23
juangiordana joined09:25
Amorphous left09:27
brian_g joined09:27
seivan joined09:29
Nuck left09:30
kerrick left09:30
feefree joined09:32
chrischambers joined09:33
feefree left09:38
diegoviola left09:39
rfx j416: I thought I had solved the problem, sorry was away tinkering with it09:40
j416 rfx: so what is the problem?09:40
haydenmuhl left09:40
rfx but I realized I still have troubles with files with problematic characters in it. Takes for example: git status -s|grep '^??'|grep /fm # => ?? "http/images_neu/startpage/fm\t.jpg" . Shows a file with a, yes, a tab in it. I thought I can use output of git status to simple feed it to git add if I want to, but it doesn't work: git add "http/images_neu/startpage/fm\t.jpg" gives: fatal: pathspec09:42
'http/images_neu/startpage/fm\t.jpg' did not match any files09:42
j416 ..I still don't know what you want to achieve09:42
Amorphous joined09:43
rfx I go through the output of git status currently, apply a pattern with grep on it and want to add these files to the index. But I can't get it working for files with special characters, because the file name produces by git status is not accepted for git add09:43
j416 no09:44
I want to know what you want to achive09:44
not what you are failing to do09:45
end result09:45
angelsl left09:45
rfx only add files matching a certain pattern to the index09:45
j416 and why do you want to do this?09:46
rfx (the files are not known yet at all)09:46
need them commited to the branch, so I can later diff two branches09:46
j416 what is the certain pattern?09:46
rfx j416: good question. now that you ask: all untracked files.09:47
angelsl joined09:47
j416 rfx: git add . && git commit09:47
=09:47
?09:47
adds everything09:47
rfx forget that pattern, I mis-worded that completely because I was so focused on git status output09:47
Only untracked files, not everything. I've other files I don't want to add.09:48
j416 I thought you were saying something about whitespace at first09:48
rfx that has been solved already09:48
I just hit the next riddle09:48
j416 ok..09:48
BinGOs isn't that what .gitignore is for09:48
rfx j416: I apologize for not making that clear, I see now. sorry09:49
j416 rfx: if your solution was what you had above, it's not very elegant :)09:49
but you seem to be happy with it09:49
about untracked, I dunno09:49
rfx j416: I'd be interested to know a more elegant solution in case you want to.09:52
j416 rfx: well I don't know the problem, so.09:53
rfx j416: I thought you referred to the whitespace problem above when you said "not very elegant"?09:53
j416 but n/m, if you are using that and it works, why change it :)09:53
rfx: indeed09:53
rfx I'm confused now09:53
feefree joined09:53
j416 whitespace problem09:53
I don't know what you wanted to achieve09:53
rfx j416: from all the modified files, excludes files from being added to the index when their whole content only differs in whitespace (i.e. git diff -b has no output)09:54
j416 (and for the other problem, I assume you are scripting this? otherwise you can use 'git add -i' and get a nice list of untracked files, and add them)09:55
BinGOs o.O09:55
feefree left09:56
j416 rfx: but you want to add whitespace diffs if they are in the same file, if there is only a single unrelated change in that file?09:56
rfx j416: sorry, parse error .. could you rephrase that? But if you're asking about the same file: yes, only for a file itself.09:57
j416 i.e. you only removed whitespace from line 1, but you actually changed the real content of line 509:58
do you still want to add the whitespace-only change in line 1?09:58
rfx j416: you asking because of hunks? That doesn't matter in that case. If any real content of a file changes, just add the whole file; no concern about individual hunks.09:59
j416 rfx: is that the desired result, or is it just because you think it's easier?10:00
rfx j416: desired10:00
j416 hm ok10:00
nenopera joined10:00
j416 my solution would be adding only actual changed lines10:01
sorry for taking your time. :)10:01
TTilus left10:01
rfx oh10:01
seivan left10:01
rchavik left10:02
bla left10:02
bla joined10:02
rfx well .. you're question missed an option "don't care" would actual. I didn't though in terms of "easier", just I didn't care really. So I think I see where you're heading and that would be certainly interesting how to do this.10:02
leavittx left10:02
j416 ok10:02
seivan joined10:03
j416 so I guess you want the effect of having all extraneous whitespace removed first, then commit the result, without actually removing the whitespace, just finding the changed content?10:04
rfx That sounds ok ... (except that "removed first" sounds dangerous, i.e. modifying the files before commiting...)10:05
ChanServ set mode: +v10:05
j416 'effect of'10:05
rfx ack10:05
j416 sounds ok or sounds like what you want?10:05
sigh10:06
rfx err, both. sounds ok what I want10:06
nenopera hi everyone10:06
I'm using https://github.com/wmanley/git-meld.git to make branch directory comparisons and found something extrange10:06
sorry about my english10:07
I clone git-meld repo in ~/bin , to keep tracks on changes to the project, but found that git think git-meld directory is an alias (but It is a directory)10:08
Rejinka left10:08
ioerror__ nenopera: I guess ~/bin is in your PATH and your directory is called git-meld. that's expected..10:09
Rejinka joined10:09
nenopera but it is a directory, git must not try to execute it10:10
ioerror__ nenopera: ~/bin is usually not the right place to put source code10:10
nocturnal joined10:10
nenopera ioerror: I know10:10
ioerror__ nenopera: if it's in your path it's a place to put executables10:10
j416 rfx: I did something similar a while ago for someone here, that's why10:10
found it, but there should be a more elegant way of doing it still: http://pastie.org/217300110:11
ioerror__ nenopera: why do you want it to sit there?10:11
j416 rfx: slightly different problem though, he had already committed everything and wanted to split it10:11
nenopera Ioerror: to keep track on changes easily. I use git config --global alias.meld \!~/bin/git-meld/git-melp.pl10:13
kumbayo joined10:13
TTilus joined10:14
nenopera ioerror: my poor man solution is to call git-meld meld-git and it works, but I think git shouldn't consider git-meld directory a executable10:14
rfx j416: interesting solution ... basically you use the output of diff -b, pipe into apply and thus the whitespacs changes are ignored10:14
ioerror__ nenopera: what you should rather do: put it in ~/src/meld for exampled and softlink ~/bin/meld to ~/src/meld/meld.bin whatever, then configure meld as git merge tool.10:14
j416 rfx: yeah10:14
rfx: not ignored, but revese-applied10:15
reverse*10:15
ioerror__ nenopera: it must because this is how the whole external command thing works10:15
rfx j416: thanks for that, I'll see how I can replace it with my current solution to see them compared10:15
kmox83 joined10:15
Chib joined10:16
Chib left10:17
ioerror__ nenopera: see man git-config merge.tool10:17
jast nenopera: *automatic message* the 'git-config' manpage can be found at http://www.kernel.org/pub/software/scm/git/docs/git-config.html10:17
rfx on to the next problem :) back to the "only add untracked files" problem ...10:17
Chib joined10:17
Yuuhi joined10:17
j416 rfx: I was about to make an example for you, but since I don't know exactly what you have and how you want to apply it, it's a bit useless.10:17
rfx: so I'll not do that10:17
rfx: I gave you a possible solution to the add untracked files10:18
was it not sufficient?10:18
rfx j416: perfectly fine, I think the basic concept is important (piping diff/apply) and I'll toy around with it10:18
j416 I assume you need to do this in a script then?10:18
rfx j416: wait, you did? mom10:18
j416 rfx: you should be able to diff it without committing even, if that was what I did in the example10:18
(diff the index and modify it)10:19
("git apply --cached" I think)10:20
phretor_ joined10:20
phretor left10:20
rfx j416: about the untracked file issue: you suggested git add . , but that will add all changes, I only want to add the untracked files10:20
kmox83 left10:20
Rejinka left10:20
nenopera ioerror: I will use ln -s for sure. But Has it sense to execute a directory? bash says when doing ~/bin/git-meld (git-meld: is a directory) git says (fatal: cannot exec 'git-meld': Permission denied) The anoying part is I think the permission denied was for my declared alias10:20
j416 rfx: I suggested 'git add -i'10:20
rfx j416: my bad. there was a problem with it, let me scroll back10:21
Rejinka joined10:21
nenopera ioerror: I know is up to me to change git code, but think that git can verify if some file is a directory, prior to execute it10:21
rfx j416: got it working now. I didn't realize how to use it, after I choose "a" (for add untracked) that I was required to select all files with "*". seems I have that now.10:23
quentusrex left10:23
j416 rfx: and by the way,10:23
rfx: git ls-files -o | git update-index --add --stdin10:23
should do what you want without using git add -i. :)10:24
looks good and should be a stable way of doing it; quoting: http://kerneltrap.org/mailarchive/git/2007/8/5/25406810:24
rfx impressive!10:26
j416 thank google10:26
rfx thank you :)10:26
j416 http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=git+add+only+untracked+files < third hit :)10:26
nenopera left10:27
rfx I had a similar search with different words and didn't have this result unfortunately10:27
j416 gotta use the right words... :P10:27
shiba_yu_ left10:30
kmox83 joined10:31
preflex_preflex10:32
workmad3 left10:34
seivan left10:35
kmox83 left10:36
namemon left10:36
sebastorama left10:38
ioerror__ nenopera: directories in PATH is just not the place to put non-executables. put it somewhere else and link the binary.10:39
rfx the ls-files -o solution didn't work in my case because I've other "other" files besides untracked I don't want to add to the index. Your git add -i solution is the working one10:40
j416 rfx: so you didn't try it?10:44
rfx: adds only the untracked for me: http://pastie.org/222620310:45
N0va` joined10:45
Zariel left10:46
rfx j416: I did but it added also the other other files (I don't remember which state they where exactly where, I'm already past that point now)10:48
j416 o_O10:49
seivan joined10:50
razvand left10:55
berserkr joined10:56
Textmode joined10:56
seivan left10:56
rfx j416: btw, I can't thank you enough for your patience and help!10:58
seivan joined10:58
mragab joined10:59
Adys left11:03
ProLoser|Mobile left11:04
ProLoser|Mobile joined11:05
ProLoser|Mobile left11:06
beautifulmind joined11:08
ikkio joined11:10
Agos joined11:11
ikkio left11:12
j416 rfx: :)11:14
rfx: hope things worked out well despite my failing to understand what you were after.11:15
dermoth_ left11:16
viranch joined11:17
kriegerod left11:17
viranch hi, i'm migrating all my mercurial repos to git. in one of them, i'm getting the error: "repository has at least one unnamed head: hg r25", any ideas?11:17
j416 viranch: no, but I'm interested in the argument(s) you have for converting from mercurial to git, if you feel like sharing11:19
viranch j416: well, i felt mercurial to be very slow after i started using git11:20
Anubisss joined11:20
j416 reason enough I suppose :)11:20
viranch also, the disk usage increases for a mercurial repo as code gets committed11:21
;)11:21
TomyLobo joined11:21
j416 viranch: by the way, the size of the git repo also increases if you add things to it. :P11:23
Adys joined11:23
tango_ who would have guess11:23
viranch j416: sure! one of the mercurial repo rose to 12mb after certain ~70 commits!11:23
tango_ +ed11:23
j416 (well, it compresses better and has better delta stuff, but still, it won't shrink.. :P)11:23
viranch so if someone clones the mercurial repo, he has to download freaking 12mbs!!11:24
j416 viranch: that doesn't say much though, don't know what those ~70 commits contained :) But I guess your point is git can store things more efficiently. mhm.11:24
viranch which was rather very very small project11:25
j416: hmm yes :)11:25
j416 iirc, mercurial stores deltas between revisions?11:25
I mean, that's how it compresses?11:25
viranch yes11:25
j416 but it uses a similar object db to that of git, apart from the packing?11:25
in that it stores whole objects11:25
not the diffs11:26
right?11:26
viranch i guess, i've read that at least11:26
j416 ok11:26
ty11:26
jutaro left11:26
viranch ;)11:26
j416 viranch: I googled a bit about your problem btw, it seems people use 'hg strip' (?) to remove unnamed heads11:26
not confirmed11:27
viranch j416: oh alright, thanks for the heads up :)11:27
Murr_ joined11:27
rchavik joined11:28
j416 viranch: https://lists.canonical.com/archives/bazaar/2008q2/041698.html11:28
I don't know what an 'unnamed head' is though, maybe it's something you want to keep11:29
right: https://lists.canonical.com/archives/bazaar/2008q2/041711.html11:29
phretor_ left11:29
viranch j416: i guess i found the perfect one: https://github.com/offbytwo/git-hg/issues/12 :)11:30
j416 viranch: right, that's what the first link suggested11:30
good or not, I can't tell11:30
viranch oh it worked ;)11:31
jutaro joined11:32
j416 viranch: if I understood the mercurial documentation correctly, another solution would be to first clone the repo to a new mercurial repo, and then import that; unnamed heads should be gone11:33
dwmw2_gone___ left11:35
dwmw2_gone___ joined11:35
beautifulmind left11:36
kriegerod joined11:37
viranch j416: the heads are in the remote repo, so cloning it else where wouldn't make any difference11:38
j416 viranch: oh, ok11:38
viranch: then I'm out of ideas11:38
niblha joined11:42
rfx I'm back without Q :)11:46
niblha I'm getting different diff paths for certain files in a commit when using git format-patch vs using a git diff. E.g >git format-patch -k master gives a path like ROOT/../../thefile.txt when I'm expecting ROOT/subdir1/subdir2/thefile.txt. (ie most other files in the commit are having the subdir path prepended correctly. any ideas what I'm doing wrong?11:47
rfx no wait, back with Q actually11:47
sikao_lfs1 joined11:48
akosikeno left11:49
dr0id left11:50
chrisf|laptop left11:50
viranch left11:52
rfx How do I diff files between branches, but only the ones changed (modified), not adds/deleted? Answer: git diff --diff-filter=M branch1..branch211:52
niblha actually now it hit me that it only affects the paths of files that are in dirs that I've added since last svn origin head (I'm interacting with an svn repo through git-svn) .. guess that has something do with it..11:53
bauruine left11:54
w0bni joined11:55
urbanmonk joined11:56
dr0id joined11:56
seivan left12:00
seivan joined12:02
akosikeno joined12:03
rfx left12:04
avinashhm left12:06
Chibby joined12:07
Chib left12:08
Prasad joined12:11
Murr_ left12:14
__name__ joined12:15
__name__ left12:15
__name__ joined12:15
krz left12:15
__name__ left12:16
nocturnal if I've got a master branch locally and no files remotely, how can I upload my local branch to the remote repo when the repo is empty?12:18
kumbayo left12:18
Murr_ joined12:19
namemon joined12:21
glennpratt joined12:21
dr_lepper joined12:22
dr_lepper left12:22
dr_lepper joined12:22
eijk joined12:25
bremner nocturnal: it sounds like you might find !bare helpful12:27
jast nocturnal: *automatic message* an explanation of bare and non-bare repositories can be found here: http://bare-vs-nonbare.gitrecipes.de/12:27
phaedrix left12:29
arunce_ joined12:34
EricInBNE left12:34
arunce left12:35
arunce joined12:37
dekebalus joined12:37
herdingcat joined12:37
whitman joined12:38
arunce_ left12:38
Chillance joined12:42
glennpratt left12:42
sitaram necromancer: would be nice if you confirmed my diagnosis also, in addition to saying your fixed it :)12:43
djbpython left12:43
arunce_ joined12:43
bremner you sound like Dr. House ;)12:44
akosikeno left12:44
arunce left12:44
jp42 joined12:44
nd___ joined12:46
dekebalus left12:49
nd__ left12:49
bremner during a rebase, if I haven't run rebase --continue yet, how can I re-resolve the conflicts I just messed up? Do I have to start the rebase again?12:49
oh, well. I realized I need to redo the rebase anyway.12:50
elliottcableec|fkn_away_nick12:51
ec|fkn_away_nickelliottcable12:51
chrischambers left12:51
EricInBNE joined12:51
Adaptee left12:54
babilen left12:54
workmad3 joined12:55
Error404NotFound joined12:56
seivan left12:56
akosikeno joined12:57
Dave^| joined12:58
SimonNa left12:58
andrewpthorp left13:00
flaguy48 left13:02
nowhereman joined13:02
herdingcat left13:03
airtonix_airtonix13:04
apocalyptiq joined13:04
herdingcat joined13:04
nowhere_man left13:05
thews left13:06
lm-brodo left13:07
sagex_ left13:08
rvsjoen_rvsjoen13:08
Chillance left13:10
nocturnal thanks bremner13:10
sagex_ joined13:10
dr0id left13:11
djbpython joined13:12
Error404NotFound left13:12
SimonNa joined13:12
herdingcat left13:12
herdingcat joined13:13
aspotashev joined13:17
babilen joined13:17
Bass10 joined13:18
thiago joined13:19
namemon left13:20
namemon joined13:21
whitman left13:21
sbell left13:22
JDuke128 joined13:25
JDuke128 hi , i was searching some git security , i want to put password to my repo but i didnt see any doc for that ?13:25
Vikash joined13:25
Chillance joined13:25
Error404NotFound joined13:26
j416 JDuke128: git is a source code manager, not an encryption utility13:26
JDuke128: you will have to use other tools for that13:26
rchavik left13:26
JDuke128 j416 , tool ?13:27
which one?13:27
j416 I can't say, it depends on what your goal is.13:27
JDuke128 everyone can checkout my repo on git ? :D13:27
j416 if they have access to it, yes.13:27
drizzd I think he wants ssh13:27
j416 JDuke128: you might want to check out gitolite13:27
drizzd or https + .htaccess13:27
j416 JDuke128: and also read up a bit on how distributed version control systems work :)13:28
JDuke128 but svn also has password protection...13:28
why git doesnt have :S13:28
j416 afk13:29
wereHamster JDuke128: git doesn't have what?13:29
JDuke128 password on read and write some project13:29
like svn doesnt allow read on some projects13:30
privileges13:30
svn --user xxx --pass yyy co hxxp://xxx.com13:30
so with user and pass allowed...13:30
wereHamster of course it has. if you use ssh then only users which have ssh access can access the repository13:30
if you use http you can use whatever http protection the web server provides13:30
Chibby left13:30
Chib joined13:31
bauruine joined13:31
wereHamster .htaccess was mentioned earlier, pki is another option13:31
JDuke128 wereHamster , how ? git daemon ? any tutorial for that?13:31
wereHamster no, git daemon is for read-only anonymous access, it provides no authentication or encryption13:32
JDuke128: google 'gitolite'13:32
sitaram JDuke128: let's be clear about one thing. Are you intending to allow other people access to your repos or are they meant to be only for you?13:32
JDuke128 okay , i want to ask 1+ question is , I want encyrpted repo , when my repo is stolen by someone , they cant read any source all will be AES 1024 bit like encyrpted , so my stolen project will be secure again.On Client side source code decrpts13:33
rchavik joined13:33
JDuke128 i ve key on my usb13:33
and only its decoding sources13:33
my IDE will decode source at runtime13:34
sitaram JDuke128: use an encrypted file system. Luks on Linux works great. I've heard there are good tools for WIndows also13:34
JDuke128 possible?13:34
bremner JDuke128: http://xkcd.com/538/13:34
JDuke128 ok i m using Solaris13:34
sitaram anything else is impossible, IMP13:34
IMO13:34
JDuke128: and you didn't answer my previous question13:35
JDuke128 i need encyrpted file system on Solaris so... ZFS not enough (:13:35
drizzd JDuke128: what kind of IDE decrypts source code for you?13:35
JDuke128 IntelliJ13:35
IntelliJ IDEA13:35
jast there is no AES102413:36
in general, the easiest way is to just make an encrypted volume and put your data on it13:36
JDuke128 25613:36
Adys left13:36
jast I don't know solaris well enough to be able to recommend anything, though13:36
JDuke128 oh13:37
http://blogs.oracle.com/darren/entry/encrypting_files_in_solaris_1013:37
jast according to wikipedia, ZFS supports transparent encryption13:37
bremner if you encrypt, then check in to git, your git performance will suck13:37
JDuke128 is really good :)13:37
my server is super fast doesnt matter13:38
bremner no, it does matter, trust me.13:38
JDuke128 hmm13:38
Vikash left13:38
JDuke128 what can i do so ?13:38
Chillance left13:38
jast http://download.oracle.com/docs/cd/E19963-01/html/821-1448/gkkih.html13:38
bremner I'm talking about things basically not working well because you check binary blobs into git; that is different than running git on top of encrypted file system, which is fine.13:39
sitaram bremner: is that comment only about ZFS? I have luks on all my systems and haven't really noticed much of a problem (though I agree my usage is light)13:39
hachque left13:39
sitaram bremner: scratch what I said then; I misunderstood13:39
jast sitaram: he was talking about encrypting files prior to adding them to git13:39
sitaram yup13:39
JDuke128 maybe client side encyrption better...13:39
but i think this time it makes search problem13:39
i cant make serverside search :)13:39
Chillance joined13:39
jast correct13:39
JDuke128 do i really need search ? i think no...13:40
bremner if you have a remote server, then an encrypted file system doesn't really help, since things are unencrypted for transmission13:40
JDuke128 Base64 + AES13:40
drizzd I don't see the problem. Use encrypted file systems everywhere, use https/ssh always. You're done.13:40
bremner heck, if your remote server is compromised, the intruder has things nicely decrypted already in a typical luks-like setup13:41
Prasad left13:41
BinGOs The only safe option is to nuke from orbit.13:41
jfkw joined13:41
drizzd bremner: yeah, I hate that about cryptsetup13:42
bremner well, paranoia is fine. but security-theatre is a pet peeve.13:42
JDuke128 but13:42
if someone get my user ssh access , i m done too :S13:43
Error404NotFound left13:43
jast if your remote server is compromised, the attacker can simply read the encryption key from memory13:43
Andy_S joined13:44
bremner the private key never goes there.13:44
oh, still about luks. dunno13:44
aspotashev left13:44
jast never goes where?13:45
bremner to the remote server13:45
(ssh)13:45
jast I was talking about the remote server on which the filesystem is encrypted13:45
bremner right. (belatedly) understood.13:45
JDuke128 mm13:46
can i implement finger vain authentication to ssh ? http://www.hitachi.eu/veinid/13:47
BinGOs fs encryption is a safe-guard against physical theft of the encrypted media.13:47
[intra]lanman joined13:48
bremner which is typically not the main issue with a colocated server ;)13:48
JDuke128 http://www.zdnet.com/blog/btl/forget-passwords-try-finger-veins/1208213:49
bremner JDuke128: veinid isn't really related to git.13:49
delian66 left13:49
cesario left13:50
BlindOracle left13:50
JDuke128 rite13:50
bremner git just uses ssh.13:50
banisterfiend left13:51
namemon hi, is it possible get back master if one deletes it anyhow?13:51
glennpratt joined13:52
banisterfiend joined13:52
nightshift joined13:53
BlindOracle joined13:54
bremner namemon: probably man git-reflog can help13:54
jast namemon: *automatic message* the 'git-reflog' manpage can be found at http://www.kernel.org/pub/software/scm/git/docs/git-reflog.html13:54
PigeonFriend joined13:55
andrewpthorp joined13:56
mragab left13:56
Error404NotFound joined13:56
[intra]lanman left13:56
airborn left13:59
madewokherd joined14:00
glennpratt left14:01
aspotashev joined14:03
glennpratt joined14:04
awallin joined14:06
Corren joined14:06
phretor joined14:07
airtonix left14:09
airborn joined14:10
airtonix joined14:10
kephas joined14:10
Doc__ joined14:11
herdingcat left14:11
Andy_S left14:12
Doc__ left14:12
nowhereman left14:13
namemon left14:14
airborn left14:14
aspotashev left14:14
madewokherd hey, I forgot to configure my name in a new repo, and it has some commits now14:17
lanthan_ joined14:17
madewokherd is there an easy way I can go back and change the name in the existing commits?14:17
lanthan left14:18
jeff-h left14:18
jeff-h joined14:19
bpg_in joined14:22
replore_ joined14:22
whitman joined14:23
nightshift left14:23
jast madewokherd: yep, but keep in mind it's generally a bad idea to do that if someone else already has the current history14:23
you'll want to do something involving "git filter-branch --env-filter"14:24
jp42 left14:24
madewokherd odd, the env-filter documentation says to see git-commit(1) for details on the environment variables, yet the git-commit man page lacks an environment variable section14:26
but I found a thing in google that works >_>14:26
mrchrisadams_mrchrisadams14:26
Adys joined14:28
j416 madewokherd: man git-commit14:28
jast madewokherd: *automatic message* the 'git-commit' manpage can be found at http://www.kernel.org/pub/software/scm/git/docs/git-commit.html14:28
j416 ops14:28
madewokherd only thing in "ENVIRONMENT AND CONFIGURATION VARIABLES" is GIT_EDITOR14:28
j416 madewokherd: man git-commit-tree14:29
jast madewokherd: *automatic message* the 'git-commit-tree' manpage can be found at http://www.kernel.org/pub/software/scm/git/docs/git-commit-tree.html14:29
j416 there.14:29
madewokherd oh14:29
then I think the man page for filter-branch needs to be updated14:30
alberto56 joined14:30
j416 nnn no?14:31
it clearly says git-commit-tree14:31
Agos left14:31
masando joined14:32
Octalot left14:32
madewokherd only under --parent-filter14:32
or maybe it was fixed since 1.7.2.514:33
zivester joined14:34
madewokherd yeah, the on the website it says commit-tree, so I guess it was fixed14:34
ilteris left14:35
variable joined14:35
Vikash joined14:35
variable I just commited a changed and pulled from master which resulted in a merge conflict14:35
how can I revert to my last commit ?14:35
airtonix left14:38
Corren left14:38
airtonix joined14:38
liquidproof joined14:42
BlindOracle left14:42
apocalyptiq left14:43
giallu joined14:43
giallu left14:43
giallu joined14:43
liquid-silence left14:44
nowhere_man joined14:49
giallu left14:49
kephas left14:52
szihs joined14:53
phretor left14:57
j416 variable: git reset --hard14:58
v4n_ joined14:58
j416 to get to where you were before you started the merge14:58
phretor joined14:59
tobago joined15:00
rideh joined15:00
Morpf joined15:00
sou_ left15:00
variable j416: thanks15:00
djbpython1 joined15:01
djbpython left15:01
giallu joined15:02
giallu left15:02
giallu joined15:02
BlindOracle joined15:03
djbpython1 left15:06
thews joined15:06
codatory joined15:07
seivan joined15:08
sou_ joined15:08
droolingmnky joined15:08
shedammit joined15:09
shedammit left15:09
shedammit joined15:09
phretor left15:10
giallu left15:10
phretor joined15:12
szihs left15:13
bagheera joined15:13
systix joined15:16
szihs joined15:16
replore_ left15:17
optixx left15:18
optixx joined15:18
zivester left15:20
LongBeach left15:20
szihs left15:21
ziro` joined15:22
droolingmnky left15:22
Murr_ left15:24
Prasad joined15:25
Murr_ joined15:26
Vikash left15:26
sternocera joined15:28
sternocera Hello. I'm paranoid about tampering of my github hosted repository. Please reassure me.15:28
pandeiro joined15:28
j416 sternocera: if you have the sha1 of the head of your branch, don't worry15:28
djbpython joined15:29
systix left15:29
rane_ sternocera: what's your concern15:30
sternocera rane_: Malicious parties tampering with my code15:30
angelsl left15:30
SirFunk left15:30
sternocera I don't believe that's a very well-founded concern, but I'd like to know exactly how it can be addressed.15:30
rane_ host your own git repository15:30
sternocera I have reasons for not wanting to do that.15:31
rane_ github staff has access to your code, i don't think there's any way around that15:31
sternocera rane_: I don't care about that. I care about their being able to modify it without me noticing.15:32
rane_ ah, that i don't think is possible15:32
jjlee joined15:32
codatory You can't (really) edit a commit after its been published15:33
jjlee How do I find out the type of a git object given its hash?15:33
sternocera codatory: Right, because that would entail changing the SHA-1 digest of tip, because the changes would have to cascade.15:34
gusnan joined15:34
sternocera What I'd like to get is an authoritative document or webpage that explains that in a nutshell.15:34
jast jjlee: git cat-file -t <ID>15:34
jjlee jast, thanks15:34
codatory sternocera: Well, if you try it you'll note that to pull somewhere else you have to do a git pull --force and see a bunch of errors15:35
sternocera codatory: Right...the only way it could be done is if someone modified the file while not changing the SHA-1 digest...they'd have to find a collision, which is infeasible.15:36
phretor left15:37
j416 sternocera: read this: http://book.git-scm.com/1_the_git_object_model.html15:38
sternocera: if you have the sha1 of a commit which you have verified to be the correct one (i.e. your version), you can be sure that if the remote also has that same sha1, there has been no tampering15:40
(all the way up to that commit, throughout the whole commit chain15:40
)15:40
sternocera: http://www.youtube.com/watch?v=4XpnKHJAok8#t=56m15:42
watch that for 2 minutes or so from there15:43
:)15:43
phretor joined15:43
sternocera j416: Thanjks15:44
tomas_w left15:44
sternocera j416: This is exactly what I was looking for. Awesome. Thanks again.15:45
j416 :)15:45
you're welcome15:45
nowhere_man left15:48
nowhereman joined15:49
rchavik left15:50
Error404NotFound left15:51
tomas_w joined15:51
avar left15:52
avar joined15:52
avar left15:52
avar joined15:52
SimonNa left15:52
bennigraf joined15:53
sou_ left15:54
DarkHouse joined15:58
SirFunk joined15:58
niblha left15:59
droolingmnky joined16:04
Octalot joined16:04
sternocera left16:05
codatory left16:05
jjlee left16:05
Error404NotFound joined16:06
rvsjoen left16:07
rvsjoen joined16:08
MikhX joined16:08
f0i left16:08
codatory joined16:12
Abbaduxo joined16:14
Abbaduxo left16:14
EricInBNE left16:16
EricInBNE joined16:17
liquid-silence joined16:18
eijk left16:19
codatory left16:23
f0i joined16:24
glennpratt left16:26
codatory joined16:26
glennpratt joined16:27
glennpratt left16:28
zivester joined16:28
NetRoY joined16:29
mandric joined16:29
NetRoY left16:29
freaky[t] left16:30
sikao_lfs1 left16:31
brainbox1100 left16:32
codatory left16:32
_james_b joined16:32
Corren joined16:33
Corren left16:36
dfr|mac joined16:37
freaky[t] joined16:38
mandric left16:39
phaedrix joined16:44
towski joined16:44
kephas joined16:44
Error404NotFound left16:45
anzime joined16:45
droolingmnky left16:47
nowhereman left16:48
tobago left16:48
bitplane joined16:48
mandric joined16:48
jeff-h left16:48
elliottcabled57bfa72c2e4b4a416:49
Kreative` joined16:49
bitplane left16:49
bitplane joined16:49
_psychic_ joined16:49
bitplane Hi, I have a quick question. I've got a file that I want to include in my project, it's made by someone else. Can I commit the file as me, but set the author as someone else?16:49
d57bfa72c2e4b4a4LZ05qOyiJ0CXpo0016:49
Corren joined16:50
jeff-h joined16:50
glennpratt joined16:50
bitplane and if I do that, is it a recommended thing to do? I'd like to preserve authorship even though it's public domain16:50
LZ05qOyiJ0CXpo00twtsqZOWqHlDutmM16:52
Myth17 joined16:53
Myth17 left16:53
Myth17 joined16:53
dr_lepper_ joined16:53
urbanmonk left16:54
f0i left16:54
dr_lepper left16:54
ceej joined16:54
f0i joined16:55
j416 bitplane: yes you can, but .. it's your project, you made the decision to add that code16:55
bitplane so the author is the author of the code change, not the code itself?16:55
j416 would make more sense to me if you set the author to yourself and wrote in the message that you imported stuff from somewhere16:55
the author of the change, yes, that is what I would feel be most logical16:56
nitish joined16:56
cehteh usually puts a note directly into the file when he borrows some code16:56
amstan joined16:56
j416 yeah16:56
it's not that the person who wrote that code is adding it to your repo16:56
I'd be rather confused to find myself as author of some commit in someone elses repo that I never touched16:56
cehteh maybe with reference from where i got the code (upstream web page)16:57
amstan i have random backup files showing up in my repo, they look like: HyperTriangle.l#1, where HyperTriangle and the digit changes, how can i git ignore it?16:57
j416 wouldn't want to be responsible for it either16:57
cehteh: yeah16:57
bitplane thanks guys, I'll just add it to the commit message then16:57
amstan i tried *.l#* but i have a feeling that the # comments the rest of the line16:57
zorun maybe \# ?16:58
amstan zorun: seems to work, thanks16:58
mandric left16:58
amstan left16:58
nitish_mythology joined16:59
Myth17 left16:59
j416 strange though, man page of gitignore doesn't state that you have to escape # in the middle of a line16:59
maybe it's implied.16:59
cherro joined17:01
mmattice it says a line _starting_ with # is a comment17:02
phretor left17:02
j416 yeah17:02
nitish left17:02
j416 should reword that if it actually treats inline # as comment marker17:03
scyx hi, i'm new to git, could anyone tell me how i could do this right: i want to continue developing a github-hosted program on my local gitosis server while still keeping track of the original development on github and also another fork of the program which is hosted on github. the original github project probably won't see any more development, but i'd like to occasionaly partially merge stuff from the forked github project into my local gitosis repo..17:03
rane_ local gitosis repo, why does it have to be gitosis, why can't it be a normal repo17:04
you have more than one developer?17:04
JoeMaverickSett joined17:04
MavJS left17:04
JoeMaverickSettMavJS17:04
j416 scyx: clone the repo, set up remotes for all the places you want to track.17:04
nitish_mythology left17:05
scyx rane_: well i guess it wouldn't make much of a difference if i'd skip gitosis, i guess. but gitosis doesn't seem to be much additional work, setting it up seemsed to be pretty straightforward17:05
phretor joined17:06
j416 scyx: !gitosis17:08
jast scyx: *automatic message* gitosis is no longer maintained and supported by the author; we usually recommend gitolite instead which has much better documentation and more features: http://github.com/sitaramc/gitolite17:08
Corren left17:08
j416 scyx: also, if you're the only dev, .. this is overkill.17:09
jast I kind of prefer it anyway :)17:09
j416 jast: gitolite even though you are the only dev?17:09
jast yeah17:09
j416 interesting17:09
jast though I actually only have an old gitosis instance (don't tell anyone)17:09
j416 heh17:09
what advantage do you have?17:09
jast just on the off chance that other people want to join in later on17:10
j416 ah17:10
handy.17:10
OOPMan joined17:10
jast though in fact lately I've just uploaded stuff to github instead17:10
and non-OSS solo projects I don't upload in the first place17:11
j416 ok :)17:12
scyx hm okay, might just skip gitosis, but atm i'm trying to figure out the remote tracking bit of git.. what i did until now was: git clone original.project.from.github.git; git remote add origin local.server.git; git remote add upstream original.github.git; git remote add fork forked.github.git17:12
j416 yeah github is what I use for stuff that I make that I don't care if other people steal17:12
good for offsite backup17:12
sonnym1 joined17:13
j416 erm, steal, I mean, it's even better because other people _can_ get copies. handy.17:13
sonnym left17:13
Prasad left17:13
munichlinux left17:14
pantsman joined17:14
pantsman left17:14
pantsman joined17:14
Kreative` left17:16
mnaser joined17:23
kriegerod left17:24
OOPMan left17:25
patrick99e99 joined17:25
d0k joined17:25
[intra]lanman joined17:25
[intra]lanman left17:25
[intra]lanman joined17:25
scyx so where do remote tracking branches come into play in my scenario? can't i just work on my local master branch, then occasionally git fetch from both repos and git merge it in?17:27
Davey_ joined17:28
Davey_ left17:28
Davey_ joined17:28
andrewpthorp left17:29
scyx also, is there something like selective merge? the github fork has some changes i'd not want to merge into my project but others which i want. should i just make a patch before mergeing it all in and then undo the changes which i don't want with the patch afterwards? :/17:29
banisterfiend scyx: cherry-pick17:30
aspotashev joined17:30
Kreative` joined17:30
sebastorama joined17:31
scyx banisterfiend: can it cherry-pick ignore recurring changes in single files? such as a different package names (java)?17:31
banisterfiend i dont know what you mean, cherry-pick essentially just applies a patch17:32
bremner scyx: cherry-pick -n, perhaps17:32
hendeby joined17:33
DarkHouse left17:33
Tavoris joined17:33
hendeby left17:33
bremner oh, read too quickly. No idea about that.17:33
Err404NotFound joined17:34
EricInBNE left17:34
sebastorama left17:34
pantsman left17:36
pantsman joined17:37
Corren joined17:37
Tavoris finger bremner17:38
Tavoris left17:38
j416 lol17:38
zamabe left17:39
Corren left17:43
Haza` joined17:45
kerrick joined17:46
xxneolithicxx joined17:50
[intra]lanman left17:50
anzime left17:52
flaguy48 joined17:52
envi left17:52
MikhX left17:52
Murr_ left17:53
Murr_ joined17:54
envi joined17:55
leavittx joined17:55
fp1 joined17:57
Murr_ left17:58
doubletap joined17:59
fourcolors joined17:59
_psychic_ left18:01
zamabe joined18:03
DarkHouse joined18:04
xxneolithicxx left18:04
mDraze joined18:06
fbass joined18:06
akosikeno left18:06
PigeonFriend left18:07
thews left18:08
twtsqZOWqHlDutmMDu07okDjKfe0X4qF18:09
avinashhm joined18:11
paissad left18:11
mcc left18:12
kukks joined18:14
awallin left18:14
mandric joined18:15
coldboot|home joined18:16
catsup left18:18
catsup joined18:19
catsup left18:19
beiter joined18:19
MikhX joined18:19
mcc joined18:19
catsup joined18:19
cbx33 joined18:19
catsup left18:19
catsup joined18:19
akosikeno joined18:20
cbx33 hey all18:20
what (besides Git) does msysgit come installed with18:21
does it actually install cygwin, and bash?18:21
jeff-h left18:24
jeff-h joined18:24
drev1 joined18:25
thews joined18:25
sbell joined18:25
cirwin joined18:26
cirwin Given a SHA1 of a file, can I find out which commit it is in?18:26
phretor_ joined18:26
cirwin *commits18:26
banisterfiend cirwin: good question18:27
jalama joined18:27
cirwin ah, long time no see banisterfiend :)18:27
banisterfiend ;)18:27
__iron left18:28
cirwin so the issue I have is that I want to update the yajl-ruby library, using the latest code from the yajl library. Unfortunately the maintainer of yajl-ruby has copied some random files from yajl into yajl-ruby. I'd like to see if they (ever) corresponded to a revision of yajl18:28
phretor left18:29
j416 cirwin: https://github.com/jwiegley/git-scripts/blob/master/git-find-blob18:30
something like that perhaps.18:30
cirwin I suppose so18:30
j416 not sure git has anything builtin for it18:30
given gits object model, you would have to search for it like this in either case, since the blob doesn't have a reference to its parent18:31
s/parent/tree/18:31
cirwin sure — I was hoping to be lazy :p18:32
catsup left18:32
catsup joined18:32
canton7 joined18:32
ceej left18:34
ramusara left18:34
MikhX left18:35
mvaladas joined18:37
mvaladas left18:38
zamabe left18:39
mvaladas joined18:39
MikhX joined18:39
cirwin hrm18:40
this is fail18:40
bblfish left18:40
cirwin goes to read about subtree merging instead...18:41
bitplane left18:41
_james_b left18:42
mvaladas left18:43
mvaladas joined18:43
jalama left18:44
mjessome joined18:44
cyphase left18:45
bblfish joined18:45
Err404NotFound left18:50
dannas joined18:51
rpg joined18:52
_james_b joined18:54
_james_b left18:54
Du07okDjKfe0X4qFG0EleimMoNF4WDUO18:54
Murr_ joined18:55
dannas left18:55
mvaladas left18:56
cyphase joined18:57
fp1 left18:58
aminpy left19:00
akosikeno left19:01
Octalot left19:01
dr_lepper_ left19:01
RaceCondition joined19:01
phretor_ left19:02
Err404NotFound joined19:02
Modius left19:02
phretor joined19:03
nowhere_man joined19:08
zwick joined19:08
chrisf|laptop joined19:09
kephas left19:11
kumbayo joined19:16
fourcolors left19:17
mvaladas joined19:18
joshsmith joined19:20
dwmw2_gone___ left19:23
dwmw2_gone_ joined19:25
cbx33 do i remember correctly that people in here said not to use git instaweb?19:27
jast dunno19:27
HG` joined19:28
cbx33 it's weird if I just run git instaweb19:28
it works19:28
jast I never use it, but I don't know of any strong reasons to avoid it if you just need a quick something19:28
cbx33 it I run git instaweb --start19:28
it doesn't19:28
chrisf|laptop left19:28
scyx weird. how come that when i have a repo with several remote branches, when i clone that repo, the remote branches don't appear in the newly cloned repo? i guess i'm misunderstanding something about git here..19:30
jast scyx: yeah, the missing piece is the distinction between local branches and remote-tracking ("mirror") branches19:30
pantsman left19:30
jast the branches *are* cloned, but you don't automatically get local branches created for them19:31
phretor_ joined19:31
jast you can see the mirror branches by using 'git branch -r' (r = 'remote')19:31
to create a local branch for one, usually you can just use 'git checkout <name of branch>'19:31
nimrod10` joined19:31
Err404NotFound left19:31
[intra]lanman joined19:32
mvaladas left19:33
phretor left19:33
scyx hm. when i do git branch -a on my original repo, i get "local-branch, master, remotes/repo1/master, remotes/repo2/master, remotes/origin/master" (origin being my gitosis server)19:33
nimrod10 left19:34
tomas_w left19:34
scyx when i do git clone original-repo and do git branch -a, i get: "local-branch, master, remotes/origin/HEAD -> origin/local-branch, remotes/origin/local-branch, remotes/origin/master"19:35
LiohAu joined19:36
scyx bah, i guess i should read up on git fundamentals again. what confuses me is that when i push my repo to gitosis and then clone it from there again, the remote-tracking branches are lost, only origin is there19:37
OOPMan joined19:37
jpeazy joined19:38
jpeazy left19:39
tomas_w joined19:39
G0EleimMoNF4WDUOlx5daVLzXAYWRFzQ19:39
jpeazy joined19:39
jpeazy If I messed up the file for my interactive rebase, how do I go back to editing it?19:39
tomas_w left19:39
belkiss joined19:41
mnaser left19:41
Scott0 left19:42
mandric left19:43
kimico left19:44
cbx33 scyx: when you clone you get the references19:44
Err404NotFound joined19:44
cbx33 but the branches are not setup automatically19:44
kimico joined19:44
jpeazy git rebase -i --abort I guess19:45
:019:45
jpeazy left19:45
jast scyx: clone only clones local branches, i.e. even if you push the remote-tracking branches somewhere, clone won't get them19:47
Juo joined19:49
ThomasLocke joined19:50
aspotashev left19:50
Scott0 joined19:52
zwick left19:53
OOPMan left19:54
Opettaja joined19:54
lukeman left19:54
banisterfiend left19:55
franklin joined19:55
ceej joined19:56
MikhX left19:56
banisterfiend joined19:56
MikhX joined19:58
mandric joined19:59
LongBeach joined19:59
jason237 left20:00
mnaser joined20:00
phretor joined20:01
phretor_ left20:02
johnw joined20:09
OOPMan joined20:10
dreiss joined20:10
msieradzki joined20:11
caseymcg joined20:12
jason237 joined20:13
marvin2 left20:19
scyx jast,cbx33: found something.. https://git.wiki.kernel.org/index.php/GitFaq#How_do_I_clone_a_repository_with_all_remotely_tracked_branches.3F seems to be a workaround for the not cloning remote tracking branches, but its not pretty20:19
cbx33 yeh20:19
i remember seeing something like that20:20
marvin2 joined20:21
awallin joined20:22
RaceCondition left20:24
ceej left20:25
trufa joined20:29
tore_ left20:30
Dave^|| joined20:30
LiohAu left20:30
dreiss left20:31
Dave^| left20:33
babilen left20:34
Dave^| joined20:34
Dave^|| left20:34
trufa left20:35
bittin left20:37
lx5daVLzXAYWRFzQr3wPYEWNrKkAPAVO20:38
Pupeno left20:40
Pupeno joined20:41
Pupeno left20:41
RaceCondition joined20:42
bblfish left20:43
LiohAu joined20:44
ningia joined20:45
bblfish joined20:46
disappearedng joined20:47
r3wPYEWNrKkAPAVOelliottcable20:48
glennpratt left20:48
cccaldas joined20:48
bblfish_ joined20:49
kerrick left20:50
deepthinker82 left20:50
glennpratt joined20:50
FunnyMan3595 joined20:50
Phlogistique left20:51
babilen joined20:51
bblfish left20:52
bblfish_bblfish20:52
mjessome left20:53
msieradzki left20:54
diegoviola joined20:55
LiohAu left20:55
kumbayo left20:55
Dave^|| joined20:55
Scott0 left20:57
kst` left20:57
kst joined20:58
mandric left20:58
Dave^| left20:59
giallu joined21:01
giallu left21:01
giallu joined21:01
trufa joined21:03
MikhX left21:05
disappearedng left21:06
Dave^|| left21:08
Dave^|| joined21:08
macabre left21:09
cherro left21:10
MikhX joined21:12
spaceonline left21:12
ThomasLocke left21:13
awallin left21:13
mandric joined21:15
diegovio1a joined21:19
diegovio1a left21:20
RaceCondition left21:20
diegoviola left21:20
[intra]lanman left21:21
worstadmin How can I set my staging and working directories to match a certain tag? git reset v2.1.0 --hard ?21:24
rane_ --hard after reset21:24
but depending on your goal, you might want to use checkout instead21:25
CSdread_ left21:25
cbx33 left21:25
airborn joined21:26
worstadmin rane_, If I checkout that means my working directory stays the same though correct?21:28
msieradzki joined21:28
offby1 no21:29
"git reset --hard" moves your branch. This can be somewhat dangerous if that results in a bunch of commits becoming unreferenced.21:29
JEEB left21:29
offby1 "git checkout", on the other hand, has no such risk21:29
dudz_ joined21:29
offby1 _its_ risk is that you might wind up with a "detached head", which itself isn't a risk; but if you then make some commits, and then check out some other branch, those new commits will be unreferenced.21:30
rane_ git checkout is more suitable if you just want to go check what the project looked like at specific version21:30
offby1 Git is risky!21:30
offby1 wears armor21:30
rane_ reset would be more suitable if you wanted to fork the project beginning from v2.1.021:31
glennpratt left21:31
worstadmin Yes that's what I want to do, but I want it to update my working direction as well21:31
Murr_ left21:31
johnw left21:31
worstadmin In this case revert the working directory to the exact state of tag v2.1.021:32
Murr_ joined21:32
rane_ git reset --hard v2.1.021:32
offby1 worstadmin: general-purpose git advice: 1) Read "Git For Computer Scientists" (http://eagain.net/articles/git-for-computer-scientists/); 2) Run "gitk --all"; 3) Learn about "git reflog"21:33
LongBeach left21:33
canton7 worstadmin if you want ot keep the work on your current branch since v2.1.0, don't reset --hard21:33
worstadmin I understand21:33
Moving the head pointer around - I think I see the difference now21:34
Operates like a linked list21:34
canton7 exactly21:34
mandric left21:34
worstadmin It scares me linus just hacked this up21:34
canton7 checkout moves HEAD, reset moves the branch that HEAD points to, if it point to one, otherwise HEAD, rebase effectively moves the pointers from a commit to its parent21:34
mnaser left21:37
aspotashev joined21:37
Scott0 joined21:37
joshteam joined21:38
s0ber_ joined21:39
s0ber left21:41
s0ber_s0ber21:41
FunnyMan3595 Hey, folks. git push is confusing me at the moment by saying that everything's up to date even though I think it should be tracking a remote branch that's a step behind.21:42
lanthan__ joined21:42
FunnyMan3595 Pastebinning the config now.21:43
canton7 FunnyMan3595, look at man git-config, push.default21:43
jast FunnyMan3595: *automatic message* the 'git-config' manpage can be found at http://www.kernel.org/pub/software/scm/git/docs/git-config.html21:43
canton7 it's a little odd21:43
the default is, anyway21:43
drizzd FunnyMan3595: git push <remote> <branch>21:44
sol0 joined21:44
lanthan_ left21:44
canton7 his point was it was tracked, so should be no need to do that21:44
macabre joined21:44
dinsdale joined21:45
drizzd canton7: it's not clear at this point what exactly did happen, so instead of assuming I gave him the command that will definitely work21:46
canton7 fair enough. my bet is he already knows that :)21:47
coldboot|home left21:47
drizzd otoh, if your assumption is correct, then my command would not work either21:47
mjessome joined21:47
canton7 by default, "git push" pushes all "matching" branches, where matching means the local branch name matches the remote one21:48
peterhil left21:48
canton7 iirc, tracking set up, or no21:48
peterhil joined21:48
canton7 i did some experimenting: https://gist.github.com/105384621:48
peterhil left21:50
peterhil joined21:50
beiter left21:50
fbass left21:50
sechrist joined21:50
peterhil left21:52
peterhil joined21:52
peterhil left21:53
peterhil joined21:53
rascal999 joined21:53
rascal999 is git pull recommended over push?21:54
ThiefMaster|work left21:54
peterhil left21:54
ThiefMaster|work joined21:55
drizzd rascal999: the two are not interchangeable, so your question makes no sense21:55
tizzo-afk joined21:55
cirwin rascal999: a pull-only workflow can be clunky compared to pushing to a central server21:56
canton7 rascal999, hmm? what context? for sharing changes, different situations have different preferred approaches. the most comment i've seen is push-based, where people push to, and pull from, a central bare repo21:56
CoinOpeBoy joined21:56
drizzd marvels at the mind reading skills in here21:57
zorun drizzd: you're not the only one :)21:57
rascal999 http://hans.fugal.net/blog/2008/11/10/git-push-is-worse-than-worthless/21:57
jast that's practically ancient21:58
also the page is taking ages to load for me21:58
canton7 drizzd, experience. you get to know the usual questions, then could make a good guess at which of those this one was21:58
drizzd canton7: and to what end?21:58
canton7 the appearance of mind-reading :)21:59
joel_falcou left21:59
jast rascal999: !bare @21:59
rascal999: *automatic message* an explanation of bare and non-bare repositories can be found here: http://bare-vs-nonbare.gitrecipes.de/21:59
Juo left21:59
jast this might help22:00
FunnyMan3595 canton7, drizzd: Thanks; got distracted by other worries right after asking. I'll take a look at that now.22:00
Dave^|| left22:00
Dave^|| joined22:00
whitman left22:01
FunnyMan3595 Aha, looks like push.default = upstream will do what I was expecting.22:01
HG` left22:01
cschneid joined22:01
canton7 FunnyMan3595 only sensible option imo. only pushes the current branch though22:02
kpreid left22:02
canton7 I'd love to see a setting that pushed *all* tracking branches22:02
FunnyMan3595 Brilliant, that's exactly what I want. I can even drop the remote name now.22:02
Many thanks!22:02
kpreid joined22:03
FunnyMan3595 left22:03
jeff-h left22:03
drizzd left22:03
jast canton7: patches welcome, I'm sure :)22:04
jeff-h joined22:04
canton7 jast yeah i know :) it's a time thing, as usual. which is why i'm not complaining22:05
Unode|Work joined22:05
jast :)22:05
joshsmith left22:06
Unode|Work Is it possible to use git submodules in a way that the submodules always point to HEAD instead of a specific commit?22:06
jast no22:06
canton7 Unode|Work nope22:06
look at git-slave, might be more to your tastes22:06
Unode|Work canton7, will check thanks22:06
Octalot joined22:07
squeakytoy Japan beats usa and wins womens fifa world cup, and an american girl twitters "We will always have WWII" *sigh*22:07
jstemmer left22:08
joshsmith joined22:08
SirFunk left22:09
kane77 left22:09
jast I don't even know what that is supposed to mean22:09
gfto joined22:10
ProLoser|Mobile joined22:10
bremner it means next time the want to use nukes22:11
Unode|Work canton7, seems like a solution but also a different tool... I'm not sure it will work with all the plugins on our system that call "git" since from what I read you should use "gits". Thanks for the pointer though, I'll need to digest this further22:11
N0va` left22:12
canton7 Unode|Work, yeah it might well be that it's not what you want -- there's no "ideal" solution. i was just throwing it out there in case it happened to be what you were after22:12
Unode|Work canton7, no actually the tool seems to do what I wanted but not in the intended way :)22:12
canton7 hehe, well it's a start!22:12
Unode|Work yup22:13
sol0 left22:13
Unode|Work thanks again. now to get things working22:13
mastroDani left22:18
fbass joined22:18
disappearedng joined22:19
disappearedng left22:19
disappearedng joined22:19
bblfish left22:19
joshsmith left22:19
bblfish joined22:20
ningia left22:20
glennpratt joined22:22
RaceCondition joined22:22
disappearedng left22:24
phretor left22:24
Dave^|| left22:24
joshteam left22:25
angelsl joined22:28
canton7 left22:29
jonanin left22:30
gfto left22:33
AdmiralSausage joined22:34
phretor joined22:36
[intra]lanman joined22:36
macabre left22:38
ScottG joined22:39
j416 left22:39
jonanin joined22:39
ScottG What would I put in my .gitignore to ignore everything but files that end in .py?22:39
I tried !*.py but that didn't work.22:39
neuro_damage left22:40
mnaser joined22:41
tiago left22:42
jbw` joined22:44
tlvb joined22:45
trenthauck joined22:45
tlvb Is there a way to have gitolite block gitweb from showing a particular repo? right now I have my own user as RW+ and no other access specifications.22:46
fbass left22:46
phretor_ joined22:48
jutaro left22:48
phretor left22:50
giallu left22:50
trenthauck left22:54
cschneid left22:55
dreiss joined22:56
scyx left22:56
ScottG left22:58
tiago joined22:58
bremner tlvb: do you have a description for that repo?22:59
vmil86 left22:59
Sonderblade left23:01
nazgul102 joined23:01
v4n_ left23:02
fbass joined23:02
tansell-laptop joined23:02
Vile left23:03
chrisf|laptop joined23:04
nazgul101 left23:04
diegoviola joined23:04
Kreative` left23:05
kipras left23:06
belkiss left23:09
p3rror joined23:10
p3rror left23:10
tewecske left23:12
p3rror joined23:12
alnewkirk left23:13
oc80z left23:13
oc80z joined23:14
alnewkirk joined23:15
phretor_ left23:17
RaceCondition left23:17
AdmiralSausage left23:18
Davey_ left23:19
apocalyptiq joined23:20
Corren joined23:24
ketas joined23:25
mrtadis_ left23:28
orafu left23:29
orafu joined23:29
jpmelos joined23:30
jeff-h left23:30
rideh left23:31
ziro`Guest7645023:36
spearce joined23:37
w0bni left23:40
jpmelos left23:40
workmad3 left23:43
EricInBNE joined23:45
mrtadis joined23:45
Unode|Work left23:46
ProLoser|Mobile left23:47
apocalyptiq left23:49
airborn left23:52
ketas left23:52
Kreative` joined23:53
diegoviola left23:58
rascal999 left23:59

Logs Search ←Prev date Next date→ Channels Documentation