IRCloggy #git 2010-06-27

Logs Search ←Prev date Next date→ Channels Documentation

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

2010-06-27

Tuller joined00:00
ChUrP left00:01
jasonn1234 left00:03
Paraselene_ left00:04
mindworx left00:04
mindworx joined00:06
Paraselene_ joined00:10
Tyler-- joined00:12
Tyler-- what causes: Permission denied (publickey,keyboard-interactive).00:12
MattDiPasquale joined00:14
wereHamster you not having the correct key nor being able to provide a password00:18
MicahElliott joined00:25
JStout left00:27
orafu joined00:27
airborn_ joined00:30
EricInBNE left00:30
EricInBNE joined00:31
chrislerum joined00:32
Tuller left00:35
mindworx left00:38
airborn left00:39
airborn_ left00:39
t0rc joined00:42
mindworx joined00:43
patmaddox joined00:44
resmo joined00:44
little_owl left00:46
bagoor left00:46
hobodave joined00:48
mindworx left00:48
warlock_mza joined00:53
patmaddox left00:55
patmaddox joined00:55
MattDiPasquale left00:57
alex__c2022 joined00:58
chrislerum left01:04
chrislerum joined01:07
Tyler-- left01:13
Vampire0 joined01:15
alex__c2022 left01:21
MicahElliott left01:23
chrislerum left01:24
Tyler-- joined01:27
VVSiz_ joined01:27
ft left01:28
ft joined01:29
skmidry__ left01:36
hobodave_ joined01:36
warlock_mza left01:36
CodeRedLin joined01:38
hobodave left01:39
Tyler-- left01:40
chrislerum joined01:45
CodeRedLin left01:57
byang joined02:02
homiziado left02:02
Blackguard joined02:03
Blackguard left02:04
mithro left02:05
mithro joined02:05
Blackguard joined02:05
hasrb joined02:16
hasrb How do I ignore merges with the master branch in my commit log?02:16
for instance, I make a commit in the "user_login" that describes it and then checkout master and merge it02:17
I just don't want the "Merge branch 'user_login'" in my commit logs02:17
MicahElliott joined02:19
hohoho joined02:20
cytrinox_ joined02:20
DrNick hasrb: well, what do you want in your commit logs?02:20
hasrb DrNick: maybe my workflow is a little off. lets see...02:21
git checkout -b changes; make changes; git add . && git commit -a -m "updated x"; git checkout master && git merge changes02:21
so I want "updated x" in my logs02:21
cytrinox_cytrinox02:21
__skyl__ joined02:21
hasrb I dont' care about "Merge branch changes"02:21
make changes = edit files, not the make command02:21
or maybe that's normal? I guess I just don't see it a lot in other people's logs02:23
dreiss joined02:24
MicahElliott left02:25
Elfe_ joined02:26
hyperair joined02:27
thomas_b joined02:32
__skyl__ left02:33
alester joined02:36
harinath left02:39
patmaddox left02:42
patmaddox joined02:43
ajpiano joined02:43
ramusara joined02:43
walf443 joined02:43
patmaddox left02:47
ajpiano left02:48
hohoho left02:49
ajpiano joined02:50
walf443 left02:52
walf443 joined02:52
harinath joined02:55
walf443 left02:57
walf443 joined02:58
dreiss left03:00
offby1 hasrb: there's a --no-merges option to "git log"03:01
that might be what you want03:01
hasrb offby1: yeah, I was mostly just thinking about on github when I'm working on a project with someone else, they don't really care about my merges with master since they don't explain much03:01
i mean you can see the diff though03:01
so i guess it does03:02
walf443 left03:03
walf443 joined03:03
ratc left03:05
walf443 left03:08
plediii_ left03:10
walf443 joined03:10
codeshepherd joined03:12
walf443 left03:15
\mjd joined03:15
warthog9 joined03:16
iruediger left03:16
harinath left03:18
walf443 joined03:18
_2x2l joined03:20
warthog9 left03:22
mindworx joined03:23
walf443 left03:24
walf443 joined03:25
scatterp how would i figure out the svn url to get this branch http://github.com/jacek/imprudence/tree/hpa-backup ?03:25
jasonn1234 joined03:25
DrNick scatterp: the what?03:26
scatterp DrNick i want to download the hpa-backup branch ?03:26
DrNick ok, clone it03:27
eno joined03:27
scatterp DrNick i have to put a url like http://meerkat-viewer.googlecode.com/svn/trunk/03:28
oh i need a git program right03:28
DrNick you understand that git is not svn, right?03:28
scatterp not really no :)03:28
i do now03:29
univate joined03:29
mindworx left03:29
scatterp so i need to download something to get it03:29
doener if you insist on using svn: http://svn.github.com/jacek/imprudence.git03:30
scatterp oh cool03:31
harinath joined03:31
scatterp doener will that get me the hpa-backup branch03:31
or will it get all the branchs ?03:31
warthog9 joined03:32
doener I have no clue about the svn stuff at github, I value my brain too much to use svn03:32
scatterp k03:32
ill test it out03:32
i just care about geting the code03:32
my codeings to bad to contribute03:33
mindworx joined03:33
ramusara left03:34
walf443 left03:38
mindworx left03:40
walf443 joined03:40
MattDiPasquale joined03:40
hasrb left03:44
mindworx joined03:46
mindworx left03:48
walf443 left03:50
walf443 joined03:53
maleknet joined03:55
happypolla joined03:55
OFICINA7 joined03:59
codeshepherd left04:00
harinath left04:04
codeshepherd joined04:05
walf443 left04:05
walf443 joined04:06
\mjd left04:09
\mjd joined04:10
walf443 left04:10
walf443 joined04:10
multigrain joined04:14
multigrain left04:15
ignatp joined04:16
maleknet left04:17
walf443 left04:18
harinath joined04:18
KiiK joined04:18
consolers joined04:19
t0rc left04:19
KiiK "git:// http:// " what's the different between this 204:19
Ilari KiiK: git:// is dedicated protocol for anonymous git repo fetching. HTTP is http (quite bad without serverside support).04:20
KiiK llari: any performance different ?04:21
maleknet joined04:21
ignatp left04:22
Ilari KiiK: If HTTP is not backed by serverside CGI, then git:// has loads better performance.04:22
walf443 joined04:22
Ilari KiiK: If HTTP has server cgi backing it, then they are about equal (git:// might still be bit better).04:22
KiiK: The recomended protocol for pushing is ssh://04:24
codeshepherd left04:25
KiiK llari: thanks04:26
Ilari KiiK: HTTP is mostly meant as backup for those that have overly strict firewalls.04:26
scatterp trying to check out a specific branch using git http://pastebin.com/fhX8m7km i get this error04:27
i am a little confused :S04:27
Ilari scatterp: You didn't cd to directory it created (and thus are outside repo).04:28
scatterp oh04:29
Ilari scatterp: And avoid spaces in paths... They may or may not cause trouble (depending on software).04:29
scatterp oh they will04:29
i was thinking just to get the src code i want04:29
and rename the folder after04:30
is that ok ?04:30
codeshepherd joined04:30
Ilari scatterp: Yes.04:30
scatterp ok so now i did that i didnt see much erm activity04:31
walf443 left04:31
scatterp i am trying to compile that branch04:31
so i am kinda missing the step where a folder appears with that branch name ??04:31
happypolla left04:33
Ilari scatterp: This is not SVN.04:34
scatterp: Checkout the correct branch (see 'git branch -r').04:34
chrislerum left04:35
scatterp ok04:35
walf443 joined04:36
scatterp im still lost04:37
anathematic joined04:37
brian joined04:40
brosner left04:41
codeshepherd left04:44
walf443 left04:45
alester left04:48
walf443 joined04:48
codeshepherd joined04:50
consolers left04:53
keyvan joined04:56
scatterp joined04:56
adamm left04:57
walf443 left04:58
KiiK left04:58
MicahElliott joined04:59
walf443 joined05:01
brianbrosner05:02
walf443 left05:11
walf443 joined05:15
codeshepherd left05:16
jrmuizel joined05:20
Yuffster joined05:22
walf443 left05:23
walf443 joined05:24
fmardini joined05:25
xiong joined05:26
xiong Okay, now is the time I really want git to work for me. I don't want to back out of a whole commit but I want to restore a few files to their state at the time of an earlier commit. Can it be done?05:27
DrNick git checkout $COMMIT -- $FILES05:31
walf443 left05:33
walf443 joined05:35
bodom joined05:37
xiong DrNick, Let me look at that. I want the current files the way they are, too, so I've moved them into another folder.05:38
smorg joined05:39
xiong DrNick, 'man git-checkout' doesn't indicate that at all. Not saying you're wrong, just saying I don't see it.05:39
DrNick third paragraph in the description section05:40
also the last line in the synopsis05:40
walf443 left05:43
xiong It does work; thank you.05:44
happypolla joined05:44
walf443 joined05:45
niki joined05:45
xiong Manpage uses the word 'paths'; I'm thinking 'directories' and wanting files.05:45
Leemp How would i delete a tag from a remote repo? I assumed i could delete it locally, and push that, but that did not work. Any thoughts?05:47
DrNick git push --delete refs/tags/$TAG05:49
walf443 left05:49
walf443 joined05:50
walf443 left05:51
walf443 joined05:52
xiong Thanks again, DrNick++. This is why I'm using git.05:53
walf443 left05:56
OFICINA7 left05:56
marcial5 joined05:57
bodom left05:57
walf443 joined05:58
scarabx joined05:59
hyperair left06:01
codeshepherd joined06:09
walf443 left06:10
walf443 joined06:11
SvenDowideit joined06:16
scarabx left06:18
walf443 left06:18
walf443 joined06:19
codeshepherd left06:19
jasonn1234 left06:20
mjf joined06:25
ExtraSpice joined06:25
Blackguard left06:27
codeshepherd joined06:27
walf443 left06:28
walf443 joined06:30
bobrik left06:32
scatterp heres my git branch -r how can i merge origin/hpa-backup + origin/login-manager ?06:33
walf443 left06:34
walf443 joined06:35
jrmuizel left06:35
g3d joined06:41
nchaimov joined06:42
codeshepherd left06:43
walf443 left06:47
\mjd left06:47
anathematic left06:48
cxreg into each other? or into master?06:48
anathematic joined06:48
walf443 joined06:51
mjf left06:51
project2501a joined06:51
MicahElliott left06:52
anathematic left06:53
JdGordon joined06:54
eletuchy joined06:54
JdGordon I've got a local repo here with 2 remotes (ne for upstream and one for github)... how do I create a remote branch on hitbud from a local branch?06:54
doener joined06:55
JdGordon $ git branch --track github_newparser github/newparser <- no worky06:55
tvw joined06:55
[reaVer] joined06:55
[reaVer] left06:55
[reaVer] joined06:55
JdGordon upstream is origin, github is the github remote06:55
scatterp cxreg into master06:57
cxreg scatterp: git merge origin/hpa-backup; git merge origin/login-manager06:57
coppro left06:57
cxreg what's so hard about that? :)06:57
scatterp its kinda unlogical but ok06:57
cxreg why?06:57
scatterp its the lack of any real confirmation that git has done something06:58
that messes with me06:58
cxreg you want fireworks and clowns?06:58
scatterp cxreg i think i already did that will doing it again be ok ?06:58
cxreg sure, you can merge as many times as you want06:58
if there's nothing unmerged, it will just do nothing06:58
scatterp cxreg "your local file system was altered" would work06:58
cxreg check git log06:59
scatterp how do i get out07:00
after?07:00
aless_ joined07:00
scatterp got it07:01
mithro left07:02
aless left07:03
LongBeach joined07:04
rajeshsr joined07:07
hyperair joined07:12
bababfds joined07:12
blinky joined07:18
wolog joined07:18
DavidKlein joined07:21
MicahElliott joined07:24
marc_kdab joined07:27
thiago_home joined07:28
Titosemi joined07:31
Yuffster left07:32
lhz joined07:33
priidu joined07:38
hyperair left07:40
tvw left07:44
Acorn joined07:44
MattDiPasquale left07:45
drizzd joined07:50
justin-george joined07:54
justin-george left07:54
airborn joined08:00
marc_kdab left08:01
MicahElliott left08:04
raichoo joined08:05
[Po]lentino joined08:07
candybar joined08:08
jstemmer joined08:12
mbroeker joined08:14
airborn left08:17
rox` joined08:17
pantsman joined08:18
werdan7 joined08:19
poseid joined08:19
giskard joined08:25
raichoo left08:38
ziro` joined08:38
pcwick joined08:40
orafu left08:43
rox` left08:50
bobrik joined08:53
sylr joined08:55
simplechat joined08:56
issyl0 joined09:03
airborn joined09:05
issyl0 Hi there.09:05
pragma_ issyl0: what is the meaning of that?09:06
issyl0 I'm having a few problems when I do git push.09:06
Er, let me pastebin.09:06
http://issyl0.co.uk/repository/giterror1.txt There's the error I'm getting when I try to push.09:06
wereHamster issyl0: permission problems?09:08
issyl0 wereHamster: not that I can tell.09:08
It worked five minutes ago when I pushed osomething else!09:09
gebi joined09:09
Jaxan joined09:13
smorg left09:14
tizbac joined09:16
disappearedng joined09:20
justin_ joined09:22
tobiassjosten joined09:26
airborn left09:28
keyvan left09:30
keyvan joined09:33
engla|swe joined09:34
anathematic joined09:35
keyvan left09:39
mohamed_yosry joined09:40
ph^ joined09:40
poseid left09:40
Titosemi left09:42
bagoor joined09:42
markbao_ joined09:44
ThiefMaster` joined09:45
ThiefMaster` left09:45
ThiefMaster` joined09:45
ThiefMaster`ThiefMaster09:45
keyvan joined09:46
k3yvn joined09:47
rox` joined09:49
doener issyl0: the previous push likely just didn't try to write to that directory09:50
issyl0 doener: hmmm?09:50
doener issyl0: objects/40 contains loose objects, the "40" is a prefix of the 40 character sha109:50
issyl0 Ah right.09:50
keyvan left09:50
aziz joined09:50
doener issyl0: so if the previous push didn't transfer any objects with a sha1 starting with 40, it didn't touch that directory09:50
issyl0 Well why did it decide to then?09:50
doener issyl0: well, _this_ push needs to transfer such an object09:51
issyl0: I'm just saying that it's easily possibly that one push works, while a different one fails due to broken permissions09:51
issyl0 OK.09:52
:)09:52
doener issyl0: check the owner of objects/40, I bet it's wrong09:52
issyl0 Heh.09:55
I'm going to start again. :)09:55
Thanks for your help.09:55
bagoor left09:56
corni joined09:58
francisfish_away joined09:58
psoo joined09:59
radarek joined10:07
radarek hello, do you know any tools to create diagram with nice graphs of commits (I'm making a presentation about git) - preferred for OSX but it doesn't have to10:08
tobiassjosten left10:09
gebi left10:13
harinath left10:15
mohamed_yosry left10:15
cbreak radarek: looked at gitx and graphviz=10:16
radarek cbreak: can graphiz use some custom themes? (those showed in gallery are ugly :))10:18
cbreak themes?10:18
it doesn't have themes10:18
you can control everything10:18
consolers joined10:18
radarek cbreak: even how elements looks like (color, border, radius etc)?10:20
cbreak yes...10:20
radarek ok, so I'll look at this10:20
thanks10:20
cbreak I got this in my .gitconfig:10:20
alias.graphviz=!f() { echo 'digraph git {10:20
node [shape=record];' ; git log --pretty='format: "%h"[label="{%ci|%s}"]' "$@" | sed 's/|\([^}]\{0,32\}\)[^}]*/|\1/g' ; git log --pretty='format: %h -> { %p }' "$@" | sed 's/[0-9a-f][0-9a-f]*/"&"/g'; echo '}'; }; f10:20
I don't claim that it's good :)10:20
phlowx_ joined10:20
cbreak but it did something, ages ago when I wrote it10:20
j0rd i in-correctly have initiated two .git directories in my code path. /home/www/domain.tld and /home/www/domain.tld/htdocs . I've been commiting to both by accident. I want all my commits to go into the lowest parent directory. Can I merge these two repositories history? Or should I white the higher child and re-commit to parent?10:22
cbreak j0rd: look at man git-merge with subtree10:23
I've never used it, but it might do what you want10:23
doener http://www.kernel.org/pub/software/scm/git/docs/howto/using-merge-subtree.html10:24
note that it's somewhat ugly, because you have a rename in the history...10:25
I'd probably use filter-branch to either build a clean history from the start, or at least rewrite the history for "htdocs" to move everything in it down into a "htdocs" directory, and then merge that new histry10:26
/ry$/ory$10:26
dr_win joined10:26
hyperair joined10:27
kipras joined10:27
radioman-lt joined10:30
harinath joined10:30
raichoo joined10:32
niki left10:36
parasti joined10:37
poseid joined10:39
poseid left10:39
mithro joined10:43
hyperair left10:43
mithro_ joined10:45
mithro left10:47
frank_ joined10:48
disappearedng_ joined10:49
Bennid joined10:51
disappearedng left10:53
aliceinwire left10:55
j0rd cbreak: thx. I'll take a look10:57
Jaxan left10:57
Jaxan joined10:58
hyperair joined11:00
gebi joined11:00
mithro_ left11:01
Jaxan left11:03
ChUrP joined11:07
j0rd to save myself some pain, might it just be easier to remove the child and then re-add/commit to the parent?11:09
i don't think i'm comfortable enough with git to attempt this merge11:09
cbreak you'd lose all history11:09
henkboom left11:09
j0rd and preferably, i'd like to spend my time working, instead of fighting with git11:09
ya, i know i'll lose it11:09
aspotashev|eeepc joined11:10
icwiener joined11:10
j0rd but it should work fairly simple after that i immagine11:10
cbreak git allows you to keep it11:10
but it's tricky as described above11:10
j0rd especially when i'm dealing with around 8430 files :)11:11
backing it up and attempting11:12
we'll see11:12
if it takes me more than 20 minutes, gonna just lose my history and move on11:12
henkboom joined11:12
cbreak number of files should not matter11:12
j0rd unless i have same files, which i do11:13
i assume11:13
cbreak how can you have the same files when one is in a subdirectory of the other?11:13
icwiener_ joined11:13
j0rd i might have commited them from the root and i may have commited them from the child as well11:14
i wasn't paying attention11:14
granted i understand this is my mess up11:14
i just didn't notice i had a .git in my child folder...11:15
cbreak I don't think that's possible11:15
if you have a .git in your child, everything in that child belongs to the inner .git11:15
j0rd i guess we'll find out. please excuse my ignorance with git. still learning11:15
icwiener left11:15
cbreak the outer doesn't know about it... I think...11:16
j0rd gotcha11:16
cbreak you can easily check that by the way11:16
j0rd i know. just gonna try the merge and see what happens11:16
cbreak I don't think straight merging will work11:17
ah anyway, good luck :)11:17
anathematic left11:17
FauxFaux If you have cpu time to burn you can make merge attempt to resolve renames on stupid numbers of files, very useful.11:17
j0rd not this sub-tree merge strategy link i have?11:17
anathematic joined11:22
j0rd "Merge with strategy ours failed." on step 2 of "how to use the subtree merge strategy"11:22
=(11:22
bagoor joined11:22
unreal_ joined11:32
j0rd can i export the commit history from one repo and merge it into the other somehow?11:33
like export the history from my child. remove the .git folder. Import it into my root somehow altering the filepaths?11:33
unreal_unreal11:33
Rhonda j0rd: One approach might be git format-patch and then git am11:34
In the files that git format-patch exports you can easily tweak the filepaths, if needed.11:35
cbreak in your situation, you'll first have to git filter-branch to move the subdirectory contents11:35
j0rd any non-kernel.org howtos with that11:35
kernel.org docs are fairly technical and confusing. they assume i know what the hell I'm doing11:35
i'll try and find some alternate documentation, but if you know of any that would be wonderful11:36
cbreak learnt git from man pages11:36
cbreak well, man pages and http://eagain.net/articles/git-for-computer-scientists/11:36
j0rd i'd like git for dumbasses11:37
:)11:37
cbreak there is a git-for-svn-users11:37
j0rd but thank you11:37
cbreak guess that's as close as it gets11:37
j0rd i feel there was a mild flame in ther :)11:37
cbreak just a bit... :)11:37
airborn joined11:38
radarek left11:39
Luke__ joined11:41
happypolla left11:44
apsysoev joined11:48
j0rd so i just deleted my root/htdocs/.git child folder i was trying to get rid of, expecting that my root/.git would not all those files committed into the child...but the root seems to have them all. I dunno wtf11:49
Bennid left11:50
j0rd i guess i just lost the history11:50
airborn left11:50
j0rd what ever, just going to move on and hope my repo isn't messe11:51
Zephyrus joined11:52
Chris64 joined11:53
j0rd applying patches I made with `format-patch` wouldn't work as the files are already technically patched. I guess this is why i needed to "filter-branch" to revert back my changes in the child branch and then re-apply them11:53
all really confuzing.11:53
i'm going to love trying to explain git to my designers. I'm sure this will all make tonnes of sense to them :D11:54
jasonn1234 joined11:54
cbreak designers?11:55
git's not that good at dealing with big binary files11:56
j0rd is any VCS?11:56
gebi perforce, svn11:56
j0rd mostly just store jpgs and gifs and pngs11:56
cbreak well, it's not like git will fail or something11:57
it'll just not be too efficient11:57
j0rd which are usually a couple K and don't get changed often11:57
gebi ah, should have said earlier ;)11:57
j0rd but if they edit html, i want to be able to work in the VCS with them for that11:57
gebi binaries files in GB are problematic with git11:57
j0rd i don't do anything that large. having 1GB jpgs is also problamatic for web browsers11:58
gebi heh11:58
pcwick left11:58
j0rd i've been toying with the idea of looking at Bazaar, but if drupal decides to go with git, so will I11:59
native gui clients would help me actually get the people I work with to use the VCS instead of just emailing me, or uploading changes12:00
i think git will prove to be too difficult for them12:00
ciaranm do you really want people who can't grasp basic git to contribute?12:01
gebi depends on, if they are not svn infested a quick introduction may save you many hours of work, if they expect to work with git like svn you better use svn for them12:01
and sync with git from there12:01
j0rd ciaranm: yes, i do12:02
cbreak look at gitx12:02
it's a nice gui12:02
j0rd ciaranm: unfortunately very few good graphic designers are actually computer scientists or kernel programmers12:02
and unfortunately as a web programmer, I am destined to collaborate with them12:03
ciaranm i think you're overestimating the knowledge required to use git12:03
j0rd so i need a version control system people can actually figure out and use, instead of one that's efficient in storage and performance12:03
cbreak you could make them a few scripts that they can just start12:03
one that does git commit -a12:03
one that does git pull & git push12:04
gebi scripts that work on OSx and Windows?12:04
cbreak one for each12:04
j0rd ciaranm: i think you're over estimating the patients and skill of people i work with :)12:04
and my spelling12:04
cbreak: ideally a VCS would be easily enough, that i wouldn't have to create scripts for my users to use it12:05
cbreak it is :)12:05
ciaranm the problem with easy is that sooner or later you're going to need not easy12:05
cbreak they can type it themselves12:05
j0rd http://code.google.com/p/tortoisegit/ seems to be simple enough for people to figure out. at least witih svn12:05
cbreak but I found that at least my sister has major problems even remembering basic commands12:06
like "cd" to switch to the correct folder12:06
j0rd cbreak: number of users i've worked with at my past job who used a VCS on the command line were 112:06
and that was me12:06
everyone else uses a gui12:06
because they are stupid and lazy12:06
mostly lazy12:06
xiong left12:06
ciaranm the lazy thing to do is to learn how to use git12:06
because sooner or later it'll save you from having to redo loads of work12:07
j0rd ya, but that takes time and experience. most users will give up after a project if it's not easy to use12:07
granted git is pretty good for normal workflow, it's gets hard when you have problems12:07
but so do all VCSs12:07
ciaranm no, with most VCSs you're screwed when you have problems12:07
j0rd ive rarely been screwed...but granted a have a lot more experience with other past VCSs12:08
bagoor left12:08
j0rd and i didn't do a lot of branching, which caused problems12:08
which is eventually why i switched to git (branching)12:09
again though, my concern is that it'll be too hard for the people i collaborate to figure out :)12:09
but so are most VCSs12:09
work on a couple projects with people who don't get VCSs and who are not programmers. when get back to me with your experience12:10
s/when/then/g12:10
ciaranm the solution is to teach them how to use a VCS12:11
j0rd i work with people remotely12:11
not in the same office12:11
ciaranm so?12:11
j0rd i don't have that luxery12:11
ciaranm presumably they know how to read12:12
henkboom left12:12
j0rd kernel.org documents are confusing12:12
even for me12:12
ciaranm there are plenty of other git documents12:13
j0rd yep, i know12:13
and i find those instead12:13
but you assume people want to learn a VCS. most cases they dont. they are being forced to use them. if they run into problems. I'd be the one having to resolve their issues. So I'd usually just get them to zip up their files send em over and I'd do it myself12:14
teaching them the art of VCS would take much longer12:14
jasonn1234 left12:14
imarcusthis fish vs fishing12:15
j0rd all i'm trying to say, is for me. usability is one of the top concerns with me using a VCS with the people I work with. Because then, they might actually use it12:15
henkboom joined12:15
j0rd imarcusthis: ya, but you can't really teach everyone to fish, especially if theyre affraid of water. you'd have to get over that first :)12:15
ciaranm if they're not prepared to learn git, fire them and hire people who are12:16
j0rd i don't always get to choose who i work with12:16
imarcusthis quit and start your own company. worked out well for me.12:16
j0rd and i wouldn't expect a designer to understand git12:16
cbreak or just encourage them12:16
"Hey, I liked the version of that style from 2 weeks ago too, can you show me how it looked back then?"12:16
j0rd i'm thrilled if they get it, and Im supprized when they actually do12:17
it's rare12:17
otherwise an sFTP account with a repo for them. email notifications upon changes and commit the stuff myself12:18
;)12:18
not trying to change the world. just get work done12:18
jast I continue to be astounded at how much people underestimate the human capacity for learning]12:19
imarcusthis I work with designers12:19
they use git12:19
giskard left12:19
jast but I agree that much of the existing documentation is not very friendly12:19
imarcusthis they even manage to do branching, somewhat.12:19
j0rd imarcusthis: do did i. but they're not very good at it12:19
imarcusthis: and if it breaks, who do they talk to?12:19
imarcusthis j0rd: you? :)12:20
cbreak send them to #git, we'll make fun of them.12:20
j0rd :)12:20
darkredandyellow joined12:23
[reaVer]reaVer12:23
darkredandyellow guys, small problem with "--squash": "git merge bar --squash" when I am in branch foo.12:23
the merge happens correctly12:24
but: git log doesnt show anything from "bar", meaning the last SHA I see is the last from foo12:24
JdGordon left12:25
darkredandyellow so the merge was successful, but I have no indication that it was even merged by just looking at it12:25
ciaranm darkredandyellow: --squash doesn't preserve information from the other branch12:25
darkredandyellow: think of --squash as creating a new, unrelated commit that does the same as all of the changes you'd otherwise be merging12:25
darkredandyellow ciaranm, yes, but i thought at least the merge would show up in git log?12:25
in other words: what can i do that i still see that there was a merge?12:26
ciaranm darkredandyellow: do a 'git status'. did your squash get committed?12:26
jasonn1234 joined12:26
ciaranm merge --squash isn't a 'merge'. it's a commit that does the changes that a merge would do.12:26
str1ngs joined12:27
darkredandyellow ciaranm, yes, my squash got committed12:27
ciaranm darkredandyellow: then 'git log' will show you that commit12:28
darkredandyellow ciaranm, you're right.12:28
thanks for the clarification12:28
engla|swe darkredandyellow: the commit message should make it clear that it's a merge12:28
str1ngs I'm having trouble deleting a remote branch. when I run. git push origin :foo. I get ! [remote rejected] foo (deletion of current branch prohibited) . how I can I fix this?12:28
offby1 str1ngs: maybe there's a command line switch like "--force"12:29
str1ngs offby1: ok let me check12:29
offby1 or maybe you can log in to the remote box, and check out some other branch12:29
str1ngs its on github12:29
ciaranm mutters something about faq non-bare for good measure12:29
ilogger2 joined12:46
rseifert joined12:52
rajeshsr joined12:56
ghost_olli joined12:59
ghost_olli_ joined13:06
yann joined13:06
bandu joined13:08
ghost_olli left13:09
ghost_olli_ left13:12
mw joined13:12
mw left13:12
mw joined13:12
mw2 joined13:13
bentob0x joined13:13
hohoho joined13:16
rubydiamond joined13:17
bentob0x left13:25
jrmuizel joined13:27
ijuma joined13:28
plediii_ joined13:29
jasonn1234 joined13:29
psoo joined13:31
psoo left13:32
poseid joined13:43
jasonn1234 left13:44
shade_ joined13:47
VVSiz joined13:48
fr0sty joined13:48
khelll joined13:58
rubydiamond left13:58
LauJensen joined14:00
LauJensen I have a branch with several commits that I need to clear out - What is the command to merge a branch, picking out one commit at a time?14:00
(is there a magit thing to help me do this)14:00
cbreak you can use git rebase -i to remove the commits14:01
_ikke_ LauJensen: Try looking at git rebate14:01
rebase*14:01
LauJensen Ah ok14:01
jast rebase -i is magic14:01
LauJensen How do I make the new branch then ? Since checkout will give me all of the old commits, I dont think that would be me the result I want14:01
I need an empty branch right?14:02
jast rebase -i is for reshaping a branch, so you don't actually need to start from an empty branch14:03
so if you want to keep your old branch, just create a copy and work on that14:03
LauJensen and I want an empty branch or a new repo, how would I do that ?14:04
jasonn1234 joined14:04
notjohn joined14:04
cele joined14:04
cele left14:05
jast well, a new repository is simple, right? just run git init in an empty directory14:05
LauJensen sure, and then the rebase to loot from the old repo ?14:05
jast creating an empty branch in an existing repository is a bit messy... there's an explanation on http://book.git-scm.com/14:05
do you actually want to keep the old version of the history?14:05
LauJensen For those commits that are interesting yes, everything else can stay where it is14:06
s/can/should/14:06
jast oh well14:06
just create a copy of the branch (git checkout -b newbranch) and run git rebase -i on that, with the oldest commit you want to keep as its argument14:06
madewokherd joined14:07
jast and see the description of rebase -i (section "interactive mode" in the manpage)14:07
LauJensen I know I was a bit unclear to begin with, but this is what I would prefer: Make a new repo, rebase from the old repo, making a new shiny repo with a perfect history. Is it possible to rebase from another repo like that ?14:08
jast just clone the repo and reshape the clone14:08
LauJensen k, lemme try :)14:09
jasonn1234 left14:12
LauJensen Ok heres the thing. Cloning it is fine, but the rebase should end of having only the master branch in a prettified version, rebasing will put me in another branch right?14:13
jasonn1234 joined14:14
t0rc joined14:19
LauJensen Someone must have the answer to this. Take a branch from 1 repo, and save is in a cleaned up form in another...?14:20
ChUrP1 joined14:20
sagsousuke joined14:21
t0rc left14:22
avar Interesting. I can commit empty dirs by making them a subproject. I wonder what abusing that would harm..14:22
thiago_home it's easier to just make them non-empty14:22
aspotashev|eeepc joined14:23
ChUrP1 left14:25
slakmagik joined14:25
coderdad joined14:26
MattDiPasquale joined14:29
rseifert left14:32
xiong joined14:34
coderdad left14:41
khelll left14:42
d0k joined14:45
fr0sty left14:49
fr0sty joined14:50
zubin71 joined14:51
zubin71 hi is there any place i can read about the git protocol alone? its implementation and stuff like that?14:52
offby1 the git source14:55
poseid left14:55
alsuren joined14:55
Jaxan joined14:58
zubin71 offby1, okie15:01
thnkx!15:01
starcoder|Svr joined15:03
offby1 Don't call me no okie!15:03
geirr joined15:05
alsuren left15:10
harinath joined15:15
level09 joined15:17
level09 why is there origin/head and origin/master15:17
bdimcheff joined15:17
raichoo joined15:18
hyperair joined15:18
wereHamster you mean origin/HEAD, right?15:19
level09 yes15:20
tizbac joined15:21
jasonn1234 left15:21
level09 why is that considered another branch?15:21
thiago_home because HEAD exists on the server15:21
level09 isn't HEAD refers to my current location15:21
thiago_home no15:21
level09 in the commit tree ?15:21
thiago_home well, yes15:21
but origin/HEAD is not HEAD15:21
offby1 HEAD is the currently-checked-out branch, no?15:21
thiago_home but it's there to help you: you can simply write "origin", meaning origin/HEAD15:22
offby1 or a plain SHA1 if you're "detached"15:22
level09 thiago_home: but isn't that identical to origin/master?15:22
thiago_home it could mean something else15:22
and that's 7 characters longer15:22
n2d joined15:24
thiago_home by default, origin/HEAD points to the branch that origin's HEAD points to15:24
but you can change it locally (no effect on remote)15:24
bandu left15:25
n2d when writing a commit message what should be taken in to account15:25
dreiss joined15:26
mw left15:26
wereHamster n2d: <HEAD:Documentation/SubmittingPatches>15:26
mw2 left15:27
wereHamster n2d: http://git.kernel.org/?p=git/git.git;a=blob;f=Documentation/SubmittingPatches;h=eb53e0636e3c3bab06e88ce3371945f5602c5756;hb=HEAD15:27
(where's the bot?)15:27
n2d wereHamster: sorry, i didnt get it15:27
wereHamster: thanks15:27
jensn joined15:32
jfkw joined15:32
zubin71 left15:33
airborn joined15:40
level09 how do I replace my branch when pulling ?15:44
thiago_home explain15:45
offby1 what do you mean by "replace"?15:45
level09 I want to force my branche to be overwritten by the remote one15:45
offby1 ah15:45
"git fetch ; git reset --hard FETCH_HEAD"15:45
programble joined15:45
AkumaStreak joined15:45
level09 this will create a new commit that is identical to the remote branch ?15:45
offby1 no.15:45
Try It And See™.15:46
level09 alright15:46
:DD15:46
offby1 1) Read "Git For Computer Scientists" (http://eagain.net/articles/git-for-computer-scientists/); 2) run "gitk --all"15:46
level09 i cant run gitk15:47
its centos15:47
server15:47
jast tig is a pretty nice alternative15:47
thiago_home level09: so?15:48
level09 let me check that15:48
khmarbaise joined15:49
level09 nice15:49
neutrino joined15:50
neutrinotar-15:50
harinath left15:51
sagsousuke left15:53
plediii_ left15:56
henkboom joined15:59
Jaxan left16:00
khelll joined16:05
khelll left16:05
n2d left16:05
harinath joined16:06
jmcantrell joined16:07
vu3rdd joined16:07
scarabx joined16:08
amitsamtani joined16:11
amitsamtani is anybody in here?16:13
aep no. just 608 other people16:13
rkreis 60716:14
Mycr0ft joined16:15
xiong left16:15
harinath left16:15
AkumaStreak left16:15
pcwick joined16:16
hal joined16:17
Titosemi joined16:17
icefox joined16:17
Mycr0ft left16:21
ziro` joined16:21
dreiss left16:22
gebi hm... error: git-svn died of signal 1116:23
thiago_home 11 = SEGV16:24
dreiss joined16:25
gebi yea i know ;), though perl shouldn't segfault16:25
hm... nevermind, repo is good, git-svn seems to have done it's work16:26
amitsamtani thanks aep :)16:26
jmcantrell left16:26
jmcantrell joined16:27
amitsamtani im really new to git, git push is supposed to push everything to the remote repository right? all the changes that i commit does not get pushed... it says "everything is up to date" anyone know why?16:27
level09 left16:28
harinath joined16:32
thiago_home no16:32
git push pushes all like-named branches16:32
hannes joined16:33
hannes I'm going to import an subversion repository. first trunk, then I want to import branches, but these have not branched the complete trunk; somehow I wasn't able to find documentation how to do that properly (http://ivanz.com/2009/01/15/selective-import-of-svn-branches-into-a-gitgit-svn-repository/ was the best I could find)16:34
Mycr0ft joined16:35
hal How can a remote tracking branch be created in the fewest steps using the local command line, please?16:35
I always seem to have to create a testfile to commit and push before it will be created, and also run config commands so that it knows which is the correct remote16:35
isn't there a quicker way of doing this?16:35
corni joined16:36
thiago_home hal: git branch localbranch remotename/remotebranch16:37
hal thiago_home: hi and thank you....16:38
Yuuhi joined16:38
hal thiago_home: should the remotebranch be an existing branch, or what the new remote branch name will be?16:38
thiago_home it should be an existing branch16:38
ChUrP joined16:39
hal thiago_home: ok, and then what are the next steps, so that the new branch (currently local) can be seen by others?16:39
ThiefMaster` joined16:39
ThiefMaster` left16:39
ThiefMaster` joined16:39
ThiefMaster`ThiefMaster16:39
amitsamtani thaigo_home: so, if i create a new branch, create a new file, commit, then push... it will not push? how do i get my new branch to the repo?16:40
hal amitsamtani: err, are you hijacking our conversation?! ;-p16:41
amitsamtani hal: sorry about that16:41
hal amitsamtani: it seems that you have the exact same problem as me16:43
amitsamtani hal: ah, i just read ur messages, yea i think we do have the same problem.16:44
Tuller joined16:44
amitsamtani hal: i thought if i create a branch and push it, it would be pushed into the repo... but even when i create a file... its not getting pushed to the repo16:44
zimbres joined16:45
hal amitsamtani: yes, well, you could manually adjust the config files, by running the correct command, but I am sure there is a better way16:45
dreiss left16:45
hannes left16:48
amitsamtani hal: would you know why this would not work? git branch newbranch git checkout newbranch git touch newfile git commit -a -m "blah" git push .... am i missing something?16:48
hal thiago_home: can you help any further with this?16:48
radarek joined16:48
hal amitsamtani: you aren't specifying the remote branch that it is tracking16:49
Yuffster joined16:49
hal amitsamtani: as thiago_home said, git branch localbranch remotename/remotebranch16:49
or alternatively, if you are in master...16:49
amitsamtani: git checkout -b localbranch remotename/remotebranch16:50
which will switch to your new branch too16:50
amitsamtani right now i think i only have one branch... master... how would i create a new branch in the repo?16:50
thiago_home hal: sorry, was busy16:51
hal: you have a local branch and you want to share with other people?16:51
hal: push it16:51
hal thiago_home: it gives an error if I push it...16:51
thiago_home what error?16:51
hal thiago_home: sorry, not an error - it says, everything is up to date16:52
and even after running this command, the branch is not yet available to others16:52
on the remote16:52
thiago_home hal: "git push" only pushes like-named branches16:53
hal: if you have just created this branch locally, then by construction it doesn't exist in the remote16:54
so "git push" won't push it16:54
amitsamtani thaigo_home: 1, how do you create a branch remotely and 2, if you messed up and created a branch locally, how can we fix it and create it remotely as well now?16:55
thiago_home you need to push it to the remote16:56
you need to supply two more arguments to git push16:56
amitsamtani "git branch localbranch remotename/remotebranch"16:57
thiago_home 2) your question doesn't make sense16:57
amitsamtani and i can specify whatever i want to remotename/remotebranch?16:57
thiago_home that creates a local branch called "localbranch", tracking the remote branch "remotebranch" from remote "remotename"16:57
yes, you can16:57
amitsamtani by doing this: git branch acl_aro_aco develop/acl_aro_aco i get "fatal: A branch named 'acl_aro_aco' already exists."17:00
thiago_home sounds self-explanatory17:00
do you want to change the branch that acl_aro_aco tracks, withtout deleting it?17:00
hal thiago_home: I am sorry, I don't understand. I have run git branch localbranch remotename/remotebranch. How do I make remotebranch exist on the remote?17:00
thiago_home hal: push it to the remote server17:01
hal: you need to specify the two arguments to git push17:01
hal: notice I'm not telling you what those arguments are. I expect you now to go read the manual.17:01
hal thiago_home: ok, I see, but could you be explicity about the git push command,?17:01
hmm17:01
thiago_home I could, but I won't17:01
madewokherd left17:04
MicahElliott joined17:05
hal thiago_home: is it git push origin localbranch ?17:05
thiago_home yes17:06
mmw joined17:07
amitsamtani hal: thanks hal, thaigo_home17:07
khelll joined17:08
amitsamtani hal: just stumbled across this link too: http://www.gitready.com/beginner/2009/02/02/push-and-delete-branches.html17:09
ThiefMaster` joined17:10
ThiefMaster` left17:10
ThiefMaster` joined17:10
ThiefMaster left17:10
marlun joined17:11
rseifert joined17:11
marlun I'm trying to change branch to master but I am getting an error that I've got local changes. I thought I could just change branch and the changes will be left so that I can add them to the new branch?17:12
thiago_home that's almost correct17:12
you can't change branches if that would change a file with uncommitted changes17:12
you can use either the -m option to checkout, or you should stash17:12
marlun Is that because I added and commited part of the file in this branch?17:13
I used add --patch17:13
thiago_home you didn't commit17:13
marlun I did commit the part I added with add --patch.17:13
All of the changes I've got left is "Changed but not updated"17:13
thiago_home commit17:14
radarek left17:14
marlun I have commited. The changes that is left I want to commit on the master branch.17:14
thiago_home it's what I said17:15
either use -m or stash17:15
marlun thiago_home: ok, thanks :)17:16
hal thank you for your help thiago_home - you were a great help! :)17:16
radarek joined17:17
amitsamtani left17:19
amitsamtani joined17:19
amitsamtani left17:20
amitsamtani joined17:20
amitsamtani left17:20
khmarbaise left17:20
OFICINA7 joined17:21
radarek left17:21
MicahElliott left17:22
froschi joined17:25
yann left17:28
lowik joined17:28
amitsamtani joined17:31
comawhite joined17:31
liuchong joined17:31
liuchong some one can speak chinese?17:32
?17:32
liuchong left17:33
jmcantrell left17:35
airborn left17:35
radioman-lt joined17:35
madewokherd joined17:35
airborn joined17:35
oriba joined17:36
Axius joined17:36
oriba left17:36
przemoc joined17:36
comawhite left17:37
radioman-lt left17:37
comawhite joined17:37
scatterp [18:31:52] <liuchong> some one can speak chinese?17:38
[18:32:09] <liuchong> ?17:38
that was quick lol17:38
zomg Yeah why didn't you answer! You bastard!17:39
This is IRC17:39
You are supposed to react to every whim of the users, instantly!17:39
I does stand for Instant afterall17:39
;>17:39
radarek joined17:46
paja joined17:47
hal left17:50
tango_ be fair, he waited ONE WHOLE MINUTE before leaving17:54
MattDiPasquale left17:54
lyosha joined17:54
lyosha Hi. Is there a way to tell git-svn to clone starting from a specific revision?17:55
patrikf lyosha: see man git-svn, --revision17:56
joelpet joined17:56
radarek left17:57
lyosha patrikf: great, that worked, thanks!17:59
icefox left17:59
psino joined17:59
mastro joined17:59
patmaddox joined18:00
amitsamtani left18:02
lyosha left18:03
LauJensen I have a branch with messy history. I want to walk each commit and cherry-pick a few to go into a new branch. Can somebody give me the exact command(s) to do that ?18:07
vu3rdd left18:07
hyperair left18:08
tar- left18:09
neutrino joined18:09
neutrinotar-18:09
hyperair joined18:09
Mage joined18:09
rane_ so you want to completely get rid of some changes you've done?18:10
LauJensen rane_: Not really. I have one branch which contains 100 commits. 30 needs to go into 1 new branch, 20 into another, and the last 50 can just float around for historic purposes18:10
rane_ well18:11
git checkout -b new-branch and interactive rebase18:11
LauJensen rane_: oddly enough, that just took 1 commit, put me in vi (eww) and then when I deleted the first line, simply stopped rebasing18:12
rane_ I guess you'd have to give it something like git rebase -i HEAD@{100}18:12
LauJensen oh, is there a short notation for ALL instead of 100 ?18:13
rane_ iirc there's no way to point to the "first" commit18:13
hyperair left18:13
LauJensen k18:14
mw joined18:15
radarek joined18:20
radarek left18:21
jensn left18:22
bdimcheff left18:25
hohoho left18:26
patmaddox left18:27
nsussman joined18:28
nsussman left18:28
fundamental joined18:30
khelll left18:30
apsysoev joined18:36
pennyfx joined18:36
pennyfx hi18:37
i'm a noob to git18:37
dj_tjerk joined18:38
pennyfx i have a few questions18:38
Axius left18:38
pennyfx i made some changes to some code in a local git repo.. i didn't check anything in.. i just want to revert back .18:38
how can i do that?18:38
rane_ git reset --hard HEAD18:39
you lose everything you haven't committed18:39
pennyfx even new files?18:39
radioman-lt joined18:39
rane_ ot those18:39
+n18:39
pennyfx k18:39
rane_ my bad18:39
hyperair joined18:40
pennyfx thanks it worked18:41
apsysoev left18:42
apsysoev joined18:42
RobertLaptop joined18:42
Heimidal joined18:43
hyperair left18:44
Pewpewarrows joined18:45
tvw joined18:45
dl9pf joined18:46
tar- left18:48
tar- joined18:49
dreiss joined18:49
MattDiPasquale joined18:51
yann joined18:54
tvw left18:54
hyperair joined18:55
froschi1 joined18:55
giskard joined18:57
froschi left18:58
francisfish_away joined19:00
dreiss left19:00
Tuller left19:01
alexyk joined19:02
Gitzilla joined19:05
seanius joined19:05
flaguy48 joined19:06
alexyk left19:13
Louie` joined19:14
aresnick joined19:16
hohoho joined19:21
Jaxan joined19:22
amitsamtani joined19:22
__ed joined19:23
ajpi joined19:26
LauJensen Its amazing that this has to be explicitly configured, but how do I avoid getting thrown into vi every time I rebase ?19:27
thiago_home how would git guess which editor you prefer if you didn't configure?19:27
LauJensen thiago_home: Git should know that intelligent people would like something other than vi :)19:28
NfNitLoop joined19:28
cbreak it uses vim because of that19:28
thiago_home Git, like any other Unix tool, defaults to vi because that's what they all do19:28
it's the only editor that one can always expect to find, even in older and exotic Unix19:28
cbreak it uses your $EDITOR if you haven't configured core.editor or similar :)19:28
LauJensen: man git-config19:29
flaguy48 left19:29
scarabx left19:29
tpope joined19:30
kandinski joined19:30
amitsamtani left19:30
wereHamster or $GIT_EDITOR or $VISUAL19:31
LauJensen export EDITOR worked just fine19:31
ajpiajpiano19:32
NfNitLoop left19:32
khelll joined19:34
coderdad joined19:34
tulcod joined19:37
MattDiPasquale left19:37
mastro left19:38
lanthan joined19:41
mastro joined19:41
xiong joined19:41
sftp joined19:42
RobertLaptop left19:46
Titosemi_ joined19:47
Titosemi left19:48
Titosemi_Titosemi19:48
RobertLaptop joined19:48
notjohn left19:49
amitsamtani joined19:51
amitsamtani left19:51
badboy_ l19:51
fundamental Is there some way to do a partial merge between branches (ie merge commits before x from another branch)?19:53
cbreak just merge the sha19:55
shruggar joined19:55
ziro` left19:57
fundamental cbreak: thanks, that seems to do it20:00
p3rg2z joined20:02
rseifert left20:02
little_owl joined20:05
henkboom left20:12
lowik left20:13
little_owl left20:15
henkboom joined20:16
icefox joined20:19
rajeshsr left20:21
tulcod left20:21
eighty4 joined20:21
raichoo left20:22
harinath left20:23
mtkd joined20:25
tar- left20:26
pcwick left20:26
neutrino joined20:27
neutrinotar-20:27
dreiss joined20:27
comawhite left20:30
d0k left20:32
eighty4 left20:33
eighty4 joined20:34
corni left20:36
amitsamtani joined20:37
amitsamtani left20:38
harinath joined20:39
engla|swe joined20:40
jrmuizel left20:43
Heimidal left20:45
oficina7_ joined20:46
chrislerum joined20:47
parndt_a_ joined20:47
chrislerum left20:48
OFICINA7 left20:48
tar- left20:49
p3rg2z left20:49
neutrino joined20:49
neutrinotar-20:49
p3rg2z joined20:50
hohoho left20:51
MattDiPasquale joined20:55
bx2 joined20:55
Aaaarg joined20:58
rryouumaa joined20:58
jasonn1234 joined20:59
thunk|away joined21:01
jasonn1234 left21:02
offby1` joined21:02
offby1`offby121:02
offby1 left21:02
offby1 joined21:02
thunk|awaythunk21:02
mw left21:03
tvw joined21:03
shruggar left21:06
masterkorp joined21:07
jrmuizel joined21:08
oficina7_OFICINA721:09
jrmuizel left21:09
marlun left21:10
ChUrP left21:10
jrmuizel joined21:14
Snow-Man joined21:17
Adaptee joined21:18
shadowmaster joined21:20
Titosemi left21:21
andreaa joined21:22
marc_kdab joined21:22
pantsman- joined21:23
pantsman- left21:23
chrislerum joined21:25
LauJensen left21:25
bodom joined21:26
Tuller joined21:28
MattDiPa_ joined21:29
Jaxan left21:29
Tuller left21:29
MattDiPasquale left21:29
neurodamage joined21:33
neurodamage with the git archive command is there anyway to specify a subtree of folders in the project instead of archiving the whole thing?21:33
mastro neurodamage, I don't think so since git do not work that way :)21:34
patrikf neurodamage: yes, read the manpage21:34
yairchu joined21:36
Mycr0ft left21:36
aresnick left21:36
erikvold joined21:37
flaguy48 joined21:38
mastro neurodamage, patrikf uh... well :) i was wrong good to know21:40
yairchu left21:42
bx2 left21:44
radioman-lt left21:45
AAA_awright joined21:45
AAA_awright left21:46
Jaxan joined21:46
yacoob joined21:46
yacoob F1. I've cloned same repository out on two different hosts - and I see *different* histories for the same branch.21:47
tizbac left21:49
hobodave joined21:50
mmw left21:50
tizbac joined21:50
tizbac left21:50
engla|swe left21:51
jrmuizel left21:55
jrmuizel joined21:56
jrmuizel left21:57
rudi_s yacoob: Maybe somebody pushed to that branch after you cloned the first repo.21:57
If you just copied the repository that can't happen.21:57
yacoob rudi_s, nope. I suspect the problem was outside git.21:58
(was accessing the repository via smb, and somehow got stuck at specific version of filesystem...)21:58
chrislerum left21:59
patmaddox joined22:01
yacoob hm, could have forced inode cache to clear, instead of rebooting22:02
Jaxan left22:03
eighty4_ joined22:04
lanthan left22:04
eighty4 left22:06
tar- left22:08
neurodamage left22:09
ales joined22:12
jrmuizel joined22:14
harinath left22:16
mastro left22:17
aliceinwire joined22:18
priidu joined22:19
notjohn joined22:21
patmaddox left22:23
patmaddox joined22:23
engla|swe joined22:24
mtkd left22:27
patmaddox left22:28
harinath joined22:32
icefox left22:32
giskard left22:33
comawhite joined22:35
krawek joined22:35
EricInBNE joined22:35
jensn joined22:37
offby1 networked file systems scare me22:37
they're ok for editing a single file in my editor, but running any program like git across them ... just gives me the willies22:38
ales left22:41
darkestkhan joined22:43
drizzd offby1: there are certain version control systems which are based on the idea of only using through a network file system22:44
because it's "fast"22:44
offby1 only such I can think of is Visual Source Safe22:44
patrikf networked file systems aren't bad per se...22:45
offby1 not bad; just willies-inducing22:45
drizzd offby1: I was talking about clearcase22:45
offby1 well, presumably clearcase was _designed_ to run over one, so I assume it works fine.22:46
I mean things like git over SMB.22:46
jshsu joined22:46
drizzd no, clearcase has its own file system22:46
patrikf offby1: I don't see what's wrong with that22:46
offby1: unless you're suggesting mutliple people work within one working tree22:46
drizzd which you use as "working copy"22:46
offby1 patrikf: well, I have no specific problems. But unless the docs clearly say "Yeah, we use this over SMB all the time; it works great", I'd be wary.22:46
homiziado joined22:47
drizzd this allows you to "check out" files in zero time22:47
offby1 no, no, I wasn't talking about multiple people sharing one work tree. (That's madness!)22:47
drizzd neither am I22:47
offby1 patrikf was22:47
drizzd oh22:47
patrikf no, I thought offby1 might be ;-)22:47
because that'd scare me too :D22:48
offby1 anyway: if I tell git my repo is local (by cloning from a path like /foo/bar rather than host:/foo/bar), and yet it's actually an SMB-mounted file system ... _that's_ the scenario that worries me22:48
stringo0 joined22:48
patrikf I think git properly uses file locking.22:50
offby1 I always assume stuff like file locking doesn't really work over SMB22:51
parndt_a_parndt22:54
darkestkhan left22:55
xiong left22:58
aliceinwire left22:58
mw joined23:00
mw left23:00
mw joined23:00
aliceinwire joined23:01
psoo joined23:06
FFForever joined23:06
FFForever Where would I place a hook to only affect 1 repository? (If it matters I am using gitolite)23:07
wereHamster in the repo's hook directory23:08
offby1 would you have to log in to the server to fiddle that?23:09
icefox joined23:09
wereHamster yes23:09
FFForever does it matter what language a hook is written in?23:10
wereHamster no23:11
FFForever: man githooks23:11
FFForever No manual entry for githooks23:12
masterkorp left23:12
wereHamster FFForever: install the git man pages. In the meantime, use http://www.kernel.org/pub/software/scm/git/docs/githooks.html23:12
coderdad left23:15
parndt hey, I'm trying to merge in some commits from another fork but want to only merge up to a specific commit -- what's the best way to do this for a clean history (presumably avoiding cherry-pick?) - I want to pull around 5 commits.23:16
andres parndt: simply do git merge commit-id23:17
luke-jr joined23:17
luke-jr any way to find out the progress of a running git pack-objects?23:18
paja left23:18
luke-jr eg, find out a % this 6 hours CPU time is23:18
davr 6 hours? do you have like 10GB git repo or something?23:20
parndt andres: thanks :) that works..23:22
Bass10 joined23:22
stringo0 left23:22
airborn left23:23
stringo0 joined23:24
Bass10 left23:24
Bass10 joined23:25
p3rg2z left23:25
Adaptee left23:25
luke-jr davr: far bigger I think23:25
alsuren joined23:26
luke-jr one is 9.6 GB23:27
andres Depends hugely on what window/depth parameter are used I would say...23:27
parndt andres: is there any way to give merge a start position to merge from too? like start at this commit end at this commit23:28
davr parndt: git merge doesn't work like that. you have to merge an entire branch, if you just want some of the commits then you'll have to do cherry-pick or rebase23:28
parndt right..23:29
by rebase do you mean undo the commits after merging?23:29
luke-jr parndt: AFAIK, only Darcs and Subversion really support cherry-picking23:29
hmm, /proc/19987/io says 8.8 GB done XD23:29
davr parndt: no, don't merge at all, only rebase23:30
parndt my problem with cherry picking is it messes up history, right?23:30
luke-jr davr: FWIW, my other repo is 17 GB23:30
davr luke-jr: stop putting huge binaries in git? :P23:30
luke-jr parndt: what you're asking is the definition of cherry picking23:30
davr: 100% text23:30
andres luke-jr: I wouldnt really consider svn's "support" as really supporting it23:30
luke-jr well, at least 99.9%23:30
parndt okay thanks I'll read up on rebase some more. bbl23:31
parndtparndt_away23:31
luke-jr andres: recording it is for the most part support23:31
brizly joined23:31
luke-jr andres: if you have a better post-cherrypick merge algo than Subversion uses, go for it ;)23:31
cherry picking is a matter of recording; merging past one is a matter of merge algorithms23:31
andres luke-jr: well, its more their recording that sucks if my memory serves right (i.e. merge across more than one branch and it gets interesting)23:32
t0rc joined23:32
leavittx joined23:32
luke-jr davr: also, at least 99% under 4 KB :p23:33
Louie` left23:35
nfrs joined23:35
Louie` joined23:35
davr sounds like you might be better off with a database or something23:36
luke-jr davr: unlikely. why?23:37
phantomcircuit joined23:38
mugwump 11:29 < luke-jr> parndt: AFAIK, only Darcs and Subversion really support cherry-picking23:38
davr I mean, I'd hate to clone that repo, would take ages. It's definitely not what was thought of when git was designed. But I guess if it works for you, then great23:38
mugwump ^^ fallacy of the day :D23:38
luke-jr davr: works better than anything else, so far XD23:38
mugwump I know of several others that support it well23:38
luke-jr davr: git seemed ideal because everything else scans the checkout for commits23:38
whereas git lets me specify the exact files23:39
davr I mean it doesn't sound like the kind of thing that belongs in source control in general (I'm assuming it's not 4.5 million source code files)23:40
Louie` left23:40
nfrs I have two branches: "local", where all development occurs, and "testing", which contains small patches needed to run the program on another machine. "testing" should always get the same commits that go into "local". what is the best way to maintain such configuration? obviously, I want to avoid the need to merge each commit into testing by hand23:40
icefox left23:40
luke-jr davr: nah, it doesn't need branching, but nobody makes a compressed history :p23:40
davr nfrs: I would probably rebase testing onto local, assuming the changes on testing are small and unlikely to conflict with anything in local23:40
nfrs also, I want to avoid the situation where I'll forget to merge the changes into testing and encounter an already fixed bug23:40
davr: I tried that, but it doesn't work well. probably because the testing branch is shared with another developre23:41
alsuren left23:41
luke-jr davr: the 17 GB repo contains over 684,000 files23:41
the working copy is 8.1 GB23:42
strange, I seem to remember the wc being bigger...23:42
davr nfrs: then merging is probably the easiest. you could probably have a simple post-commit hook that attempts merging from local into testing23:43
something along the lines of if [ "$current_branch" == "local" ]; git checkout testing && git merge local && git checkout local23:43
if the merge fails, it'll still be on the testing branch waiting for you to manually resolve it, else it will automatically switch back to local23:44
luke-jr (in the meantime, all the timestamps are touched and your next build recompiles everything -.-)23:44
nfrs davr: I think that won't work well, either, since we rebase our local changes when pulling. so I'm uncertain what happens, when: a) main branch commit occurs; b) the commit gets pushed to the testing branch; c) pull --rebase rewrites history23:44
davr so you can't merge into testing, you can't rebase testing, you're not giving me many options here :P23:46
nfrs well, if there were an easy solution, I wouldn't be here, in the first place :)23:46
davr Maybe you just need to not push every single commit to testing one by one, and instead adopt a strategy where you only test on the separate machine every so often?23:47
then when you do it you can make sure that your local history wont get rebased in the future23:47
eg only update remote testing branch when you push to the remote development branch23:48
mw left23:49
nfrs I'm not quite following23:50
"wont get rebased in the future" - ?23:50
AAA_awright joined23:50
chrislerum joined23:50
engla|swe left23:52
nfrs right now, the only solution I see is to pull changes from a post-push hook23:53
Tureba joined23:54
nfrs that will ensure that there are no local changes that will be rebased23:54
chrislerum left23:56
shade_shade\23:56
nfrs but that would make the remote branch less stable, as I will be forced to push before testing23:57
and I will probably forget to push once in a while23:58
locklace joined23:59

Logs Search ←Prev date Next date→ Channels Documentation