IRCloggy #git 2008-08-19

Logs Search ←Prev date Next date→ Channels Documentation

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

2008-08-19

spearce left00:00
faheem joined00:00
faheem Hi. I'm trying to check out the django branch of the following repos online, http://github.com/kwe/passenger-django-wsgi-example/tree/django but having some difficulty. If I do git clone git://github.com/kwe/passenger-django-wsgi-example.git do I get both branches listed or just one?00:01
mithro joined00:01
cnk joined00:01
faheem It looks to me like I just get master.00:01
toxx_ joined00:01
johnw does "git log ..foo" show me all commits in foo which are not in HEAD?00:04
spearce joined00:04
doener yes00:04
johnw cool, thanks00:04
doener faheem: git branch -r00:04
spearce left00:04
tiglionabbit joined00:05
smartcat99s joined00:05
jackdempsey joined00:05
smartcat99s is there a way to force git-bisect to checkout a revision? (getting conflicts on Untracked working tree files)00:06
johnw stash first?00:06
davidfetter joined00:06
smartcat99s in a bisect of a clean kernel tree?00:07
loinclot_ left00:07
igorgue left00:08
smartcat99s for reference: git bisect start v2.6.27-rc3-171-gb635ace v2.6.27-rc200:08
j_engelh git bisect start; git bisect bad <thisone>; git bisect good <thatone>;00:09
easier to remember than trying to figure out which of the two arguments to 'start' are bad and which is good00:09
smartcat99s I did that00:09
Bisecting: 347 revisions left to test after this00:09
error: Untracked working tree file 'Documentation/usb/auerswald.txt' would be overwritten by merge.00:09
deavid left00:14
ereslibre left00:14
Mikachu why can git bisect good take several refs while bad only can take one?00:17
j_engelh why can git remote rm take only one remote?00:18
Mikachu at least it's self-consistent ;)00:18
trochala left00:22
schacon left00:22
trochala joined00:22
morii_ joined00:23
toxx__ joined00:24
johnw- joined00:24
igorgue joined00:24
hobodave joined00:24
j_engelh > ./vxrandpw -J00:25
ujirorimo00:25
priidu left00:29
queso|awayqueso00:30
mw left00:30
doener_ joined00:30
pygi left00:31
toxx_ left00:31
quix joined00:31
toxx__ left00:31
johnw left00:32
tiglionabbit left00:33
zachinglis left00:34
morii left00:35
morii_morii00:35
quix I want someone to clone my repository and have a working build right away. But with the submodule thing, they have to clone and then do some steps to get the submodules. Is there a way for clone to grab the submodules in one step?00:35
hobodave_ joined00:36
faheem doener: Can you elaborate, please? How do I get the django branch? git branch -r django doesn't appear to do anything.00:39
gcw|secution joined00:39
doener_ "git branch -r" shows the remote tracking branches00:39
rmh3093 joined00:39
doener_ you can use them like any other ref for any command00:40
faheem doener: I just want to know the command to check out the django branch. I don't actually use git.00:40
doener_ for exampl, you can show its log, diff it, or even create a local branch starting from it, so you can do your own work00:40
well, "git checkout"00:40
pygi joined00:40
quix I guess I'll use the subtree strategy. The submodule system seems undesirable since it requires extra steps which appear needless.00:41
aidy left00:41
quix Maybe there is something I'm not understanding -- do people actually use submodules? Or do most people follow the "subtree strategy" outlined?00:43
doener left00:43
faheem doener: Sorry, still not sure what I need to do. So I'm doing git clone git://github.com/kwe/passenger-django-wsgi-example.git . Then what do I need to do to see the django branch?00:43
doener_ "git branch -r" to see the remote branches, and "git checkout $branchname" to check out a branch00:44
or "git checkout -b $new_local_branch $starting_point" to create and checkout a new local branch, starting at $starting_point00:45
eg. "git checkout -b foo origin/foo"00:45
Paf left00:46
rezxcers joined00:46
rezxcers hey, all, i tried to git clone a repos, but i got error like this:Permission denied (publickey).00:47
fatal: The remote end hung up unexpectedly, why?00:47
faheem doener_: Well, I guess I don't understand the theory here, but I seem to have the right directory now. What's the recommended intro/tutorial these days?00:47
hobodave_ left00:47
rmh3093 left00:48
sebell joined00:49
doener_ faheem: No idea, I don't think I really ever read one. http://git.or.cz/gitwiki/GitDocumentation has a few links00:49
bloopletech joined00:49
smartcat99s left00:50
doener_ faheem: the user's manual, git from bottom up, git for computer scientists, git magic, gitcasts, git community book00:50
bloopletech I'm relatively new to git, and I'm having a wierd problem. I am working on a Ruby on Rails project, and I'm using GitHub.com as my reopsitory host.00:50
doener_ faheem: those are the ones I've at least heard something about00:51
rezxcers: look like you don't have permission to ssh to that server00:51
bloopletech I have plugins in ./vendor/plugins using git clone plugin_url plugin_folder00:51
tiglionabbit joined00:51
hobodaveGuest8569400:51
faheem doener_: Thanks.00:52
rezxcers yep, i need a SSH key, but i didn't know how to generate it.00:52
rmh3093 joined00:52
bloopletech When I'm getting ready to commit, I do git add . in the project root, then I check the results with git status. But the result is all the files in the plugin being shown as deleted, and new file (plugin folder) in the status results00:52
hacim how do I fast-forward a remote tracked branch?00:53
\ask- left00:53
doener_ hacim: hm? That makes no sense to me00:53
bloopletech Usuallly, it sorts itself out if I do git add vender/plugins/... again00:53
Plouj left00:54
bloopletech But I'd like to work out why it happens, as it's a bit of a pain.00:54
doener_ bloopletech: if you add a git repo, that gets added as a submodules00:55
s/s$//00:55
el_isma_ joined00:55
hacim doener_: i switched to a branch based off of a remote branch, and git tells me: "Your branch is behind the tracked remote branch 'jrollins/master' by 409 commits, and can be fast-forwarded"00:56
bogolisk joined00:57
doener_ bloopletech: please keep the discussion on the channel... http://www.kernel.org/pub/software/scm/git/docs/user-manual.html#submodules00:57
el_isma_ left00:58
hacim doener_: I guess i just have to git pull in the branch00:58
doener_ hacim: that means that you local branch is only missing changes from the remote branch and has no changes that are not in the remote branch.00:58
so when you attempt a merge, git will (by default) no create a merge commit, but just update the branch to point to the new stuff00:59
bloopletech doener_: So, do you think I should be using submodules instead of just git clone ... inside my project?01:00
loincloth joined01:00
doener_ "git pull", "git merge jrollins/master", "git pull --rebase", foobar... they'll all end up fast-forwarding01:00
pjhyett joined01:01
hansengel|awayhansengel01:01
loincloth left01:01
loinclot_ joined01:01
doener_ bloopletech: sounds likely, but so far, I don't really know what you're doing, for example why you're cloning a repo into your working tree, if you already had files in that directory01:01
bloopletech doener_: Sorry, I'll try to explain better.01:02
Guest85694 left01:02
doener_ but maybe it's just my lack of caffeine and the fact that my heart is still going at 180bpm or so... halogen bulb exploded a few minutes ago...01:02
bloopletech doener_: I have a project at PROJROOT/ . Inside is PROJROOT/vendor/radiant. PROJROOT/vendor/radiant was created by: git clone radiant_url PROJROOT/vendor/plugins01:03
doener_: So I have a git project, and inside it, a cloned copy of another project.01:04
doener_ yeah, that sounds like a submodule candidate01:04
bloopletech doener_: Halogen bulbs can be nasty01:04
doener_: And the end result at the moment is crazy stuff happening when I do git add .01:04
doener_: Ok, I'll try it out01:04
yofel left01:07
polpak joined01:07
quix It looks like the remotes are only things you add locally, and are not something that's committed?01:07
doener_ yep01:07
yofel joined01:07
quix ok thanks, I'm starting to get this a little01:08
bogolisk what is '^0' as in 'branch_name^0' ?01:09
j_engelh tag resolution01:09
bogolisk ok! ty01:10
quix But it's the other end of the problem of submodules. Submodules are recorded, but then the user has to manually get them after getting the main branch. With remote subtrees, the whole tree is obtained, but the remotes are not recorded and require manual work to sync.01:10
I don't see a decent solution for tracking another repository.01:11
bogolisk why in git-base: to start, "git checkout $onto^0" was done instead of "git reset --hard $onto^0" ?01:11
rezxcers left01:11
zdennis left01:12
quix Is there such thing as a "first-time clone" hook where I can do "git submodule init && git submodule clone" ?01:12
doener_ bloopletech: you mean s/base/rebase/, right?01:12
jackdempsey left01:12
bloopletech doener_: huh?01:13
j_engelh bogolisk: "ref^{type}" dereferences ref repeatedly until you cannot dereference anymore, or you get an object of given type, whichever comes first. "ref^{}" means just dereference tags until you get a non-tag. "ref^0" is a shorthand for "ref^{commit}". "commit^{tree}" could be used to find the top-level tree of the given commit.01:13
joydivider left01:13
doener_ bloopletech: sorry, I meant bogolisk... stupid tab-completion01:13
bloopletech doener_: thought so, :)01:13
j_engelh straight from sha1_name.c01:13
bogolisk doener_: yeah, typo01:13
j_engelh: thanx, will re-read 10 times!01:14
doener_ bogolisk: because reset --hard would not get you a detached HEAD, but instead mess with your current branch01:14
j_engelh git-rebase does git checkout $onto^001:15
if it only did git checkout, like doener set, you move to the branch, not the detached commit01:15
s/set/said/01:15
but it gets more interesting even01:15
bogolisk doener_: ic!01:15
j_engelh you can tag a tag.01:15
capisce_ joined01:15
j_engelh so, if you use git-tag newtagname oldtagname^0, you make sure you don't tag the tag, but the commit.01:15
doener_ j_engelh: I did not say checkout _at_all_01:16
bogolisk ok, let me try: not do a "reset --hard" cuz it move the ref, but "checkout with a commit sha1" give a detached head...01:17
bloopletech doener_: Hmm, the issue with submodules is that the dependancies have to be loaded from the remote repo's, whereas I would like to have the files actually in my repo.01:17
bogolisk but where the result of the step's merge will be if head was detached?01:18
yofel left01:18
doener_ bogolisk: try "cat .git/HEAD" after "git checkout master" and after "git checkout master^0" (or whatever branch you feel like using)01:19
bogolisk: in the first case, HEAD is a symbolic ref to the branch, in the second one it's a plain ref to a commit01:19
bogolisk doener_: I understand that, but I'm just trying to see what's happending between each replay during a rebase01:20
doener_ bogolisk: when you do commit, merge, reset, ... and HEAD is a symbolic ref, git dereferences that and updates the branch01:20
bogolisk happening01:20
doener_ when HEAD is not a symbolic ref, HEAD itself is updated01:20
bogolisk doener_: ok!!!!01:21
doener_ takes the exclamation mark storm as a sign to shut up01:21
bogolisk interesting?! so you mean you cannot commit with detached HEAD but merge is ok!01:21
Mikachu you can commit with a detached HEAD01:22
bogolisk doener_: com'on. (see no exclam)01:22
bogolisk is confused01:22
SjB left01:23
quix left01:24
johnw- hi bogolisk01:24
Bryson i typed a command incorrectly to track a remote branch. i now have a branch NAMED '--track' and when i try to delete it, the branch name is treated as an option and nothing happens. help.01:25
Mikachu Bryson: -- --track01:25
capisce left01:26
Sylia joined01:26
bogolisk johnw- hi01:26
johnw- bogolisk: I saw you momentarily forked one of my GitHub projects :)01:27
hacim when I did a git push to my remote, it pushed all my local branches, how do I 'undo' that and not push those in the future?01:27
loinclot_ left01:27
bogolisk johnw- : you mean magit?01:27
johnw- yeah01:27
Mikachu hacim: it will push all branches that have the same names as ones in the remote01:27
hacim: you can specify an exact set in .git/config01:27
johnw- i was going to write my own Emacs mode, but then found magit on the same day, and I'm now working with the author to merge our efforts01:27
bogolisk johnw-: yeah I tried to publish my own changes on top of marius and thinking cloning yours might be the fastest way :)01:28
johnw-: cool01:28
johnw- for now I'm keeping my changes as a series of commits that I keep rebasing on his master, so that he can always see my "pending" commits01:28
we're still hashing out questions of design and interface01:28
hacim Mikachu: it created these new01:29
bogolisk johnw-: if you're curious you can take a look at my changes on the branch magit_ld in bogolis/magit repo01:29
Mikachu hacim: that should only happen if you use --all01:29
johnw- but now I'm excited, he's already halfway to where I wanted to be01:29
what's your repo URL?01:29
Bryson Mikachu: that worked. thanks. why does that work?01:29
Mikachu hacim: or if you configured it that way01:29
Bryson: because -- means no more options01:29
johnw- Bryson: the -- convention is almost universal in the UNIX world01:29
hacim Mikachu: I guess because I've got: push = +refs/heads/*01:29
bogolisk johnw-: : git://github.com/bogolisk/magit.git01:29
Mikachu which is confusing, because in a lot of commands, it means no more branches ;)01:30
hacim Mikachu: how do I remote the remote branches?01:30
johnw- oh, I thought you deleted your fork01:30
adding you as a remote now...01:30
Mikachu hacim: git push remotename :branchtodelete01:30
bogolisk johnw-: I did. then I cloned marius and push it on bogolisk/magit. master branch is all his, magit_ld branch is mine01:30
johnw- ah, I see01:31
hacim Mikachu: thanks01:32
johnw- cool, I hope he grabs your changes01:33
ah, you're using SPC too, I bound that to scroll-down01:33
mikem joined01:35
johnw- bogolisk: ok, I'm moving my own work to the 'johnw' branch so that 'master' is a mirror01:35
mikem hi, i'm trying to configure git to send updates to buildbot on each commit. i'm not sure what to put in the post-receive hook in order to launch this script properly: http://buildbot.net/trac/browser/contrib/git_buildbot.py01:36
johnw- mikem: I do this01:37
i put a copy of my post-receive (based on that .py) in ftp://ftp.newartisans.com/pub/post-receive01:39
bogolisk: ok, I made a branch johnw_bogo that merges you and me together. There were only two changes of your I didn't take: I bound magit-toggle-hs-thing to "h", and I use *magit: PROJ* as the magit buffer name.01:40
ooh, very colorful01:42
bogolisk johnw-: I use dark background os I have no idea how the colours look on light bg01:44
johnw- well, the non-change text is a bit too light grey01:44
kanru left01:44
mikem johnw-: so you replace .git/hooks/post-receive with that python file?01:45
johnw- yep01:45
and make it +x01:45
bogolisk: ok, check out my johnw_bogo branch on github01:45
mikem johnw-: ah i see. is it possible to call it from post-receive instead?01:45
johnw- i like it, it's pretty01:45
bogolisk johnw-: what color do you suggest?01:45
johnw- mikem: well, I guess you could01:45
bogolisk johnw-: did you try the hide-show thing?01:46
johnw- bogolisk: grey is good, just use grey25 instead of grey90 or whatever you're using01:46
bogolisk: no, about to01:46
i like your minor-mode idea too01:46
all of these faces are customizable, right?01:46
bogolisk johnw-: yes!01:46
customize-group magit01:46
johnw- grey50 is good01:47
bogolisk johnw-: I think there should be an option to whether to display the logs in the status buffer or not01:47
johnw- let me show you a screenshot01:47
bogolisk johnw-: ok, default will be grey50 for light background01:47
johnw- http://ftp.newartisans.com/pub/magit.png01:49
bogolisk johnw-: I like it01:50
gretch joined01:51
johnw- the hiding is perfect01:51
tiglionabbit left01:51
Bryson left01:51
johnw- the next thing I want is the ability to start out with everything hidden, and the filenames indented with status prefix, so the buffer looks like the old git.el when all files are hidden01:52
bogolisk: I'm not sure how magit-mode's C-c C-v = is better than using C-x v = with VC? I'm rather partial to VC's keybindings. I think it might be better to develop a vc-magit.el than to have a minor-mode01:53
loincloth joined01:58
hansengel Hi guys, I'm trying to set up a local Git server on my Mac with git-daemon. I got the daemon running, but when I try to clone a repo from the client, the server outputs this error:01:59
rmh3093 left01:59
ijcd_ left01:59
hansengel '/myrepo.git': unable to chdir or not a git archive01:59
here's the command I used to run the server, as user git, group git:01:59
rmh3093 joined02:00
Mikachu the paths can be a bit confusing with git-daemon before you understand what happens02:00
hansengel git-daemon --verbose --export-all /Users/git02:00
Mikachu you probably want to give --base-path02:00
hansengel inside /Users/git, I have a folder called myrepo.git02:00
Mikachu: what would that do?02:00
Mikachu otherwise, you need to git clone git://blah/Users/git/myrepo.git02:00
hansengel aaaah... got it02:00
okay, new problem02:01
just cloned.. no errors on the server, I can see the request02:01
but on the client:02:01
fatal: no matching remote head02:01
the repo is empty, is this why?02:01
Mikachu yes02:01
hansengel ah, so I'll try pushing first02:02
sweet! think I got it working02:03
so now where is the data located on the server?02:03
(the file I just pushed)02:03
Mikachu uh, in /Users/git/myrepo.git?02:03
bogolisk johnw-: do you have a list of colors for the defaults with light bg02:04
hansengel yeah, but shouldn't I see the file I just pushed? ran `touch empty`, added, pushed02:04
Mikachu see where?02:04
hansengel but don't see it on the server in /Users/git/myrepo.git02:04
Mikachu of course you don't, it's a bare repo02:04
bogolisk johnw-: we might get away with letting the user to choose the prefix: C-c v or C-c C-v02:04
hansengel oh, okay.02:04
foca left02:05
hansengel one more thing.. is there any way to run this as a startup process, @mac guys?02:06
so I don't need to run it via terminal each time02:06
johnw- bogolisk: but why have your own minor-mode instead of just writing a VC backend? if you do that, you get to plug in to all of VC's features, like invoking ediff02:07
swhitt joined02:07
sgrimm left02:07
bogolisk johnw-: vc already does git! but it does it the "wrong way"!02:08
johnw- how is that?02:08
bogolisk johnw-: vc also doesn't have the concept of staging/unstaging02:08
quix joined02:08
johnw- i'll use magit.el for my staging/unstaging needs02:09
bogolisk johnw-: AFAIR, vc only commit 1 file at a time02:09
johnw- i never use VC for committing, btw02:09
only for pulling up diffs, logs, visiting old versions of the file, etc.02:09
C-u C-x v ~ is burned into my brain02:09
bogolisk johnw- :)02:10
so you're attached to the key-binding not the code02:10
quix Is it possible for git to run hooks stored in the repository? So for example, after someone clones a repository for the first time, a hook is run?02:10
johnw- i'm most attached to the keybinding and the behavior02:10
quix: no02:10
Mikachu quix: no, that would be a horrible security bug02:10
bogolisk johnw-: so what C-x v v should do in a vc-git ?02:11
johnw- like if I were to visit a Web page and it ran code... oh02:11
quix Right --- I thought of that --- but I want to issue git commands, not arbitrary commands.02:11
kanru joined02:11
Mikachu git commands are arbitrary commands :)02:11
johnw- bogolisk: it should offer to run magit-status :)02:11
Mikachu git filter-branch --tree-filter 'rm -rf ~'02:11
bogolisk hmmmm C-c C-v C-v in the current magit-mode :)02:11
quix Is there a git command which will rm -rf / ?02:11
jackdempsey joined02:11
quix oops beat me to it :)02:12
johnw- bogolisk: also, magit has no easy way right now of doing what C-x v u does (equivalent of "git checkout -- FILE")02:12
vbabiy joined02:12
bogolisk C-c C-v u02:12
johnw- yeah, like I said, I'd rather see you write vc-magit :)02:12
quix Here is the problem: I want to use a submodule, but I don't want users to have to "git submodule init && git submodule pull" or whatever after cloning. I want it to just work.02:13
johnw- having a non-VC minor-mode which emulates VC just feels, very odd02:13
igorgue left02:13
quix I could merge in the tree, but I don't want to --- it would be inappropriate to mix the histories.02:13
johnw- and C-x v d should invoke magit-status in vc-magit02:13
bartman` left02:14
bogolisk that I like02:14
quix So I really don't see good solution to submodules vs merged subtrees.02:15
Surely others have this problem? Unless I'm missing something02:15
Mikachu quix: i guess you could make a new default branch that has just a script 'runme' that switches branch and does the submodule stuff02:16
sort of an ugly solution02:16
quix What if the repository had a hook which could only run certain commands, such as "git submodule init" etc02:16
waltman joined02:17
johnw- quix: i find that most developer trees have a preperatory script of some kind, like "autogen.sh". It just becomes the first thing you need to run before you can use the tree.02:17
My own project has "./acprep" for doing all this housework stuff.02:17
quix Well, I want someone to clone the branch and have everything working immediately --- any manual labor is out of the question.02:17
Mikachu that's not how it works, it seems02:17
johnw- they can't even bother to read a README that suns "first, run ./RUNME"?02:17
s/suns/says02:17
waltman I want to undo the entire latest ccommit. I tried "git checkout HEAD^ --", but git complains "Note: moving to "HEAD^" which isn't a local branch" and puts me in a state where I'm not in any branch.02:18
j_engelh people are not used to run anything but ./configure02:18
david_koontz left02:18
waltman What do I do?02:18
johnw- j_engelh: then they should download releases, not source trees02:18
j_engelh heh02:19
still, even the configure-generating scripts have a somewhat standard name :p02:19
david_koontz joined02:19
quix Everything should be automated. Down with manual labor. It annoys people, and it makes us stupider and monkey-like.02:19
johnw- quix: security and convenience are at two ends of a spectrum. Everyone prefers a difference place along this line.02:20
waltman *sigh*02:22
quix I think that's a red herring. The reason we are talking about security is because git do multiple clones at once. If it could, there would be no need to run scripts.02:22
s/do/can't do/02:22
johnw- i agree that automatic fetching of submodules is desirable02:23
david_koontz left02:23
waltman how do you undo an entire bad commit?02:23
johnw- I'd like to be able to pass "--auto-fetch" to "git submodule add"02:23
quix The user is *already* cloning a repository -- why not clone others?02:23
makes no sense.02:23
johnw- waltman: git revert, if it's a public commit02:23
waltman what's the difference between that and git co HEAD^ ?02:24
johnw- quix: what you're suggesting is entirely valid, but it should be made a part of the clone operation itself, not done by external scripts that might do anything02:24
quix: maybe bring this up on the mailing list?02:24
quix john -- yes that's what I've been meaning.02:24
johnw- waltman: git co HEAD^ is not what you want02:24
waltman: if it's in your local tree, you want git reset --hard HEAD^02:24
sebell left02:24
johnw- waltman: or git reset --soft HEAD^ followed by git checkout -- FILE02:25
or even: git commit --amend02:25
then undo the change, and then commit again02:25
MattDiPasquale left02:25
johnw- (you may have to undo the change before commit --amend, depends on your interface)02:25
quix Before I ask on the ML, is there some reason for the current git-submodule behavior? The requirement to run git-submodule init && git-submodule clone ?02:26
johnw- quix: I think you're just looking at the historical necessities of an after-thought02:26
waltman thanks, think I finally got things back where I wanted :)02:26
Mikachu because you can run git clone && git submodule init, but you can't run git clone && oops, don't clone the submodule02:26
(that is a guess)02:27
johnw- Mikachu: the repo maintainer should be able to indicate in .gitmodules which submodules should auto-fetch on clone, and which shouldn't02:27
bogolisk johnw-: something I want to add to magit. from the list of "unstaged" hunks listed in the status buffer, let the user reverse-apply that hunk the the workdir. (basically a selective git-checkout)02:27
Arrowmaster` joined02:27
tango_ left02:27
Mikachu i don't use submodules myself so i don't have an actual opinion :)02:27
bogolisk johnw-: s/the the workdir/to the work dir/g02:27
johnw- bogolisk: yep, that's exactly what I want too, I've already asked Marius for it02:27
bogolisk johnw-: ok02:27
tango_ joined02:27
bogolisk johnw-: don't know if you noticed but I change the apply code to NOT use the .git/magit-tmp02:28
GuyFromHell left02:28
ricky left02:28
johnw- so far, I've used submodules for optional external stuff, things only a select few will want to grab in addition to the main sources02:28
ricky joined02:28
thijso left02:28
ddollar joined02:28
Arrowmaster`Arrowmaster02:28
GuyFromHell joined02:28
thijso joined02:28
jackdempsey left02:28
telmich joined02:28
krawek left02:28
krawek joined02:28
johnw- but especially for recursive submodules (where the submodule refers to an alternative branch in the repo itself), auto-fetching would be nice, and safe02:28
tiglionabbit joined02:28
tewk joined02:28
xhanjian joined02:29
jackdempsey joined02:29
jsimonss joined02:29
Mikachu what happens if the submodule is the branch itself? :) then you would get infinite recursion02:29
johnw- for recursive submodules, I'd also like the ability to specify making a shallow clone instead of a regular clone02:29
Mikachu: i avoid that :)02:29
usually a recursive submodule refers to a so-called "empty branch", a data side-band02:29
quix I don't quite understand the need to garbage collect. It's basically a defrag of the "git filesystem". Surely there is an algorithm which eliminates this need via piecewise application, such as how UNIX filesystems work?02:30
johnw- like the way the git project includes generated documentation02:30
quix: it's not a defrag02:30
quix: there is no fragmentation where immutable objects are concerned02:30
Mikachu if anything, gc causes fragmentation :)02:30
quix Well I was speaking metaphorically -- nonetheless it can be eliminated, no?02:30
johnw- the reason for "gc" is that if you delete a branch, at some point its objects should get cleaned up02:31
j_engelh git prune defragments the gitspace :)02:31
johnw- and if there's already inside of a pack, you don't want git repacking after every reflog expiration02:31
Mikachu you don't want to rewrite a 500MB packfile every time you git add myfile.c02:31
jtong joined02:32
quix johnw, but can't this be done by git? There's got to be an acceptable algorithm to do it incrementally.02:32
zdennis joined02:32
Mikachu quix: there is already git gc --auto that most commands invoke for you02:32
johnw- quix: why does this even bother you?02:33
quix: I'm perfectly content with git gc --auto02:33
quix It bothers me because it's something that's unnecessarily put on the user.02:34
johnw- it's the way git is setup out of the box02:34
quix git could have easily handled this and we would have avoided the conversation.02:35
johnw- i was happy to avoid it before :)02:35
quix I guess philosophical flaws bother me unnecessarily.02:35
johnw- i think you may be inveighing about issues that aren't actually real problems, once you've used git for a while02:35
Mikachu quix: you aren't content with gc --auto?02:36
quix Mikachu: I would only be content if the issue were solved permanently by removing the need for gc commands altogether. But I agree that the problem is mostly philosophical, not practical.02:38
Mikachu that makes almost no sense at all02:38
johnw- i think he's saying that git-gc makes him feel all icky inside02:38
quix Well, it's sort of like a noise in your car engine which doesn't really make a difference, but shouldn't be there.02:39
Mikachu you don't know how packs work in git, do you?02:40
quix Aha, that is exactly the point. I shouldn't have to know how packs work.02:40
gcw|secution left02:41
Mikachu well, if you don't know why gc is needed, you shouldn't make any statements about whether it's needed02:41
johnw- Mikachu: he's just trolling now, wishing for a perfection that meets his idea of how things should be02:41
Mikachu (i don't think using the word 'trolling' is fair here)02:42
bartman joined02:42
johnw- he's not making idle comments in order to poke us into defending something?02:42
Mikachu no i don't think so02:43
quix My point isn't a very big one. It's been artificially enlarged since that's mostly what I've talked about so far.02:43
johnw- ok, I retract then02:43
quix My apologies.02:43
But the point is nonetheless not an idle point. I could imagine a future git implementation which would remove the need for anyone to care about calling git-gc. That would be an improvement.02:44
fafhrd left02:44
fafhrd joined02:45
swhitt left02:45
zawir left02:47
johnw- quix: I apologize as well, but recommend further research on the question.02:50
cbreak left02:51
zdennis_ joined02:54
quix left02:55
pygi left02:59
pygi joined03:00
bogolisk johnw-: do you know emacs well?03:11
zdennis left03:11
johnw- yes, very03:11
ever used Eshell?03:12
bogolisk johnw-: how do define a custom for a key sequence?03:12
johnw- bogolisk: key mappings are not customizable03:12
bogolisk johnw-: try it a long time agot03:12
ago03:12
johnw-: then it would a string I guess03:13
LiamH left03:13
bogolisk johnw-: I want to define a keyma with just the last keystroke. let the user select the prefix they want03:13
johnw-: "C-c C-v" vs "C-c v"03:13
nn left03:14
johnw- you could customize which keymap variable your bindings are applied to03:14
example: (define-key mode-specific-map [(control ?v)] 'magit-mode-map)03:15
all of your bindings ride on `magit-mode-map' as single keybindings03:15
the link into the C-c space would happen using that define-key command03:15
paltman joined03:16
johnw- C-c v is reserved for the user, btw03:16
bogolisk johnw-: I mean C-x v03:16
johnw- you are still going to make it a separate minor-mode that rides on top of VC's keybindings? may I ask why? Do you not like the VC architecture?03:18
bogolisk johnw-: it's more like (define-key magit-mode-map (kbd "=") 'magit-diff-current-file) .... (define-key magit-minor-mode-map (read-kbd-macro custom-key-squence) magit-mode-map)03:19
johnw-: I'll have to re-read vc code, but the last time I did the front-end/back-end link was too limiting.03:20
btw, vc-git.el already exists03:20
johnw- yes, but it doesn't call magit-status on C-x v d :)03:20
but perhaps you're right03:20
desrt left03:20
johnw- i use C-x C-g to run magit03:20
jcummins joined03:21
xshelf joined03:21
boink__ joined03:22
tcoppi left03:23
sfullenwider joined03:24
jcummins I have a repo at /proj and some open source libraries located at /proj/lib/. One of the libraries was recently updated. Is there an easy way to update my repo with the latest code from their subversion repository? Would I just 'cd /proj/lib/foo ; git svn clone http://svn.foo.com' ?03:24
johnw- cd /proj/lib ; git svn clone URL foo03:25
jcummins ah. cool. Thanks johnw-03:25
xshelf anyone with git-p4 background here?03:26
I am trying to figure out, how to avoid "$Id:/some/file/path" from getting replaced by "$Id$" when I do a 'git-p4 clone //depot/some/project'03:27
BrianTheCoder joined03:29
johnw- i'm afraid i have no idea on that one xshelf03:32
Oompa left03:33
vbabiy left03:33
cmarcelo left03:33
raz left03:34
boink__raz03:34
xshelf let me start reading the best documentation... the code itself!03:34
I am trying to avoid learning Python, looks like there is no alternative... why didn't people stick to good old perl :)03:36
ben_h joined03:36
johnw- egads, please no03:37
offby1 I've used both; Python certainly makes more readable code, at least for small-scale stuff03:39
once it gets big and complex, it doesn't much matter what you use :-|03:39
xshelf johnw-: Are you John Wiegley (seen you on emacs lists)03:39
bogolisk johnw-: I've add the ability to customize the key prefix for magit minor-mode. You can choose "C-x v" if you want:)03:41
xshelf not getting into any flame war, just trying to make up my mind. I have jumped into learning Python and got out more often than I can count! I just feel I can accomplish almost everything in perl03:42
jackdempsey left03:45
johnw- xshelf: yes, I am03:46
xshelf: Ruby might be a better fit03:46
schacon joined03:46
polpak bites his tongue.03:46
johnw- bogolisk: I think I'll stick with vc-git, but thanks03:46
offby1 bites polpak's tongue03:47
johnw- bogolisk: i'll keep an eye on magit-mode, though, will probably switch later on03:47
polpak eh, kinky..03:47
offby1 salty.03:47
spearce joined03:47
johnw- WRONG03:47
xshelf johnw-: I am so confused, when I decide to learn a language, I buy the books (when I put my money, I am forced to learn). It is with Python that I am wavering! Languages are becoming like editors or dscm. They all almost have the same features, with minor pros/cons. Very difficult to choose. Waiting for parrot to run python/perl on same vm03:49
johnw- i've been using Python for about 10 years now, and I like it very much. But it is not my ideal language, it's just very useful03:50
conversely, I love Common Lisp to death, but finding almost no practical uses for it03:50
so, I use Python for my scripting, and write code for Emacs to scratch at least a part of my Common Lisp itch03:51
spearce left03:51
kukks left03:52
hansengel left03:52
xshelf The only motivation for me to learn Python is to hack on git-p4/bzr/hg. I find it really odd, because I like some tools, I have to learn a whole new language to be able to hack on it. Tomorrow, some good tool will be in Ruby/lua/haskell... where is an end to this language learning!03:53
Beket joined03:53
johnw- are you a programmer? is there ever a possible end?03:53
xshelf I am a programmer and I find myself learning languages rather than solving complex issues03:54
flaguy left03:54
johnw- it's a balance03:54
mithro left03:54
alenoosh joined03:55
johnw- i don't code in Ruby yet, but I'm 1/3 of the way through Programming in Ruby03:55
xshelf sorry for all the off topic tal on #git, just that I find interesting people here03:55
johnw- and I really want a professional reason to learn Erlang, so far no personal reasons03:55
schacon left03:55
xshelf i guess I will just have to accept the fact and learn them on demand03:56
johnw- yep03:56
bogolisk johnw-: I saw that Marius merged your changes03:56
johnw- in the last three years I had to learn both ASP.NET and J2EE, for different projects. How I would love to settle on one piece of technology that just works and does it all, but such is not life.03:56
bogolisk: he merged some, but not all03:56
bogolisk johnw-: my branch (magit_ld) is already "public" on git hub, should rebase or merge (with his new head)03:57
johnw- xshelf: you did inspire me to give another look at http://ecls.sourceforge.net/, thanks :)03:57
bogolisk should I...03:57
johnw- bogolisk: unless people make branches based on your branch, rebasing is ok03:57
mithro joined03:57
gcw|secution joined03:57
johnw- what will happen is that when they fetch, it will just reset their bogolisk/master_ld03:57
bogolisk johnw-: "people" = you? so is rebase ok03:57
johnw- yeah, I'm not branching based on your code03:58
bogolisk johnw-: ok03:58
johnw- I'll just tear down my johnw_bogo branch and re-merge it03:58
bogolisk johnw-: ok, ty03:59
johnw- interesting, your rebase didn't change your commits04:00
i just fetched your latest, and all before HEAD~3 are the same commit ids04:00
sfullenwider I have a situation where there are three coders working on a project (with me as one of them). None of us want to share our repositories with the outside world via git. Is it possible to set up repositories that can be fetched by only specific people?04:01
johnw- sfullenwider: set it up on a private server that you can all ssh to04:01
also, GitHub sells private accounts04:01
sfullenwider is that the only option?04:01
johnw- you could e-mail patches to each other04:01
git-daemon has no authentication04:01
you could probably use HTTP Digest authenication with the WebDAV support, but then you'd lose the niceties of the git-daemon transfer protocol04:02
git+ssh is by far the simplest04:02
lastly, you could each pull from each other's repositories, directly off of each other's machines04:02
imyousuf joined04:02
xshelf johnw-: You have always inspired me (I had exchanged mails with you a while ago, sure you will not remember)04:03
johnw- what's your name?04:03
sfullenwider johnw-: how could we pull it directly off of each others machines? by providing ssh access to each other?04:03
frq1_dave left04:03
xshelf johnw-: dhruva04:03
johnw- sfullenwider: yes, or you could use git-daemon by restrict access via firewall04:04
s/by/but04:04
sfullenwider ah04:04
alb joined04:04
sfullenwider ok, tnx04:04
jcummins hmmm.... still having some SVN problems here. I'm trying to get a subfolder of my project to track an SVN repo.04:05
johnw- what kind of problems?04:05
jcummins so I go to /proj/lib, type 'git svn clone URL foo'04:05
that works fine04:05
I commit my changes and push to my server04:05
sfullenwider left04:06
jcummins then I try to pull the repo from another location04:06
albertito left04:06
jcummins it does not contain the SVN repo that I cloned earlier.04:06
tcoppi joined04:06
jcummins Does that make sense?04:07
johnw- yes04:07
I think you want to use git submodules04:07
so that after cloning, your user type "git submodule update --init", and it will fetch a copy of the SVN repo mirror, once you make that mirror accessible to them04:07
xshelf: wow, you wrote me on 16 Oct 2002, a while back now!04:08
bts- left04:08
johnw- nice to meet you on IRC :)04:08
xshelf johnw-: Amazing, you are well organized, I am happy to meet you too04:09
srid joined04:09
tjafk1 joined04:09
johnw- yes, that time you wrote me was a very hectic time in my life indeed04:09
sorry I was not more available04:09
jcummins johnw-: Interesting. So every time I want to clone my repo, I'll have to go into that folder after cloning and type 'git submodule update --init" ??04:10
johnw- jcummins: the submodule command is run at the top-level04:10
here's what you do04:10
after you make your git-svn mirror in lib/proj, you type:04:11
git submodule add PUBLIC-URL lib/proj04:11
where PUBLIC-URL is a publically accessible place you are going to host a copy of your git-svn mirror04:11
then you check in .gitmodules and lib/project04:11
lib/proj04:11
but the commit of lib/proj will be a submodule reference, not the whole directory tree04:11
xshelf not a problem, I started learning things and got more closer to free source development. Hacked on samba on vms, did some minor contributions to mercurial, made some noise in emacs04:11
johnw- then when others clone your project, they will run submodule update --init, which fetches the git-svn mirror from PUBLIC-URL and populates lib/proj on their side04:12
jcummins I see04:12
CodeOfficer left04:12
johnw- if your Makefile depends on having lib/proj pulled down, you could add a Makefile rule to run git submodule update --init04:12
jcummins yeah, I think that's what I'll have to do.04:12
I was hoping it would be an easier process.04:12
johnw- have the Makefile depend on a file that you know is in lib/proj04:13
jcummins: the alternative is copying sources into your project, but I think this is the "right" now04:13
here's hoping that git-submodules mature in their interface04:13
jcummins: btw, I do exactly what I've suggested to you in my own project04:13
cedricv joined04:14
offby1 has a Makefile rule that simply runs "git clone" ... can't remember why04:14
jcummins hmmm.... I'm wondering if I want to just copy all the code and add it manually.04:14
eikonos left04:14
jcummins I'll lose the history, but in this case it doesn't really matter.04:14
johnw- jcummins: just for the convenience?04:14
xshelf the lack of easy infrastructure to extend git is the one of the few shortcomings other dscm complain about04:14
johnw- your Makefile can automate the pulling04:14
bogolisk johnw-: to reverse-apply a hunk to the workdir, should I use git-apply or just ...diff?04:15
johnw- bogolisk: i'd use git-apply04:15
bogolisk johnw-: fine, buy why?04:15
johnw- well, diff won't do it, and patch is an external tool04:15
jcummins johnw-: the makefile can automate the process, yes, but I'll still be dependent on their repository being up.04:16
bogolisk johnw-: ok:) I mean s/diff/patch/04:16
johnw- jcummins: use GitHub to host your mirror04:16
jcummins: unless this is private code04:16
I host all of my mirrors on http://git.newartisans.com04:16
there are several of them by now04:16
bogolisk: git-apply is pretty much == patch, but it's available when git is04:16
bogolisk johnw-: ok.04:17
johnw- bogolisk: i merged in your latest 3 commits, thank you04:17
bogolisk johnw-: for the xxx-thing-at-point commands, would it be better to use "keymap" text attribute instead?04:18
johnw-:)04:18
j_engelh johnw-: uhuh04:18
johnw- bogolisk: for a minor-mode, yes, for a major-mode, no04:18
j_engelh cgit hm04:18
bogolisk johnw-: uh... ok, buy why?04:20
johnw- well a major-mode by definition governs the modality of the buffer, so using keymap text properties is just splitting hairs04:20
for a minor-mode, though, it's a nice way to localize changes in local key behavior based on content04:20
paltman left04:21
bogolisk johnw-: ok, I'll think about it. I honestly have no opinion on this minor vs major thing.04:21
johnw- the elisp info manual has good sections on the difference04:22
igorgue joined04:22
johnw- minor modes are like auxiliary features that might be applicable within multiple major modes04:23
like VC04:23
bogolisk johnw-: I just thing that for stage/unstage in the status buffer should use the same keystroke (let's say s). If the hunk was a unstaged one then it would be staged and vice-versa! An easy way to do it is to have different keymap text attribute for the hunks in the staged section vs the one in the unstaged section.04:25
s/thing/think/04:25
tjafk left04:25
bloopletech left04:25
johnw- bogolisk: i agree that it should use the same key04:25
bogolisk: and I think it should be "s"04:26
bogolisk: in which case the command should be name magit-toggle-hunk-staged04:26
there are already text properties to identify if it's a staged or unstaged hunk04:26
bogolisk johnw-: it would be magit-toggle-thing-at-point-state because if it was the diff header then the whole diff would be staged/unstaged.... different keymap text properties would be simpler :)04:27
johnw- ah, you're right04:28
well, perhaps you are right then04:28
i bow to the rationality of fresh eyes :)04:28
bogolisk johnw-:)04:28
gretch` joined04:29
rdavila joined04:30
warthog9 left04:30
bogolisk johnw-: I can code that up but it'd be nice if Marius was convinced to do it because he might have strong opinion about the UI in the status buffer04:30
johnw-: i.e. It'd be nice if you can convince Marius to code that up (single key for stage/unstage) :)04:31
bogolisk sleepy04:31
bogolisk go to bed04:31
bogolisk left04:31
johnw- night bogolisk04:31
maybe you will dream of basilisks04:31
the nice thing about s/u is that it prevents you making a mistake if you're in the wrong part of the buffer04:32
bdiego left04:33
xshelf left04:35
jmettraux joined04:36
queso left04:40
bronson left04:42
madewokherd left04:46
alenoosh left04:47
gretch left04:47
alenoosh joined04:47
warthog9 joined04:53
srid left04:55
SJS joined04:59
SJS left05:01
SJS joined05:01
srid joined05:02
gretch`gretch05:02
srid left05:02
cedricv left05:03
alenoosh left05:10
ph^ joined05:12
rmh3093 left05:12
rdavila left05:15
schacon joined05:15
schacon left05:15
perezd88 left05:15
rmh3093 joined05:15
mithro left05:15
ThunderChicken left05:16
mithro joined05:16
SJSThunderChicken05:17
alenoosh joined05:18
robinr joined05:19
igorgue left05:19
igorgue_ joined05:19
igorgue_igorgue05:19
Aikawa joined05:22
sgrimm joined05:23
ruphy left05:24
adante joined05:29
jstad left05:30
khc what's this para-walk branch found on an email 2 years ago?05:31
eikonos joined05:32
perezd88 joined05:35
Mikachu apparently something that was discarded for some reason :)05:37
khc I was hoping that it would help over nfs05:37
robinr left05:38
khc wonders who's Junio C Hamano here05:39
Mikachu gitster05:39
khc gitster: why did you drop para-walk ;-)05:39
xinming left05:42
xinming joined05:42
bugfux joined05:48
xinming left05:48
jackdempsey joined05:48
jmettraux left05:48
Beket left05:48
xinming joined05:55
LostInTheWorld left05:56
krawek left06:00
zdennis_ left06:05
mstormo joined06:05
schacon joined06:06
kixx joined06:06
jcummins left06:11
alenoosh left06:12
xinming_ joined06:15
l0verb0y joined06:21
daaku joined06:22
ciaran left06:23
zjason_ git-cat-file -e can tell whether a commit exist. How to do this in gitweb interface?06:23
daaku i did something stupid - i commited - pushed - reset - commited. i know no one else has pulled after me, can i force the push and get around the 'rejected - non fast forward' error?06:23
nm. force. so obvious!06:24
aquabu left06:26
resmo i heard about that git can act as a svn server, git running on server, clients can use their svn-clients. But didn't find any information about on the web.06:27
xinming left06:29
johnw- it can run as a cvsserver, not svn06:29
trochala left06:32
mikem left06:34
trochala joined06:35
capisce joined06:36
daaku left06:37
igorgue left06:39
xinming joined06:39
tcoppi left06:43
resmo johnw-: ah ok. Got this wrong06:43
perezd88 left06:48
meyering left06:49
meyering joined06:49
capisce_ left06:49
Adri2000 joined06:49
xinming_ left06:50
BabelO joined06:50
schlort left06:52
albalbertito06:58
albertitoMaxy06:59
Maxyalbertito06:59
bobesponja left07:00
trochala left07:00
trochala joined07:01
CodeOfficer joined07:01
alenoosh joined07:03
mstormo left07:04
Aikawa left07:04
mithro left07:04
bartman left07:04
kanru left07:04
mtodd left07:04
rtyler left07:04
greedo left07:04
univate left07:04
pflanze left07:04
dancor left07:04
comp left07:04
corecode left07:04
xjjk left07:04
hacim left07:04
Magnus` left07:04
johannes left07:04
stick left07:04
metze left07:04
tmm1 left07:04
pmcnabb left07:04
GyrosGeier left07:04
cods left07:04
ruskie left07:04
yann left07:04
tarbo_ left07:04
eMBee left07:04
GyrosGeier joined07:05
hacim joined07:05
cods joined07:05
metze joined07:05
Magnus` joined07:05
rtyler joined07:05
dancor joined07:06
corecode joined07:06
bartman joined07:06
tarbo joined07:06
pmcnabb joined07:06
mstormo joined07:06
comp joined07:06
xjjk joined07:06
RichGuk joined07:08
eMBee joined07:09
stick joined07:09
mtodd joined07:10
neoeinstein left07:11
jcummins joined07:11
Arjen What would be the 'cleanest' way to get the sha1 of the current branch head?07:13
mithro joined07:13
ruskie joined07:13
thiago_home git rev-parse EHAD07:14
HEAD07:14
Arjen Of course, thanks :-)07:14
CIA-2 left07:16
kanru joined07:18
univate joined07:18
greedo joined07:18
pflanze joined07:18
yann joined07:18
Aikawa joined07:19
FunkeeMonk joined07:20
pjhyett left07:21
johnw_ joined07:22
davidfetter left07:25
ciaran joined07:25
jackdempsey left07:27
johannes joined07:31
tmm1 joined07:32
johnw- left07:32
jackdempsey joined07:33
jackdempsey left07:36
nutrimatt joined07:37
redondos joined07:40
machrider left07:41
bartocc joined07:43
cilly joined07:46
priidu joined07:48
reel_ joined07:50
janneke left07:55
janneke1 joined07:55
redondos_ joined07:57
bartocc left07:58
bartocc joined07:59
fgeek joined08:00
sgrimm left08:02
ciaran left08:04
jdq_jdq08:04
sgrimm joined08:05
reuss when installing git 1.6.0 is git-sh-setup supposed to go away also? .. if yes, how do you get the require_work_tree and cd_to_toplevel functionality in your scripts?08:08
Mikachu reuss: s/git-/git / in all your scripts08:08
reuss yeah, i did that - but it doesn't work..08:09
i still get that those two commands are not found ..08:09
git sh-setup; require_work_tree; cd_to_toplevel; doesn't seem to work in my script08:10
redondos left08:11
redondos_redondos08:11
reuss and i get the right git version in my script08:11
osfameron I'd like to push a git repo from my laptop to the server08:11
I've done git init-db on my server08:11
but the manpage for "git-push" doesn't seem to refer to this use case (from a quick skim, do I need to rtfm this in more depth?)08:12
HFactor joined08:13
Mikachu reuss: maybe you should read the manpage08:13
HFactor hi all,08:13
do any have a small presentation (slide) for basic git ...08:13
mithro hey guys, I'm having problem with the git-cvsserver bridge not working properly - it's adding empty commits08:13
osfameron ah, I have to "git remote add origin" ?08:14
reuss Mikachu: yeah, did that - theres a "right" way of sourcing it it seems .. and i was doing it wrong :) .. . "$(git --exec-path)/git-sh-setup" works..08:14
polpak left08:15
icwiener joined08:15
HFactor left08:16
FunkeeMonk left08:17
soultan left08:17
bartocc_ joined08:17
l0verb0y left08:17
mithro I'm using git 1.5.6 and there is nothing strange in the gitcvs log08:17
khc left08:17
mithro anyone got any idea how to debug this problem?08:19
Tv left08:20
snitko joined08:20
jmesnil joined08:20
lu_zero_ left08:21
offby1` joined08:24
kixx left08:24
soultan joined08:25
cods left08:26
schacon left08:26
Shilin joined08:27
Shilin hi, I have a git repository and inside it there is another git repository. Seems like the sub-git repository cannot be added and commited. How do I handle that ?08:29
up_the_irons Shilin: that's correct, git will not add another .git directory within a repo08:30
Shilin: I have no idea how to handle that though, sorry08:30
Shilin anyway, thank you. I have been struggling with that and only now I have noticed that subfolder is not commited. Now I know the problem and I will use a different approach.08:31
RichGuk left08:32
bartocc left08:33
bugfux left08:34
cods joined08:34
volante_ joined08:35
jmesnil_ joined08:35
jtoy joined08:36
m3y3ring joined08:36
CodeOfficer left08:37
jtoy dumb question, how can I know what revision i am on?08:38
johnw_ left08:38
cilly left08:39
offby1 left08:39
jmesnil left08:39
jtoy is there first line of git show the same thing as current version?08:40
osfameron jtoy: doesn't sound like a dumb question. (And I don't know either, but would like to)08:41
meyering left08:41
Mikachu if you want only the number, git rev-parse HEAD08:41
f0rkit joined08:42
jtoy ahhh, nice, having a hard time on google finding that08:42
osfameron ah, I woul dnever have thought of that :-)08:43
I did try "git info" on the lines of "svn info" but no joy08:43
Arjen It's one of those commands you overlook08:43
(I had the same question earlier :-)08:43
m3y3ringmeyering08:44
jcummins left08:46
danten joined08:56
schlort joined08:56
Tv joined08:59
samjam joined09:00
samjam left09:00
advany joined09:00
samjam joined09:01
samjam how can I list only tags of a branch?09:01
thiago there's no such concept09:02
tags don't belong to a branch09:03
what you want is to find all tags that are in the past history of a given branch09:03
I don't know of any commands for doing that, but it can be scripted09:04
osfameron git+- # you can do everything, but it might hurt09:04
thiago git tag | while read tag; do test $(git merge-base $tag master)== $(git rev-parse $tag) && echo $tag; done09:05
change "master" to the branch you want09:05
and add a space before ==09:05
samjam pauses to grok that command09:05
wildfire thiago, should it be 'git tag -l' ?09:06
thiago wildfire: same thing09:06
samjam: Did you get the merge-base and rev-parse ?09:06
samjam I'm just "getting" it09:06
thiago knows of no other way of telling whether $commit1 is an ancestor of $commit209:07
sverrej_ left09:07
thiago though such a command would be extremely useful, since merge-base is more expensive than necessary if there is no ancestor relationship09:07
samjam so if the best merge between tag and master is the tag, then the tag is there...09:07
SeJo left09:07
samjam thats cool, thanks09:08
thiago "is $commit1 an ancestor of $commit2" == "is the merge-base of $commit1 and $commit2 equal to $commit1"09:08
that's a property of a merge-base09:08
samjam I shall credit you with that jagh (just-another-git-hacker)09:09
johnw joined09:09
doener_ test -z "$(git rev-list -1 ..$tag)"09:09
wildfire pasky, is your gitweb 'graphic log' integrated in to mainline at all?09:09
doener_ though I doubt that that is any faster09:09
thiago doener_: what's that supposed to do?09:10
that will work if $tag is in the future of HEAD, but not if it's branching from the past09:10
doener_ same thing as the merge-base thing (well, for HEAD instead of master)09:10
BarryCarlyon left09:11
thiago it works if $commit2 is a parent of $commit1, but not if $commit1 and $commit2 are not ancestors of each other09:11
samjam I need only tags which are direct ancestors, not also in the future09:12
thiago exactly09:12
that's what the command I gave you does09:12
doener_ hm? "a..b" is empty exactly when b is an ancestor of a09:13
eddyp left09:13
samjam it's brilliant; just so you know it's part of an srpm builder which extracts "pristine" source for the last tagged release and patches since that09:13
hmmm.... although it seems the darn'd samba team branch and then tag the branch; so it can't help there... ah well...09:15
pasky wildfire: no09:15
wildfire: I have some patches upcoming that will at least make it easier to integrate09:16
doener_ thiago: what do you mean by "branching from the past"?09:16
thiago doener_: a..b is also empty when a isn't an ancestor of b, but there's a third commit c such that c is ancestor of both a and b09:16
i.e. merge-base a b == c09:16
doener_ no09:16
thiago yes09:16
trochala left09:17
thiago $ git rev-list -1 ..networkaccess-branchpoint | wc -l09:17
009:17
what do you take that to mean?09:17
doener_ that networkaccess-branchpoint is an ancestor of your HEAD09:18
thiago $ git rev-parse HEAD09:18
0121852471196486340d20cdcc53b78dbe3dd52a09:18
doener_ http://git.pastebin.com/m1786adee09:18
thiago $ git rev-parse networkaccess-branchpoint09:19
632ee4fce4e7505c77627362cd306e30c42aeca809:19
$ git merge-base HEAD networkaccess-branchpoint09:19
9c3495b69f719005fbda1bfd860c4d7c7b3c4cd309:19
what does that tell you now?09:19
samjam I guess I could look for where the common ancestor is the tag or a parent of the tag09:19
pasky for the love of god, please teach git branch --contains09:21
doener_ thiago: that tells me that you merged networkaccess-branchpoint into your HEAD, but that networkaccess-branchpoint itself is still pointing to the commit _before_ that merge commit, I'd say09:21
pasky instead of heavy-grade plumbing :)09:21
though, hmm09:22
thiago pasky: it's the inverse of git branch --contains09:22
m-vo left09:22
pasky well, its output is the inverse09:22
not the function09:22
but yes, this could be more elegant09:23
doener_ thiago: so networkaccess-branchpoint _is_ an ancestor of HEAD, and the merge-base trick failed09:23
but that makes no sense to me either09:24
thiago doener_: ah, found my mistake09:24
rev-parse returned the SHA-1 of the tag, not of the commit the tag points to09:24
doener_ heh :-)09:25
thiago $ git rev-parse networkaccess-branchpoint^{commit}09:25
9c3495b69f719005fbda1bfd860c4d7c7b3c4cd309:25
so, yeah, it is an ancestor09:25
pasky :)09:25
thiago pasky: git branch --contains will tell you which branches contain the tag09:25
samjam: wants the tags that are contained by a given branch09:25
samjam adding ^{commit} to your jagh gave me what I expected09:26
thiago samjam: yep09:26
doener_ ok, so we agree that "a..b" being empty also signifies ancestry, right?09:26
thiago hint: put that inside ''09:26
pasky thiago: I meant to just use git branch --contains instead of the merge-base stuff09:26
it's slower and less elegant, yes09:26
but more understandable :)09:26
thiago doener_: agreed09:27
pasky: git branch --contains $tag | grep -q $branch ?09:27
pasky kind of09:27
samjam So I have:09:27
git tag -l "$PATTERN" | while read tag; do test "$(git merge-base $tag HEAD)" = "$(git rev-parse $tag^{commit})" && echo $tag || echo .; done09:27
sverrej joined09:28
thiago pasky: it's a lot less efficient, since for each tag it'll scan all branches09:28
pasky as I said09:28
I think git rev-list -1 ^HEAD $tag is more reasonable than merge-base09:28
thiago yeah, but I thought you meant "a little less efficient", not "a lot less efficient"09:28
trochala joined09:28
pasky *shrug* :)09:28
thiago let me put it this way:09:29
Sput left09:29
thiago if you're writing a pre-update hook script that determines if a forced push is allowed or not, you'd use git rev-list -1 $orig $new ?09:29
Sput joined09:30
deavid joined09:30
pasky thiago: no, I'd use ^$orig $new09:31
;)09:31
but yeah09:31
thiago updates his hook script09:32
pasky now, I have a feeling that I've written such a hook before and in that case I almost certainly used merge-base there09:32
but that's simply because -1 is relatively new invention09:32
mtodd left09:32
thiago can we have git is-ancestor $rev1 $rev209:33
mtodd joined09:33
dwmw2_gonedwmw209:33
thiago returns 0 if they are the same, 1 rev1 is ancestor of rev2, 255 if rev2 is ancestor of rev1 and 128 if they are not related?09:33
GyrosGeier left09:33
jelmer left09:33
hegge left09:33
pasky I think having such a specialized command would be fairly unnatural09:34
since it's so trivial to do with rev-list09:34
it might make sense ti include this in some rev-list(1) cookbook though09:35
GyrosGeier joined09:35
hegge joined09:35
jelmer joined09:35
thiago wtf09:38
$ git rev-list -1 ^master HEAD09:38
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.09:38
samjam so I should use git-merge-base or git-rev-list ?09:38
johnw left09:39
thiago sets the hook script and waits to see if anyone complains09:41
gebi joined09:45
doener_ samjam: you could also try to parse this: git log --decorate --pretty=oneline | grep 'tag:'09:45
samjam: that's probably quite hard and fragile though, but possibly a log faster, since it walks the history only once09:46
chris2 joined09:46
selckin left09:46
samjam hey, thats really good; whats fragile about it, the output format may change?09:47
doener_ extracting the refs/tags/whatever part09:47
there might be more than one entry per commit, and you have to cope with whitespace and stuff09:48
but it's a hell of a lot faster. Just looking up the merge-bases for HEAD and v0.99 and v1.0.0 in git.git already takes longer than the whole log command09:49
ereslibre joined09:49
trochala left09:50
^matthieu^ joined09:50
doener_ maybe you could convince someone to at least provide a pretty=format option that allows to print the decorations, or something like that09:50
would probably make the job easier09:50
trochala joined09:51
JanK joined09:51
JanK can i search for files in the history?09:51
(i'm looking for a file in a deleted folder, but i dont know the rev when it was added and removed)09:52
doener_ git log -- directory/file09:53
snitko left09:57
skarab joined09:58
Lash| joined09:59
cilly joined10:00
pygi left10:01
dancor left10:01
dwmw2dwmw2_gone10:02
skarab left10:03
jtoy left10:03
janneke1janneke10:06
tjafk1 left10:06
tjafk joined10:06
tcoppi joined10:08
BabelO left10:10
vuf uhm, I want the rebase -i functionality (for squashing), but rebase says there is nothing to do because master did not advance10:10
astubbs joined10:11
ereslibre left10:13
doener_ maybe you wanted "git rebase -i HEAD~5" or something?10:13
vuf doener_: yes it seems like it. Why is specifying HEAD~5 and master different, it's the same commit?10:15
doener_ are master and HEAD the same, or master and HEAD~5?10:15
astubbs left10:15
doener_ if master and HEAD~5 really reference the same commit, then there's no difference10:16
vuf do'h!10:16
dragonball_ joined10:16
doener_ I assumed that you are currently on master and that you want to change some commits that are also on master10:16
trochala left10:16
vuf sorry, I forgot to change away from master before trying the rebase10:16
doener_: you are right, and I am stupid10:16
doener_ that's what you said ;-)10:16
vuf thanks10:17
janm joined10:21
trochala joined10:22
xshelf joined10:22
xshelf i want to use lighttpd to show gitweb, what is the minimum conf I need to get it going (just a read only web UI for repo)10:25
parasti joined10:27
ysis joined10:28
Method left10:29
doener_ xshelf: try starting "git instaweb", that starts a lighttpd running gitweb for the current repo10:29
xshelf: the used config file will be placed in .git/gitweb/httpd.conf10:29
xshelf if I want to host 2 repos, can I do from the common root folder?10:29
bcarlyon|laptop joined10:29
l0verb0y joined10:31
doener_ xshelf: yes. See README and INSTALL of gitweb10:32
Method joined10:36
cilly left10:38
trochala left10:40
trochala joined10:41
Yuuhi joined10:41
cilly joined10:41
BBHoss anyone know why in os x git instaweb would give a 500 and an error on the console: (mod_cgi.c.584) cgi died10:42
(mod_cgi.c.998) CGI failed: Exec format error /Users/hoss/Documents/synergyeoc/.git/gitweb/gitweb/gitweb.cgi10:42
JanK left10:42
l0verb0y left10:45
xshelf doener_: I apologize for my impulsive questions, I did the easier way. I had cloned the git repo, I too a peek into the httpd.conf under the .git/gitweb. Thanks10:46
vbabiy joined10:47
Weasel[DK]_work joined10:49
doener_ xshelf: no need to apologize. Bote that "instaweb" also modifies gitweb.cgi to set the project root, and maybe other stuff as well. I'm not that familiar with it10:52
uhm, s/Bote/Note/10:52
ciaran29d doener_: do you have a cold? :)10:52
tvw joined10:53
doener_ not anymore, I had one during most of July10:53
m-vo joined10:55
bentob0x joined10:56
langenberg joined10:56
pflanze left10:57
langenberg I'm trying to write a post-receive hook, to notify people with log old...new. Now I added one line to the file: echo Old:$1 New:$2 Ref:$3 >> ~/support_git.log, but the result output is: Old: New: Ref:10:57
post-receive should get called with <old-value> SP <new-value> SP <ref-name> LF, right?10:58
doener_ langenberg: yeah, but on stdin10:59
langenberg What does that mean?10:59
$n is for parameters and not stdin?10:59
yatiohi joined11:00
tcoppi left11:00
doener_ it's "echo old new ref | post-receive", not "post-receive old new ref"11:00
and $n refers to the positional parameters11:00
langenberg Aah I see11:01
doener_ "read old new ref" should do11:01
trochala left11:01
doener_ probably with a while loop to process every line11:02
botanicus joined11:03
Lash| left11:04
Cap_J_L_Picard left11:04
Cap_J_L_Picard joined11:04
Lash| joined11:09
cilly left11:10
imyousuf left11:11
ereslibre joined11:12
cilly joined11:14
waltman left11:14
eddyp_work joined11:19
bcarlyon|laptopBCarlyon|Laptop11:20
eddyp_work is there a way to get rid of a remote branch which was packed? I got rid of the remote and I don't have any (remote) refs anymore, except a packed ref11:21
should I just remove the line in packed-refs and repack?11:22
err, s/repack/git gc/11:22
Tv left11:23
davi joined11:24
selckin joined11:24
botanicus left11:25
BBHoss left11:29
uau eddyp_work: any reason you can't delete the ref normally (without manually editing packed-refs)?11:32
eddyp_work uau: with git-??? which command?11:32
uau and exactly what do you mean by "getting rid" of the branch? that you have no more references to it? or freeing the disk space used by objects only belonging to it?11:33
how to delete references depends on what kind they are11:33
(branch or tag)11:33
eddyp_work uau: both... is a remote branch11:34
uau if you already deleted the remote that should delete associated remote branches IIRC?11:34
eddyp_work apparently I managed to manually mess it up so it doesn't see any remote, but the remote branch is visible11:35
uau you can delete remote branches with "git branch" too11:36
with the -r switch11:36
soultan left11:37
eddyp_work uau: thanks, branch deleted11:37
brendon_work left11:38
eddyp_work hopes git gc will remove the objects kept in place by that branch, too11:38
brendon_work joined11:38
uau if you had the branch checked out recently there can still be references to it in the HEAD reflog11:38
eddyp_work and it seems indeed that there are less objects now11:38
soultan joined11:39
eddyp_work .. but more wasted space ... oh, well ....11:42
BBHoss joined11:42
Weasel[DK]_work Trying to create a GIT repo from CVS via git-cvsimport, but i get error on files which were deletet once (Attic), now it complaints about the files not longer int repo. What can be done ?11:43
jmspeex left11:43
tvw left11:44
yofel joined11:44
tvw joined11:44
ebel joined11:46
mithro left11:48
lea_w joined11:50
LostInTheWorld joined11:50
diask joined11:51
brendon_work left11:51
Tv joined11:52
brendon_work joined11:52
broonie Hrmpf. Why do I still have loose objects after git repack -a -d?11:53
mithro joined11:57
cbreak joined11:59
langenberg left12:00
vuf broonie: I think that unreferenced objects are retained for 30 days, see git-gc configuration12:01
joelmoss joined12:01
joelmoss hi all12:01
pygi joined12:03
deavidxdeavid-away12:04
yofel_ joined12:05
tiglionabbit left12:05
tiglionabbit joined12:06
cannonball joined12:07
j_manu joined12:08
ysis left12:09
j_manu newbie here. If i create a new branch with "git checkout -b test" and then edit a file and when i do "git status" I see the edited file as mmodified. All fine and good. Now when i do "git checkout master" and then do "git status" I don't expect to see the modified file12:10
in there because I though branches were totally independent.12:10
doener_ you didn't commit yet12:10
dancor joined12:10
doener_ so the changes are in your working tree and/or index only12:11
j_manu so if i don't commit the changes are global across all branches ?12:11
doener_ branches are just pointers to commits12:11
dancor how do i run gitweb with gitosis? just running git instaweb from my gitosis-admin repo doesn't fill in the descriptions, nor does it hide the repos without 'gitweb = yes'12:11
j_manu hmm.. sorry for the svn lingo.. so if both master and test point to revision 88 initially12:12
doener_ branches are just references to commits. Until you commit, your changes are not in any commit.12:12
j_manu I need to commit the changes to bump up the version of test and point it to a different commit ?12:12
doener_ minus some remaining svn lingo, yes12:13
cbrake_awaycbrake12:13
doener_ if you commit, git creates a new commit object and adjusts your current branch to point to that new commit12:13
j_manu and whn i do svn merge test, master resets to that particular commit ?12:13
sorry git merge test12:13
doener_ depends.12:14
Cap_J_L_Picard left12:14
doener_ if there are no commits in master that are not in test, then yes, master can be fast-forwarded12:14
Cap_J_L_Picard joined12:14
j_manu what happens when there are independent commits in both ?12:14
doener_ if there are commits in master that are not in test, then a merge commit is created and master gets updated to point to that merge commit12:14
j_manu ok.12:15
and test will still point to the same commit as before right ?12:15
doener_ yep12:15
lorandi joined12:15
doener_ "gitk master test" nicely visaulizes that12:15
s/au/ua/12:16
j_manu {unfortunately can't access gui. working using ssh]. how do i disregard all changes in the working copy ? git reset HEAD^ ?12:16
doener_ uncommitted changes? just "git reset --hard"12:16
j_manu oh!. then i'm confused. What does git reset HEAD^ do then ?12:17
doener_ HEAD^ is the first parent of HEAD, so "git reset HEAD^" would move your branch back to the previous commit12:17
eddyp_work j_manu: git reset HEAD^ would loose you latest committed entry12:17
j_manu oh.12:17
eddyp_work but your working copy would be unaffected12:17
doener_ and because it defaults to --mixed, the changes would not be dropped at all, the working tree would remain unchanged12:17
"git reset --hard" == "git reset --hard HEAD" == reset the index and working tree to match HEAD12:18
eddyp_work actually, in git nothing is usually lost until you 'git gc'12:18
j_manu but if i do git status then all the changes which was in the dropped commit will show up right ?12:18
eddyp_work yes12:18
j_manu so it is useful to drop a commit and then redo it again ?12:19
doener_ (unless you use --hard)12:19
j_manu --hard will disregard all working copy changes also ?12:19
doener_ eddyp_work: since 1.6.0, reflogs don't expire anymore be default. So even gc won't drop anything12:19
eddyp_work if you:1) never published that change 2) you think you should reorganize history12:20
j_manu: ^^^12:20
doener_: so how do you make them be dropped? git gc --prune?12:20
doener_ "git reset --hard HEAD^" == move the current branch to HEAD^ and reset the index and working tree to match that12:20
eddyp_work: no, you need to drop the reflog entries first12:20
tvw left12:21
doener_ pruning only affects unreferenced objects anyway12:21
s/unreferenced/unreachable/12:21
eddyp_work I see12:21
yofel left12:22
advany_ joined12:23
advany left12:23
j_manu got it..12:24
soultan left12:24
eddyp_work j_manu: I think you shoul dalso read this: http://gitfu.wordpress.com/2008/04/09/links-about-the-git-index/12:25
j_manu what does HEAD and HEAD^1 and HEAD^2 refers to ? is it trunk, trunk minus 1 commit, trunk misu 2 commits ? [pardon svn lingo]12:25
I will look into it.. thanks12:25
juanjoc joined12:25
soultan joined12:26
doener_ juanjoc: HEAD is a reference that points to what have checked out at the moment12:26
eddyp_work j_manu: HEAD^2 is not anything, but HEAD~2 is correct12:26
doener_ argh... stupid tab-completion12:26
pasky HEAD^2 is second parent of head12:26
BabelO joined12:26
capisce_ joined12:26
eddyp_work pasky: is really *^*2 valid?12:26
doener_ j_manu: (the above was for you)12:26
pasky eddyp_work: yes12:26
but it is meaningful only for merge commits12:27
langenberg joined12:27
jast HEAD~2 means take the first parent of the first parent (i.e. go up to the first parent twice)12:27
doener_ j_manu: most of the time it will be a symbolic ref to some branch12:27
pasky ^ chooses parents horizontally, ~ dives into history vertically ;)12:27
doener_ j_manu: that can be resolved to the commit that the branch points to. And the ^ and ~ syntax walks along the ancestry of commits12:28
eddyp_work pasky: but most of the times you'd want ~12:28
doener_ j_manu: git-rev-parse(1) has more information12:28
j_manu ok.. in svn terms if i checkout revision 88, HEAD points to revision 88, HEAD~1 is 87 HEAD~2 is 86 etc ?12:28
eddyp_work j_manu: correct12:28
doener_ "kind of"12:28
j_manu ok :). kind of means ?12:28
Weiss doener_: what is 'origin/HEAD' in that case? especially since 'origin' is a bare repository..12:29
eddyp_work for heads with mutiple parents the thing is more complicated, I guess12:29
doener_ Weiss: bare repos also have a HEAD ref. Most of the time, a symbolic ref to the master branch12:30
broonie vuf: Oh, bah - it doesn't pack the old objects. Thankls.12:30
doener_ Weiss: that, for example, determines which local branch "git clone" creates for you12:30
jast j_manu, main thing that makes it only "kind of" is that you can't really number revisions in git that way. when merges happen, a commit can be based on more than one 'parent' commit, unlike in svn where commit N+1 is always based only on commit N (and its history)12:30
LiamH joined12:31
jast also, of course there's the fact that these revision numbers could differ between various copies of the repository since we're all decentralized12:31
doener_ Weiss: and "origin/HEAD" is also a symbolic ref, most of the time pointing to origin/master12:32
Lemurnomicon joined12:33
j_manu what you are trying to say is that there are different paths to HEAD for each repo and on each repo HEAD~1 and HEAD~1 may result in different object database ?12:33
Weiss doener_: ok... so, more for consistency than anything you'd ever want to use explicitly?12:33
doener_ j_manu: and when you compare svn to git, in git terms, you don't even have branches in svn. Just one huge versioned directory.12:33
Weiss: you could eg. have a master and a maint branch, and decide that clones should start with a maint branch instead of a master branch (for whatever reason)12:34
Weiss: and it makes a plain "git log" possible in a bare repo12:34
pl0pix why do I have to clean up (git reset --hard d12:34
doener_ Weiss: and yeah, it helps consistency and bare<->non-bare conversions ;-)12:34
pl0pix or git clean -f after a git checkout12:34
jast pl0pix, that's not true in the general case12:35
doener_ pl0pix: because you didn't commit your changes12:35
(and maybe lost some work now)12:35
j_manu thanks a lot for the help :). I will now go try out all that i have learned.12:36
samjam left12:36
Weiss doener_: ok, thanks12:36
pl0pix no, I didn't lost files. I try to clone multiple branches and had a directory in a branch where it schouldn't exist12:40
alenoosh left12:40
j_manu left12:41
capisce left12:42
Sput left12:44
Sput joined12:45
Sput left12:46
cmarcelo joined12:48
ysis joined12:48
madewokherd joined12:49
vbabiy left12:51
vbabiy joined12:54
j_engelh Heh, there was a "stupid" merge strategy in git?12:55
Sput joined12:55
gretch left12:56
vuf so if reflogs don't expire, will the loose objects stay around forever by default?12:56
j_engelh you can pack them together.12:57
ebel left13:01
vuf how?13:01
ph^ left13:02
jmesnil_jmesnil_lunch13:03
hansengel joined13:04
hansengel Hi, I'm having some problems with Git.tmbundle.. is this a good place to ask?13:04
brendon_work left13:05
kmr83 joined13:05
cehteh there is prolly no better ...13:05
kmr83 hi guys13:05
i've got a newbie question about git13:05
brendon_work joined13:06
hansengel cehteh: Okay, well whenever I open any of the dialogs this error is shown at the top:13:06
cehteh i should add "dont ask me" :) at least not perl related things13:06
kukks joined13:06
cehteh but someone else here might help13:06
hansengel sh: line 1: git: command not found13:07
cehteh: lol, k13:07
pasky <HEAD:git-gui/lib/choose_rev.tcl>13:07
kmr83 can i checkout the source from a git repo, specifically tuxonice.git, and compile it to get a working 2.6.27 kernel?13:07
Gitbot [git choose_rev.tcl]: http://tinyurl.com/6f8ctg [blob]13:07
swhitt joined13:07
cehteh hansengel: well .. check $PATH .. and if git is isntalled at all13:07
koke joined13:07
hansengel cehteh: it is, and I can use it from the command line fine13:07
that's why I'm confused13:07
Weiss kmr83: that's the idea :) - though exactly what you get when you checkout the source depends entirely on the project..13:08
Lemurnomicon the path TextMate sees may not match what your shell sees.13:08
cehteh does the stuff sanitize the PATH? .. maybe13:08
hansengel yeah, possibly13:08
kmr83 thanks Weiss, its my first tie using git :)13:08
Lemurnomicon not that it sanitizes, but the OS X loginwindow may have a different notion of PATH than what your shell configs set and so any GUI apps get its path not your shell's13:09
doener_ no need to wear a tie, it's all casual here13:09
;-)13:09
Lemurnomicon I think the bundle looks for a TM_GIT environment variable, so maybe set that via the TM pref pane13:09
hansengel Lemurnomicon: okay, I'll try13:09
bartocc_ left13:09
pasky anyone with tk skills here?13:09
hansengel and I set this to /usr/local/bin?13:09
or /usr/local/bin/git?13:09
Lemurnomicon to the path to git, so if your git's /usr/local/bin/git yeah13:09
kmr83 this probly is not the place to ask this, but has anyone tried compiling the latest 2.6.27-rc3?13:09
Weiss used to do Tcl/tk, but has all but forgotten it..13:09
pasky http://repo.or.cz/w/git.git?a=blob;f=git-gui/lib/choose_rev.tcl#l613:10
I just can't figure out (i) what the hell is the binary data (ii) how to decode it (iii) how to encode it13:10
I mean, it's obviously something in base6413:10
j_engelh kmr83: yes, and?13:10
kmr83 well i'm compiling it right now, its my first time compiling from a git source, not sure if it will work...has anyone compiled the latesst kernel source from git?13:11
pasky but according to tutorials I assumed it's a GIF but it doesn't really look so; maybe it's raw data, but then how to display it out of tk and where did it come from?13:11
and what pallete etc does it use?13:11
doener_ pasky: looks like a gif13:12
j_engelh kmr83: less metaquestions!13:12
doener_ pasky: ... in base6413:12
hansengel Lemurnomicon: woot! that worked13:12
thanks.13:12
kmr83 well, sorry13:12
Lemurnomicon huzzah, I R USEFUL TODAY13:12
soultan left13:12
frq1_dave joined13:12
hansengel :P13:12
pasky doener_: well, for one, it's quite hard to decode it - openssl thinks it's invalid base64, uudecode complains about "short input"13:12
and the decoded form looks _nothing_ like GIF13:13
ben_h left13:13
j_engelh burn the gifs13:13
kmr83 i guess it should work....i hope it works13:13
Weiss pasky: did you run 'file' on the raw data?13:13
j_engelh why should not it?13:13
Weiss or maybe 'identify'13:13
soultan joined13:14
vuf pasky: it's a gif of a magnifying glass13:14
pasky weiss: of course13:14
Weiss ..and it just said 'data'?13:14
pasky vuf: how did you decode it?13:15
vuf pasky: base64-decode-region in Emacs13:15
pasky hum13:15
vuf there are Perl one-liners to do that as well :)13:16
pasky how do I trigger that command?13:16
pasky doesn't know emacs commands :)13:16
Lemurnomicon Mark the region and then M-x base64-decode-region. ctrl-space at the beginning, move to the end with cursor keys or C-n, C-f, etc.13:17
resmo hmm what is the normal procedure for init a server / client repo, git init --bare on server, git init ... add . ... commit on client and push to server?13:17
vuf pasky: Ctrl-Space, Esc >, Esc x base64-decode-region13:17
pasky wow13:17
doener_ pasky: base64 decodes it for me13:17
pasky that indeed worked13:18
JimmyB_ joined13:18
pasky now I'm really puzzled13:18
zachinglis joined13:18
pasky why doesn't uudecode or openssl base64 grok it?13:18
ph^ joined13:19
thiago echo '...' | openssl base64 -d | file -13:19
/dev/stdin: writable, no read permission13:20
how useful :-P13:20
MK_FG joined13:20
j_engelh uh13:21
file -s -13:21
thiago openssl base64 -d doesn't decode long lines13:22
doener_ same thing. The problem is that openssl doesn't generate any output13:22
thiago $ wc -c /tmp/foo.gif13:22
712 /tmp/foo.gif13:22
doener_ (for the file "problem")13:22
thiago $ openssl base64 < /tmp/foo.gif | tr -d '\n' | openssl base64 -d | wc-c13:22
pasky aaaaaaaah13:22
thiago 013:22
pasky yeah13:22
j_engelh doener_: -out13:22
no?13:22
pasky we all had the same idea at once :)13:22
with short lines it works13:22
damn openssl13:23
j_engelh well13:23
pasky so only thing left puzzling me is uudecode behaviour, but that tool is uberstrange anyway13:23
doener_ j_engelh: -out what? The input is invalid, so there's no output13:23
j_engelh sigh13:23
doener_ $ echo Li4uCg== | openssl base64 -d | file -13:23
/dev/stdin: ASCII text13:23
works just fine13:23
mw joined13:23
j_engelh what I do find strange is that openssl, interactively, requires two EOFs13:24
neoeinstein joined13:24
hansengel left13:25
vuf pasky: I think MIME/PEM has a line length limit below 8013:25
pasky is there some nice repository of free toolbar icons?13:25
jast try the gnome and kde artwork pages :)13:25
j_engelh /usr/share/icons/13:25
dwmw2_gonedwmw213:26
Oompa joined13:26
davi left13:26
pasky hmm, I'd like something more windows-style ;)13:27
resmo hmm made a git init --bare repo, when i try to fetch git says atal: Couldn't find remote ref HEAD13:27
pasky well, I'll keep looking13:27
j_engelh pasky: that would possibly not be free13:27
resmo what do i wrong13:27
pasky ...13:27
doener_ resmo: you can't fetch from an empty repo13:27
resmo: push something first13:27
vuf j_engelh: ^D flushes the line buffer if you have typed something (try with cat)13:27
j_engelh vuf: no i mean like openssl base64 -d <enter> Li4uCg== <enter> <^d> <^d>13:28
or I need base64 -d <enter> Li4uCg== <^d> <^d> <^d>13:28
3 even...13:28
mithro_ joined13:28
resmo doener_: but when i try to push it says No refs in common and none specified; doing nothing.13:29
Perhaps you should specify a branch such as 'master'13:29
vuf j_engelh: oh, okay ... I didn't test :)13:29
davi joined13:30
resmo doener_: damn sorry wrong permissions...13:31
fafhrd left13:31
joelmoss quit13:31
joelmoss left13:31
Plouj joined13:33
Plouj hi13:33
how do I push a local branch to a remote repositry's master branch?13:33
irotas joined13:34
bdiego joined13:34
mithro left13:34
GarethAdams_ Plouj: you don't13:34
thiago git push remote localbranch:master13:34
the server may reject that13:34
Plouj yeah, howcome it rejects it?13:35
I get:13:35
cehteh :)13:35
Plouj error: src refspec localbranch does not match any.13:35
Weiss kmr83: i guess you know a little about compiling kernels from source to begin with?13:35
Plouj fatal: The remote end hung up unexpectedly13:35
davi left13:35
Plouj GarethAdams_: why not?13:35
kmr83 left13:36
Plouj what else is the simplest way to update a remote repository from a local branch?13:36
bmalee Merge it to your local master, then push that?13:36
mithro_mithro13:36
Plouj bmalee: but I don't want to mix my local master with the changes in a local branch13:36
there are some things in the localbranch that don't belong in the maste branch13:36
GarethAdams_ Plouj: http://git.or.cz/gitwiki/GitFaq#head-b96f48bc9c925074be9f95c0fce69bcece5f6e7313:37
bryanl joined13:37
Plouj that doesn't really deal with my issue13:38
basically I just don't want to rsync my workdir to another machine13:40
because I don't know what that might do to the internal git files on the remote machine13:40
bongiojp joined13:41
foca_ joined13:44
soultan left13:44
ereslibre left13:45
irotas left13:46
kanru left13:46
irotas joined13:47
jmesnil_lunchjmesnil13:49
soultan joined13:49
paltman joined13:50
lu_zero_ joined13:55
Plouj ok13:56
I'll try pulling from the remote computer my localbranch13:56
ferdy left13:57
soultan left13:57
pygi left13:58
qrush joined13:59
soultan joined14:00
andyjgill joined14:00
kumbayo joined14:01
andyjgill Can someone explain the difference between HEAD and master?14:01
schacon joined14:02
shd andyjgill: HEAD is the latest commit of the current branch14:02
andyjgill: and master is the default branch created by git14:02
rdavila joined14:02
shd andyjgill: usually, people have their latest stuff in master14:02
andyjgill: and master is usually the most important branch, though not necessarily14:02
andyjgill So a commit automatically moves HEAD?14:02
shd yes14:02
andyjgill Ahh. And master is just a name, but one created at init time.14:03
shd and git reset can be used to adjust HEAD arbitrarily14:03
Plouj much better!14:03
shd for example, you can destroy 3 latest commits from history with git reset --hard HEAD~314:03
doener_ when you checkout a branch, HEAD becomes a symbolic ref to that branch14:03
andyjgill So is master a branch? (Thing of branch type)14:04
shd andyjgill: yes14:04
jast which means that HEAD normally just says: hey, if you want to know what's checked out right now, look at (e.g.) master14:04
doener_ so when you use HEAD, that's derefenced to the branch (and then eventually further to the commit that the branch points to and then maybe even further)14:04
shd andyjgill: you could use any other name, git doesn't really care about the name14:04
andyjgill This helps. Thanks.14:05
Has anyone got a good link to a "git for darcs users" tutorial?14:05
doener_ eg. "git commit" looks at HEAD, and if it's a symbolic ref, it dereferences that to get the branch it needs to update14:05
and if you're on a detached HEAD, HEAD is not a symbolic ref, but just references a commit directly14:05
and then, "git commit" would update HEAD itself14:06
advany_ left14:06
andyjgill Ahh. Thats smart.14:06
doener_ so "HEAD is the latest commit of the current branch" is not quite correct. Most commands will derefence HEAD to get to a commit, but HEAD itself is just a ref14:07
jast otoh, HEAD is always what's currently checked out (unless you do evil things)14:07
kanru joined14:08
doener_ what evil things would that be? HEAD define "what is checked out"14:08
s/define/defines/14:08
spearce joined14:08
jast an update-ref on HEAD, for example :)14:08
yeah, well, okay14:09
charon joined14:09
ysis left14:09
jast i see what you mean14:09
doener_ that like a checkout + read-tree + whatever. It still changes HEAD, and that's the only notion of "what's checked out" that git has14:09
vuf can diff be made whitespace aware? e.g. to display a pretty patch in case I indent a block due to it getting into a conditional?14:10
Sho_ left14:11
jast what would you have it do? diff can only describe completed lines getting removed and added14:11
doener_ vuf: you mean you want diff to ignore whitespace changes? Or even as far as reindenting on the fly?14:11
the former can be done with -b/-w, the latter would produce broken patches14:11
dragonball_ left14:11
doener_ jast: there's --color-words, but yeah, that probably won't help here14:12
MentalMaelstrom joined14:13
krh joined14:13
vuf doener_: -w is probably what I want, thanks ... it looks nicer in a side-by-side comparison, but there is only so much you can do in a unified diff14:13
Sput left14:14
Plouj left14:15
Sput joined14:15
schacon left14:16
Sput left14:16
Sput joined14:16
resmo hmm no matter what i try i can't push to a git server (git init --bare), it says "No refs in common and none specified; doing nothing. Perhaps you should specify a branch such as 'master'."14:19
cbreak how did you push it?14:20
resmo ssh14:20
cbreak git push remoteserver?14:20
shd resmo: git push -f on the first time14:20
resmo git push ssh://user@example.com/path/to/git-repo.git14:21
shd resmo: when you create a repo, it doesn't have commits, and therefore the first push alarms about that14:21
ToxicFrog You need to tell it what branches to push14:21
shd resmo: push by default allows only straight continuation of history, and but that can be overriden with -f14:21
ToxicFrog Normally it pushes only branches you have in common14:21
cbreak you can do a git remote add to make it easier in the future14:21
ToxicFrog Since the remote is bare, you have no branches in common with it14:21
so try something like "git push url master" to push the master branch to it explicitly.14:22
resmo cool thanks guys14:22
ToxicFrog You can also use git-remote to make this more concise: git remote add name url; git push name branch14:23
cbreak weird, "git remote -h" does only work in a repository14:23
shd resmo: ah, correction, -f was not required here14:23
ToxicFrog Yeah, -f isn't needed for pushing new branches.14:23
shd my bad..14:23
BrianTheCoder left14:23
ToxicFrog It just won't push new branches by default, so that, for example, if you have a dozen topic branches these don't end up getting pushed without your request.14:24
resmo this shoud really be written in the quickstart docu :)14:24
lu_zero_ left14:25
smartcat99s joined14:26
davidfetter joined14:27
sergiodj joined14:28
bdiego left14:29
camcorder left14:29
draco_ joined14:29
metzemetze_weg14:29
metze_wegmetze_away14:32
ferdy joined14:32
Sho_ joined14:32
foca_foca14:33
fafhrd joined14:38
xdeavid-awaydeavid14:38
ondrej joined14:39
ondrej hi, is there a way to put "--color-words" into a .gitconfig file? I know how to put regular colors by default, but I haven't figured out this.14:41
lea_w Am I correct that grafts usually only occur for shallow clones?14:42
vbabiy_ joined14:42
botanicus joined14:42
lea_w ondrej: Looking at 'man git-config', it doesn't look like it. The best idea I have is using an alias in your shell.14:42
Tv lea_w: that is one use for grafts, probably easiest to realize14:43
ondrej lea_w -- thanks, that's a good idea14:43
d0k joined14:43
lea_w Tv: Are there any other uses (apart from people creating grafts manually for obscure purposes)?14:43
ondrej I am looking at the git commits if they implemented it14:44
acmoore joined14:44
Mikachu re the ohhhh jeeee message i got from git-svn, there's an updated version of gnutls now that fixes it14:46
Tv lea_w: you can fake history in general, with grafts14:48
lea_w: chopping history off is just one special case14:48
acmoore is there some technical reason why there's no hooks available for git-send-email? Or, is that just something that hasn't been written (yet) because it's not commonly requested?14:48
lea_w Tv: Yes, but how exactly? Where's TFM to read?14:48
Tv lea_w: e.g. you could *attach* a bigger history to a newer, partial, history14:49
lea_w Ah. Hm, I see.14:49
mehemiah joined14:50
Tv lea_w: grafts are kinda messy internals, with lots of traps..14:50
Mikachu i never found any file that documented the format of the grafts file14:50
Tv lea_w: but basically apart from understanding the object graph, there's not much to read -- just enlightenment14:51
Mikachu: how about Documentation/gitrepository-layout.txt14:51
lea_w Tv: So what do they do though? Is it just something like "internally substitute new_SHA1 for old_SHA1"?14:51
Mikachu yep, never found that ;)14:51
Tv lea_w: how about reading ;)14:51
ToxicFrog eyes gitk with suspicious14:51
lea_w Tv: That's my question. Reading what?14:52
ToxicFrog ME: check out branch "releases"14:52
lea_w ah...14:52
Tv lea_w: i just pasted a filename14:52
ToxicFrog GITK: ERROR! checked out branch "releases"14:52
lea_w that file14:52
Thanks everyone. :)14:52
Mikachu <HEAD:Documentation/gitrepository-layout.txt>14:52
Tv lea_w: but in general, if you're not *dying* for need of grafts, stay the hell away14:52
Gitbot [git gitrepository-layout.txt]: http://tinyurl.com/5gt7p4 [blob]14:52
Tv lea_w: also, learn to grep.. took me 10 seconds to find that file14:52
tcoppi joined14:55
vbabiy left14:56
Pistos joined14:56
Pistos Definition of WTH:14:56
% git branch --no-m14:56
error: Ambiguous option: no-m (could be --no-merged or --no-merged)14:56
cmarcelo left14:57
cbreak that looks very ambiguous14:57
Pistos Yep.14:57
cbreak I can't even tell them appart14:57
Pistos lol14:58
Mikachu i think it thinks there's both the --no-merged option, and the --merged option with a --no- prefix, somehow14:58
morphir joined14:59
Pistos I just compiled from repo version of git, FWIW.14:59
morphir left14:59
Mikachu builtin-branch does define the options with OPT_NONEG, but that seems to be ignored in at least one place in the option parser15:00
vbabiy_ left15:03
vbabiy joined15:04
acmoore I'm interested in updating my bugtacker (bugzilla) when I submit patches. my workflow is that I use git-send-email to submit the patches to the group mailing list. Is there a hook for send-email or something I could use to tie in my script to post to bugzilla?15:06
segher just cc: bugzilla?15:07
d0k left15:07
vmiklos http://tw.apinc.org/weblog/2007/01/16#using-git-with-bugzilla15:07
Pistos left15:07
kazim59 joined15:07
vmiklos eh, it's 404 ;/15:07
that hosted a simple git-send-bugzilla script15:08
acmoore segher: that would be great. my bugzilla doesn't accept email, though. Perhaps I should try to get someone to fix that.15:08
kazim59 What do I do to undo a commit? I don't want any signs that it ever happened.15:08
acmoore vmiklos: Oh. I'll see if I can get google cache or archive.org or something to find that for me.15:08
MK_FG left15:08
vmiklos kazim59: is it the latest commit?15:09
kazim59 vmiklos: yes it is15:09
GyrosGeier left15:09
vmiklos git reset --hard HEAD^15:09
kazim59 vmiklos: oh thanks!15:09
cbreak did you push it?15:09
kazim59 vmiklos: okay, and what if its not latest?15:09
cbreak git rebase -i15:10
kazim59 cbreak: no... not yet.15:10
cbreak good :) if you pushed it, doing reset or rebase is not a good idea15:10
kazim59 cbreak: I understand that :)15:10
jackdempsey joined15:11
paltman left15:12
bugfux joined15:15
langenberg left15:16
ezraburgh joined15:16
kazim59 when I apply a patch my friend sends me, I get trailing whitespace errors. What can I do?15:16
aeruder kazim59: you sure they are errors and not just warnings?15:17
doener_ normally, those are just warnings (unless you configured it to make errors out of them)15:18
aeruder if they are in fact errors, that means for whatever reason you probably made your hooks executable15:18
doener_ if you want the whitespace noise to be fixed, use --whitesapce=fix15:18
s/sap/spa/15:18
brasko joined15:18
kazim59 aeruder: it leaves a .dotest directory, and wants me to do something15:19
machrider joined15:19
aeruder kazim59: how are you applying the patch?15:20
machrider so, when you checkout a branch in git, it modifies whatever files in your working tree are different15:20
kazim59 aeruder: git am < patchfile15:20
machrider has anyone ever modified git to instead make each branch a subdir?15:20
so you can switch around without rebuilding the whole tree?15:20
rwaite joined15:21
doener_ machrider: see git-new-workdir in contrib/15:21
fafhrd_ joined15:21
aeruder kazim59: is the patch currently staged? (i.e. git status shows things ready to commit) ?15:21
machrider doener_: interesting... is it safe to use?15:22
brasko doener_: git-1.5.6.4/contrib doesn't have that file15:22
aeruder machrider: a lot of people use it, so it is kept up to date15:22
brasko doener_: is it in a newer version?15:22
machrider awesome15:22
aeruder brasko: it is actually contrib/workdir/git-new-workdir15:23
gcw|secution left15:23
pasky <v1.5.6.4:contrib/workdir/git-new-workdir>15:23
Gitbot [git git-new-workdir]: http://tinyurl.com/5ormw8 [blob]15:23
pasky it's there15:23
BBHoss left15:23
draco_ left15:23
aeruder kazim59: if so, use git am --resolved15:23
doener_ is just too lazy to be a find(1) replacement15:24
mehemiah left15:24
NewMonarch_ joined15:26
NewMonarch_ Is it bad to have use a hyphen in a branch name?15:26
cehteh no15:26
starting with one might be inconvinient :)15:26
aeruder might be a bad idea to make the first letter a hyphen ;)15:26
Weasel[DK] joined15:27
alley_cat joined15:27
f0rkit left15:27
rmh3093 left15:27
NewMonarch_ I've got a branch called intl-orders and I can't check it out.15:27
cehteh git branch '\`rm -rf\`'15:27
f0rkit joined15:27
bronson joined15:27
rmh3093 joined15:27
NewMonarch_ it wasn't a local branch to begin with but I first pulled and now I'm trying to check it out15:27
netoman joined15:28
pasky and why do you think the dash is the culprit?15:28
brasko left15:28
fafhrd left15:28
NewMonarch_ Cause I didn't have any other ideas. :D15:28
aeruder i'm still waiting for the clarification of "I can't check it out."15:29
NewMonarch_ No, I've been using Git for months but haven't gotten into branching yet.15:29
git checkout intl-orders => error: pathspec 'intl-orders' did not match any file(s) known to git.15:29
machrider git branch -a15:29
lea_w git am doesn't like being fed a MIME patch: "fatal: `pos + len' is too far after the end of the buffer" The patch is here: http://pastebin.ca/1178740 What can I do (apart from editing the patch)?15:29
NewMonarch_ I did git checkout origin/intl-orders but that seemed to freak it out. My branch was "no branch" or something.15:30
pasky didn't you say the branch is not local?15:30
machrider you should create a local branch that tracks the remote one15:30
NewMonarch_ pasky: yeah. Do I need to add the branch?15:30
machrider if you want to work on it15:30
NewMonarch_ ok didn't realize that15:31
I've only pushed branches until now.15:31
How do I go about that?15:31
pasky git checkout -t -b intl-orders origin/intl-orders15:31
I wonder if the -t is redundant now?15:31
jast has been for ages15:32
tracking is the default for this type of command15:32
zawir joined15:33
jast in git 1.6.1 it will probably be even easier: git checkout -t origin/intl-orders15:33
NewMonarch_ got it... thanks. Wish that were a little more intuitive. :D15:33
schacon joined15:33
kazim59 aeruder: alright!15:35
ijcd joined15:35
kazim59 How do I rename a branch?15:35
jast git branch -m. see the git-branch manpage.15:35
BBHoss joined15:36
doener_ lea_w: hm, maybe message id [email@hidden.address]15:36
foca left15:36
lea_w doener_: thanks!15:37
foca_ joined15:38
keseldude left15:39
^matthieu^ left15:39
lea_w doener_: it doesn't actually apply on next for me. well, at least people are aware of the problem then15:39
doener_ oh well, I only remembered having seen that, I'm a master using pansy15:41
lea_w doener_: hm, that patch is in next already15:41
doener_: weird that it still doesn't work15:41
foca_foca15:41
lea_w i'll post a note to the list i think15:41
doener_ did you install the new version yet? Maybe some old dashed executable still in bindir?15:42
rompus joined15:42
ijcd_ joined15:42
doener_ (just guessing, feel free to ignore me ;-))15:43
ciaran29d left15:43
jeffpc joined15:43
ciaran29d joined15:44
igorgue joined15:44
heptadeca I'm trying to educate my co-workers about git; we're using it for a small project on a team of five people. I'm under the impression that it's generally a good idea to create branches for local work, then merge them and push.15:45
qrush left15:45
advany joined15:45
heptadeca One of my co-workers is of the opinion "the way I worked in CVS was to just do all my work on the thing I checked out, then push that up. git supports it, so why do I need to branch?" Should I try and convince him otherwise?15:45
doener_ yep, either merge or rebase (-i),15:45
definitely15:45
branches help to keep independent work separated and gets you a way saner history15:46
sounds like you should also convince him not to produce huge "here's my last month of work" commits15:46
heptadeca But this creates more work for him, which turns him off to git. (CVS-only knowledge)15:47
doener_ well, it pays off the first time you need to make use of the history you created15:48
igorgue left15:48
heptadeca How does branching make a saner history? Because it's linear, rather than merge-y?15:48
doener_ if you use your scm as some write-only backup mechanism, of course the history seems to have little value. But when you actually _use_ your history, for example for debugging purposes, it's quite worthwhile to keep that clean, at least to some degree15:49
no, branching on its own doesn't create a linear history. But if eg. your current task needs 20 commits and you get something else to do in between, you can just switch to a new branch, starting _before_ your new stuff15:50
then you do that other thing and switch back to the other tasks15:50
bentob0x left15:51
doener_ so commits are kind of "grouped together" by topic15:51
heptadeca Hm. Part of this might be due to long-term training in CVS, because he claims not to work on more than one thing at a time. And when he does, it's because he wants to see both at the same time.15:52
doener_ and not some A-B-C-C-A-A-B-B-D-D-A-A-A-B-C mix, where every other commit deals with a topic totally different from the previous one15:52
NewMonarch_ left15:52
advany left15:52
sgrimm left15:52
heptadeca Man, that sounds awesome from my perspective, but it does sound tricky as to convince CVS-only developers as to the advantage of it, and to train them on how to do it.15:52
doener_ well, then he only needs to create one branch15:52
BBHoss left15:53
sgrimm joined15:53
heptadeca Ah, then his argument is "why create the branch? Why not just work in what I checked out?" Which is one I don't know the answer to.15:53
doener_ if he's totally strict about the "one topic only" thing, the one branch he needs is already there, master15:54
Sput left15:54
EgS left15:54
EgS joined15:54
heptadeca OK, so his current method is correct, I'm just being anal. Second question: With this workflow of his, working in master, is it safe for him to rebase and thus clean up his history?15:55
Sput joined15:55
doener_ as long as he doesn't rebase anything that he pushed or which has been pulled from him, sure15:55
heptadeca Additionally, (I don't expect to understand the answer) "why can't a rewritten history get shipped down when I pull?"15:56
doener_ it does15:56
heptadeca But I thought if I rebased a branch and rewrote its history, I couldn't do it to a publicly-used branch.15:56
Sput left15:57
Sput joined15:57
doener_ "rewritten" means "create a new series of commits, that probably do similar stuff (or even the same)"15:57
but still, they're new commits15:57
but those that already pulled the old commits will still have those old commits15:57
they don't get magically removed15:58
heptadeca So, why would that be a problem that other people have old commits?15:58
doener_ they're basically the same as any other local commit15:58
ijcd left15:58
doener_ pull is fetch + merge.15:58
heptadeca Wouldn't their history be updated to point at the new ones?15:58
And the old commits just become things to be garbage-collected?15:58
doener_ so it first fetches the new history, and then merges that with the old one15:58
jast not by default because the new ones no longer have common history with the old ones15:59
doener_ so the created merge commit has the old history as one parent, and the new history as the other15:59
rajasaurus left15:59
ereslibre joined15:59
jast so fast-forward is out at any rate15:59
bts- joined15:59
doener_ heptadeca: the history is "replaced" for the remote tracking branch (eg. origin/master)15:59
jast what happens is that it tries to merge the old commits with the new ones and that'll get you heaps of conflicts because both do pretty much the same16:00
jmesnil left16:00
doener_ heptadeca: but your local branch (eg. master) still has it16:00
jast if fetch doesn't complain and abort first16:00
doener_ heptadeca: it's pretty much the same as creating two branches, doing mostly the same thing twice (once on each branch) and then merging the two16:01
kazim59 How do I rename a branch name?16:01
doener_ 17:35:28 <kazim59> How do I rename a branch?16:01
17:35:49 <jast> git branch -m. see the git-branch manpage.16:01
heptadeca OK, now I'm starting to understand. Thanks, doener_ & jast!16:03
doener_ jast: somewhat recent versions of git place a + in the fetch line by default (though it was broken for some versions)16:03
jast that's a bit evil, i think16:03
doener_ jast: and "git pull remote branch" uses FETCH_HEAD anyway, so that wouldn't complain either16:03
jast yeah, but wouldn't the fetch part complain (when there's no +) if no fast-forward update is possible?16:04
bobesponja joined16:04
doener_ only for "git pull", not for "git pull remote branch"16:04
FETCH_HEAD is a temporary fetch-only ref16:04
ie. that doesn't affect the remote tracking branches at all16:05
f0rkit left16:05
jast hmm, how come i didn't know that :(16:06
Eludias joined16:06
sverrej left16:07
BCarlyon|Laptop left16:07
bdiego joined16:10
lu_zero_ joined16:18
CIA-2 joined16:20
Lash| left16:21
Whtiger left16:22
diask left16:22
NewMonarch joined16:23
Whtiger joined16:24
MentalMaelstrom left16:25
reel_ left16:25
peeja_ joined16:25
peeja_ is it possible to git-reset to the index, blowing away unstaged changes?16:26
doener_ git checkout -- .16:27
priidu left16:28
sgrimm left16:28
sgrimm joined16:28
peeja_ doener_: hmm, that left my local changes intact16:28
kazim59 left16:29
doener_ changes to tracked file, or new files?16:29
tracked files should be reverted to their state in the index16:30
peeja_ tracked files16:30
doener_ or did you delete them from the index?16:30
peeja_ it gave me "M <filename>" for each file16:30
no, they're just files with unstaged changes16:30
Mikachu peeja_: are you sure you ran git checkout -- . and not git checkout -- ?16:31
peeja_ oh16:31
heh16:31
Mikachu where the . is part of the command, but the ? isn't ;)16:31
peeja_ thanks :)16:31
I read that as the end of the sentence16:31
yeah, that works. many thanks :)16:31
doener_ thanks Mikachu! I would have asked a gazillion of other things, but not have thought of that :-)16:31
Mikachu hehe, it already happened to me once, and i asked those gazillion other questions that time :)16:32
jones_ joined16:33
igorgue joined16:38
rdavila left16:41
krawek joined16:43
bdiego left16:43
Yuuhi left16:44
Yuuhi joined16:44
bdiego joined16:46
perezd88 joined16:46
Yuuhi left16:47
hurikhan|Work joined16:47
langenberg joined16:48
redondos left16:48
thannoy joined16:49
hurikhan|Work hey there... I've just set up gitosis which worked great. i added new repositories to the config, pushed it and the config was updated on the server as expected. nowi wanted to push my still local-only repos to the remote but git just tells me "No refs in common and none specified; doing nothing." - however it created an empty repo on the remote end...16:49
Mikachu hurikhan|Work: --all16:50
jones- left16:50
hurikhan|Work Mikachu, still the same error16:50
replacing --all by "master" yields another error: "src refspec master does not match any." so it doesn't help either16:51
bryanl left16:51
hurikhan|Work can i rely on gitosis inititating an empty repo on itself correctly?16:51
rwaite no more git-* woo.16:53
hurikhan|Work is it ok to use subdirs like so: "writable = customer/project1 customer/project2" in gitosis.conf?16:54
doener_ are you trying to push from an empty repo?16:57
ciaran joined16:59
WorkingGeier joined17:01
hurikhan|Work doener_, i suppose it was empty because on first try to push it was created by gitosis17:03
oh wait, doener_, not _from_ an empty repo17:04
my local repo already contains data17:04
_john joined17:04
_john left17:04
doener_ and there's a branch called master in that repo?17:05
hurikhan|Work "git branch -a" yields nothing17:06
should i create a master branch?17:06
doener_ well, then the repo is empty (I'm still talking about the repo _from_ which you push)17:06
bugfux left17:07
joydivider joined17:07
langenberg left17:07
hurikhan|Work doener_, oh yes you are right... not only i confused to repositories - i also forgot to commit files to the other :-(17:08
NewMonarch left17:08
hurikhan|Work thanx for the advice, pushing from the correct repo worked17:08
qrush joined17:09
Lash| joined17:19
bcarlyon|laptop joined17:20
koke left17:22
pygi joined17:24
eikonos left17:26
queso joined17:27
bobesponja left17:27
bobesponja joined17:28
eddyp_work left17:28
peeja_peeja17:31
ciaran_ joined17:31
EgS left17:31
Sput left17:31
EgS joined17:31
Sput joined17:32
brendon_work_ joined17:36
brendon_work left17:36
eikonos joined17:37
foca left17:41
foca_ joined17:42
langenberg joined17:42
Whtiger left17:43
gmaxwell joined17:43
lanaer joined17:44
_Vi joined17:45
brendon_work joined17:46
brendon_work_ left17:46
ondrej left17:47
flaguy joined17:47
mwmw|lunch17:48
gmaxwell Has anyone produced a date-proofing service for GIT? The idea is that you send them the hash of a commit, and they respond back with a signed git tag containing a timestamp for that commit. The application would be providing independent proof that a particular version existed on or before a specific point in time.17:48
greedo left17:48
Tv gmaxwell: you can use a generic timestamping service17:49
greedo joined17:49
lanaer left17:49
gmaxwell Tv, sure, For workflow reasons it would be nice if it integrated directly into git.17:49
sbahra left17:50
CodeOfficer joined17:51
_Vi How to tell to git-merge to always resolve conflicting places to one fixed side? (E.g. instead of ' <<< aa === bb >>>' just write ' aa ' and report that there's no conflicts?17:52
ciaran left17:52
foca_foca17:52
bcarlyon|laptop left17:53
Aikawa left17:54
bcarlyon|laptop joined17:54
robinr joined17:54
Aikawa joined17:55
langenberg left17:56
Whtiger joined18:00
drizzd _Vi: git merge -s ours18:00
doener_ that goes for _all_ files though, not just conflicting ones18:01
_Vi I've just read what '-s ours' do mean, it tell that it changes no files at all, just records that is is formally merged.18:01
warthog9 left18:01
com4 The ip address of my svn repository changed. I updated .git/config and .git/svn/metadata but I get the error "Unable to determine upstream SVN information from working tree history" when i try to rebase. How do I fix this?18:02
drizzd ok, that I don't know18:02
Mikachu wasn't some option added recently that might help with that?18:02
dunno what it actually was though18:02
foca_ joined18:03
_Vi Something like 'if(no_conflict(chunk){ auto_merge(base,chunk); }else{ /* Just ignore it */ }'.18:03
doener_ com4: try setting rewriteRoot as well (to the old url)18:04
com4: if you're lucky, that might do18:04
com4 doener_: where?18:04
doener_ in the config, see git-svn(1)18:04
drizzd maybe it's possible to extract the partly auto-merged version from one of the stages18:04
have you tried looking at git ls-files -u?18:05
brendon_work left18:05
com4 doener_: nope :(18:06
parasti com4: or maybe use git filter-branch to rewrite the git-svn-id lines18:06
doener_ com4: if it is an option for you, do a new clone18:06
com4: if you have not yet dcommitted commits, you can transfer them to the new clone18:07
snitko joined18:07
RandalSchwartz averts his eyes at SVN-related messes18:08
RandalSchwartz _Vi - "merge one direction if a conflict" is almost always a sign that you're using version control to do something else's work18:08
why wouldn't you want to decide which of two independent edits are more correct?18:09
especially if that means that only half of a correlated edit is accepted, and the other half not. that's broken.18:09
_Vi RandalSchwartz, There's a lot of git-unfriendly and not-quite-necessary auto-generated data bundled with file which data should be tracked. /* Probably some other way will solve this problem better */18:10
drizzd what if you limit it to rejecting only conflicting commits, that's like automatic cherry picking18:10
RandalSchwartz Yeah - stop version-controlling generated stuff18:10
_Vi (The file is OpenOffice .fodt document)18:10
polpak joined18:11
RandalSchwartz git is for sources, not products18:11
drizzd - same problem18:11
_Vi Git works for html files. Is html file a source of product?18:11
RandalSchwartz suppose file fred had a conflict on A and B, but wilma accepted B and betty accepted A.18:11
if you bias fred towards A, then the wilma edit is wrong18:12
if you bias fred towards B, then the betty edit is wrong18:12
tetraedr joined18:12
RandalSchwartz you really need to figure out why the conflict is there, and resolve everythign globally in step18:12
tetraedr hi18:12
_Vi OK, probably if I need to git OOo documents I should write a little script that purifies them.18:12
tetraedr is there any manual or sort of comprehensive guide on git?18:12
RandalSchwartz tetraedr - besides all the docs that come with it?18:13
tetraedr RandalSchwartz: sort of18:13
:)18:13
Weasel[DK] left18:13
tetraedr just I like to read books18:13
drizzd tetraedr: http://git.or.cz/#documentation18:13
tetraedr and stick around them18:13
RandalSchwartz not getting it. maybe I'm dense18:13
what are you missing?18:14
tetraedr RandalSchwartz: I just don18:14
drizzd that comes with git, but it's online ;-)18:14
tetraedr 't like to run around whole google to look for something18:14
RandalSchwartz yeah - stop googling18:14
read the stuff that comes with git18:14
if you still want more, look at the wiki18:14
foca left18:14
tetraedr git - the stupid content tracker - goot start :)18:14
langenberg joined18:15
_Vi Where I should read about how I should organise my commits and when I should branch/merge, what comments I should write for them, patterns/anti-patterns of using RCSes, etc.?18:15
ciaran_ left18:15
Weasel[DK] joined18:16
lacky33 joined18:16
aquabu joined18:16
Whtiger left18:16
drizzd tetraedr: you probably don't want to read the manpage, but the user manual18:16
lacky33 Anyone here able to lend a hand getting gitosis working?18:16
Whtiger joined18:17
BabelO left18:17
advany joined18:17
tetraedr drizzd: sort of :)18:18
MattDiPasquale joined18:18
foca_foca18:18
EgS left18:19
Sput left18:19
EgS joined18:19
Sput joined18:19
queso left18:20
warthog9 joined18:20
BabelO joined18:21
robinr tetraedr: its the content that is stupid, not the tracker18:23
tetraedr robinr: I've got it :)18:23
gmaxwell left18:24
ciaran joined18:24
BabelO left18:24
david_koontz joined18:24
brendon_work joined18:24
almostautomated joined18:25
BabelO joined18:26
adante left18:28
EmilMedve joined18:30
lacky33 anyone here have any idea what this means? http://gist.github.com/621318:31
drizzd_ joined18:31
pasky maybe incomplete gitosis installation or something?18:31
EmilMedve left18:32
lacky33 install didn't raise any errors :\18:32
Whtiger left18:33
zachinglis left18:34
jstad joined18:34
Whtiger joined18:35
boink__ joined18:37
flaguy left18:37
chuckr joined18:37
igorgue left18:38
chuckr I need to find a way to get a tag from a git archive that wouold be approximately 6 months old, how would I do something like that?18:38
Oh, I left off, after I found the tag, I need to be able to update my git archive to that level18:38
j_engelh chuckr: git describe $(git log --until="6 months ago" --pretty=format:%H -1)18:39
chuckr I guess there isn't any reason I couldn't say that I'm talking about the Xorg archive. They have a nice script (git_xorg.sh) that updates all of the dirs, I just need to know how to modify the command that updates18:40
j_engelh once you know the tag, git checkout is easy18:40
chuckr that's going to get me the tag, that's half of it ...18:40
(I know cvs really wellm git far less well)18:40
alenoosh joined18:40
j_engelh git checkout <yourtagname>18:42
shush shush now go checkout :p18:42
adante joined18:42
alenoosh hi all , I have noticed different announcements about the latest stable release of git : one says 1.5.6.5 and the other 1.6.0 , which one is right ?18:42
j_engelh both.18:42
alenoosh j_engelh, ?18:42
chuckr thanks, got the tag and now I'm going to do the checkout, do appreciate it. For some reason, I'm having a really bad time witht he git syntax18:43
drizzd left18:43
j_engelh alenoosh: if both are declared 'stable' (rather than say, oldstable or whatever you want to call it), then the one with the higher version number wins18:43
foca_ joined18:43
alenoosh in git.or.cz , it is 1.5.6.5 but in git-scm.com it is 1.6.018:44
j_engelh the git.or.cz webpage was not updated, 1.6.0 is on the ftps.18:44
Mikachu git.or.cz says 1.6.0 here18:44
alenoosh j_engelh, oh really18:45
j_engelh yeah yesterday it was not updated ;)18:45
Mikachu iirc git.or.cz just looks at the maint branch18:45
hurikhan|Work left18:47
chuckr j_engleh, just to let you know, I got my script modified, and everything worked ok (once i realized you had to have been referring to a bash syntax, I usually use tcsh as a user shell, ksh as a programming shell)18:47
mw|lunchmw18:47
alenoosh yes you are right , I cleared my history , now it's 1.6.0 , thanks18:48
raz left18:48
boink__raz18:48
Whtiger left18:52
ferdy left18:54
Whtiger joined18:56
sergiodj left18:58
ferdy joined18:59
Cap_J_L_Picard left18:59
Cap_J_L_Picard joined18:59
alenoosh j_engelh, will upgrading to new version of git , cause problems for repositories that have used previous version of git ?19:00
j_engelh I have not had any.19:00
Mikachu you could get duplicate hooks in new repos if you don't use a package manager19:00
lacky33 anyone here have any idea what this means? http://gist.github.com/621319:00
godlygeek Mikachu: why git-for-each-ref to get branch names, and not git-rev-parse --symbolic-full-name --branches --remotes ?19:01
tiglionabbit left19:01
jmalonzo joined19:01
mithro left19:02
mithro joined19:02
_Vi left19:03
Mikachu --branches is sort of new, i think19:03
godlygeek ok. figured there was probably a reason, just figured i'd ask since it looks a lot simpler.19:04
almostautomated anyone feel up to helping an msysgit update question (first time user of git)? Installed msysgit-fullinstall-1.5.4...., noticed that that didn't install the shell extension for GUI, so then did git fetch which gave an origin error, then did git fetch git://repo.or.cz/msysgit.git followed by cd git && make install... still showed 1.5.4 so...19:04
sbahra joined19:05
almostautomated grabbed the 1.5.6.1 preview installer, installed it to the same dir I had used for 1.5.419:05
zawir_ joined19:05
gcw|secution joined19:05
redondos joined19:06
bdiego left19:06
almostautomated the git shell showed 1.5.6.1 and the msys shell showed 1.5.4 still so I did make install again... bad idea :)19:06
Whtiger left19:06
almostautomated now both the git shell and msys shell show 1.5.4 and the gui shows 1.5.6.119:06
zawir left19:07
Mikachu you have to uninstall the old binaries first probably19:07
Whtiger joined19:07
alenoosh left19:07
bdiego joined19:07
BabelO left19:08
xinming WHenever I use a git-<command>, It will bring up pager automatically, How to avoid this pleaese?19:09
Mikachu man git-config19:09
queso joined19:09
Mikachu /pager19:09
almostautomated hrrmm... I was thinking that I did the pull make install incorrectly, shouldn't I be able to pull the latest and make install to update git? or a better question would be how would I update msysgit to the latest?19:10
Bryson joined19:10
hachi If I try something silly like: git svn clone -treleases/ -b/19:10
does anyone know if it will do 'the right thing' ? :)19:10
Whtiger left19:10
dv_ joined19:10
dv_ hi19:10
Mikachu almostautomated: 1.6 stopped shipping the git-* binaries in $path, so it won't overwrite the old ones19:10
dv_ if I type git branch <branch>, a new branch is created based on the contents of <branch>19:11
Mikachu dv_: no19:11
dv_ but what if I want a completely empty branch, where I can put fresh new files?19:11
adante left19:11
_graham_ joined19:11
dv_ sorry, I meant create <branch> based on HEAD19:11
Mikachu dv_: git symbolic-ref HEAD refs/heads/newbranch; rm .git/index; git add files; git commit -m hooray19:11
Whtiger joined19:12
xinming Mikachu: What do you mean please?19:12
ciaran_ joined19:12
dv_ wow. this looks ... scary19:13
Mikachu xinming: man git-status, look for "core.pager"19:13
xinming: err, git-config19:13
Mikachu decides 3 people is too many to help at the same time19:13
xinming Mikachu: one is done. :-)19:14
almostautomated Mikachu: thanks :) make that two19:14
janm left19:14
Sonderblade joined19:15
lu_zero_lu_zero19:16
gcw|secution left19:17
frq1_dave left19:19
univate_ joined19:19
hachi error: unable to create directory for .git/refs/remotes/tags/ircd-hybrid-7.2.019:19
sbahra left19:20
hachi tags is an existing file19:20
why is git trying to create a directory the same name as a file it already created?19:20
dv_ Mikachu, so you would suggest to branch it and then get rid of all the files in the new branch?19:21
Mikachu dv_: i don't know if i was suggesting anything, as much as i was telling you exactly what to do19:21
dv_ well I dont do rm anything until I fully understand it19:22
Mikachu removing .git/index is the same as git rm --cached -r ., but easier19:22
dv_ alright19:23
Mikachu and if someone tells you rm on irc and you don't trust them, just use mv instead :)19:23
dv_ git symbolic-ref HEAD refs/heads/newbranch <- this still puzzles me19:25
I copied a local repository as a testing ground,19:25
jast hachi, what did you do that resulted in that message?19:25
dv_ and destroyed it using this command19:25
BabelO joined19:25
hachi earlier paste19:25
Mikachu then you didn't use that command19:25
dv_ "fatal: Not a git repository"19:25
hachi -treleases/ -b/19:25
Mikachu you probably misspelled refs/heads/19:26
dv_ probably19:26
but there is no way back, is there?19:26
Mikachu of course there is, just edit .git/HEAD :)19:26
dv_ git symbolic-ref HEAD refs/heads/master refuses to work19:26
EmilMedve joined19:26
hachi I would blame my incantation, but I see no reason why it would force git's hand in creating a directory for a file that already exists19:26
EmilMedve left19:26
peeja left19:27
sbahra joined19:27
jast hachi, does that file have any interesting contents?19:27
lacky33 left19:27
univate left19:27
hachi it has a SHA119:28
j_engelh I haz a SHA1, but I committed it.19:28
hachi k/ick j_engelh19:28
jast I made you a SHA119:28
Mikachu but i garbage collected it19:28
jast :(19:28
ciaran left19:29
tiglionabbit joined19:29
jast it's a bit surprising that refs/remotes would contain a ref directly19:29
especially when the repository you cloned from doesn't have that19:29
you could check if it has broken packed refs19:29
jerbear joined19:29
dv_ hmm19:30
krawek left19:30
robinr omg, my egit patch bucket is overflowing19:30
dv_ if I modify a file in branch A,19:30
krawek joined19:31
dv_ and commit it, then checkout branch B,19:31
bdiego left19:31
dv_ the file isnt marked as modified19:31
oh wait.19:31
dv_ stupid19:31
bdiego joined19:32
towski joined19:32
d0k joined19:34
dv_ hmmm any chance on seeing the differences between branch A and B?19:35
j_engelh git diff A..B19:35
dv_ ah19:36
I tried git diff A B19:36
thanks19:36
clarby_ joined19:39
j_engelh dv_: there is no file called 'B' :)19:39
drizzd_ git diff A..B and git diff A B are synonymous19:41
j_engelh git diff A B sounds to me like git diff A..workingcopy B19:41
clarby_ Ok, so .. I have a repository on my computer, my friend one on his. If he wants to receive my updates, does he not need access to my account credentials? (we're using ssh). How do people go about this? Add users to your system that you work with, and make the repository readable bya common group or something?19:41
j_engelh and git diff --cached A B would git diff A..index B19:41
pygi left19:45
pygi joined19:45
Eludias clarby_: You can either push your updates, or he can pull your updates. Pulling requires read permissions on the 'server', pushing requires write permissions on the 'server'.19:45
clarby_: A 3rd option is to have a real server to which both of you push/pull.19:46
clarby_ Eludias: Ok, we'll go with the readable permission stuff thing :)19:46
Eludias clarby_: Only work by pulling is the easiest. In that case you just 'read' the others repo.19:46
dv_ ok now that I created and committed to branches,19:47
ez joined19:47
dv_ a simple git push will push all new branches as well?19:47
Eludias clarby_: In that case your friend needs to be able to read your files. Which probably means he has an account on your machine.19:48
dv_ or do I need --all here? (I dont know what the manpage means by "refs")19:48
drizzd_ refs are branches and tags19:48
dv_ okay so I do need --all19:48
right?19:49
clarby_ How about his one: We've both checked out a copy of a repository using git-svn. We've been working on different things, comitting to our local git repositories. What happens when I try to pull his version? :)19:49
adante joined19:50
bgerber left19:50
jast sometimes it works well, sometimes it doesn't. anyway, if it works and produces merges, committing those back to svn is usually not a good idea. you'll want to squash stuff together etc., and then the other guy's repository and yours will definitely be out of sync. so even if everything works well you'll have to talk to each other for some operations19:51
dv_ guys? git push --all is ok?19:51
I don't want to fsck up other's repositories19:52
jast push --all is required if you want to push all of your local branches, even those not existing on the other side19:52
advany left19:52
jast push without arguments only considers branches that exist on both sides19:52
dv_ which is the case here; I just created one19:52
jast you can also specify a single branch to push19:53
WorkingG1ier joined19:53
jast personally i think it's best not to get into the habit of using --all if all you did was to create a single new branch19:54
botanicus_ joined19:54
jaalto joined19:54
drizzd_ I believe git push --all is equivalent to git push origin 'refs/heads/*'19:55
snitko left19:55
botanicus left19:55
jast not exactly, i think. refs/heads/* is probably not a good refspec.19:55
sexy_man_XD joined19:55
jast oh well, it probably is, usually19:55
t joined19:55
drizzd_ I think that's again short for 'refs/heads/*:refs/heads/*'19:56
jtong left19:56
redondos_ joined19:57
jast yeah, it probably is. i was thinking about something else but that was a dead end19:57
WorkingGeier left19:57
WorkingG1ierWorkingGeier19:57
yatiohi left19:59
dv_ left19:59
yatiohi joined20:00
sexy_man_XD left20:00
t left20:01
meyeringjim-away20:01
sverrej joined20:02
Lash| left20:02
nostromo left20:05
alley_cat left20:06
eikonos left20:06
rdavila joined20:07
nostromo joined20:07
clarby_ jast: Ok. So now he pulled mine, got two conflicts. Should I then let him fix those, and I'll pull, and then we can dcommit to the svn repository?20:08
jast you don't both have to merge20:09
because when you dcommit, in the svn repo the merges pretty much disappear, so if you now each have slightly different merges, i can't guarantee git-svn won't get confused on one side20:09
what i did was this, roughly:20:09
toxx_ joined20:11
jast as soon as all of your non-svn commits are integrated in one repository, create a series of linear commits from them. in fact i avoided merges altogether to make this easier. then dcommit, throw away the non-svn commits and git-svn rebase.20:12
it's ugly, admittedly, but i've had wildly different experiences with dcommiting git merges20:12
redondos left20:12
redondos_redondos20:12
jast at least even with crippling your workflow that way, using git-svn is more pleasant than using svn itself20:14
BrianTheCoder joined20:16
Eludias left20:18
rompus left20:22
rdavila left20:22
MattDiPasquale left20:23
Aikawa left20:25
langenberg left20:26
Aikawa joined20:27
jmalonzo left20:27
ams joined20:28
ams any quick way to check if you are in a git repository or not? (like hg root or some such)?20:28
robinr git rev-parse --git-dir20:29
ams lovley20:29
thanks20:29
ams left20:29
tetraedr left20:30
ams joined20:30
ams hi again! :-)20:30
d0k left20:31
schlort left20:31
Lash| joined20:32
capisce joined20:32
GITNoob joined20:33
GITNoob does anyone have experience with the submodule capabilities?20:33
i've been having issues with pushing a submodule back to our master repository and I can't seem to find any documentation on pushing submodules back to origin repo20:34
schlort joined20:36
GITNoob can anyone see this?20:38
_Vi joined20:39
waltman joined20:39
waltman I want to pull a single file from a git branch to master. is that "git checkout master; git checkout mybranch foo.pl; git commit"?20:40
that doesn't seem to get its history though.20:40
ams any way to check if a file is registered in git?20:40
vmiklos many :)20:41
try git ls-files20:41
kergoth`work waltman: you cant just pull one file with history, it doesnt work that way, not without using filter-branch to rewrite those commits to include just that file, and then pull those over, anyway..20:42
well, afaik.20:42
MattDiPasquale joined20:42
waltman kergoth`work: can I pull just the revision where that file changed?20:43
GITNoob sorry to spam.. but am i voiced (can anyone besides me see this messsage?)20:43
ams vmiklos: thank you20:43
kergoth`work GITNoob: the channel isnt moderated, you dont need to be voiced20:44
GITNoob cool. thanks20:44
methods joined20:44
methods what's the difference from a git push to commit ?20:44
zachinglis joined20:45
capisce_ left20:45
smartcat99s methods: commits happen on the local machine, and push shares commits out to other repositories20:45
jast methods, i suggest you read http://en.wikipedia.org/wiki/Distributed_Version_Control_System20:46
up_the_irons methods: commit does not talk to any server, it commits locally. Push shares your local commits to a server20:46
methods i use svn allot20:46
GITNoob looking for help with submodule push to master repository. I've become an expert with submodule adds but am having all kinds of trouble pushing a submodule to the master repo. any help appreciated thanks20:46
up_the_irons methods: and yes, you need to read about distributed VCS's :)20:46
methods is svn not a dvcs ?20:47
up_the_irons methods: svn is centralized, git is distributed.20:47
methods ah20:47
parasti that's the d in dvcs20:47
methods yea it's like everyone works in a branch of their own right20:47
then pushes are really like merges20:47
up_the_irons methods: if you try to apply svn principles to git, you will be very confused. To use git properly, you need to learn the differences between distributed and centralized systems20:48
methods i'm just saying20:48
jast hey, i just found my first xhtml document in the wild that gecko refuses to render because it's invalid20:48
up_the_irons methods: actually, the "pull" is the merge part. push just copies the objects/refs to the server20:48
jast and that's why you shouldn't use xhtml :)20:48
(it was supposed to be about the merits of DVCS)20:49
up_the_irons GITNoob: any time i pondered using submodules, I found that using a simple sym-link did the trick just the same20:50
precision joined20:51
bmalee jast, surely that's only why you shouldn't use *invalid* xhtml?20:51
tango_ left20:52
ph^ left20:52
jast bmalee, check out the 'SPECIFIC PROBLEMS' section in http://www.hixie.ch/advocacy/xhtml20:53
methods left20:53
dsyzling joined20:53
GITNoob up_the_iro: we wanted to avoid having to log on to our central GIT repository when checking in "subprojects." That's the only reason we were pursuing the subproject approach. Is there a sym-link procedure that would accomplish the same thing?20:54
bugfux joined20:54
GITNoob ideally we want the concept of submodule commits in GIT to be as simple to perform as CVS project imports were to your target repo20:55
j_engelh imports are evil :p20:56
spearce left20:57
pygi left20:58
ph^ joined20:58
up_the_irons GITNoob: i don't understand why you need to log onto the central git repo server20:58
GITNoob: each symlink points to a first class git repo on it's own20:59
GITNoob: and you updated those repos as you see fit. I know, a little more work, but it does the job20:59
GITNoob if we're talking vanilla symlinks then I understand why they would be easier, but doesn't think require a login to our central GIT repo (our repo where all the devs officially send commits).. and manually create symlinks?21:00
GITNoob left21:00
cannonball left21:01
lorandi left21:02
GITNoob joined21:06
netoman left21:07
mattf joined21:07
up_the_irons GITNoob: no problem21:07
GITNoob: yeah, you need to create the symlinks manually, but only once21:08
mattf is it possible to manage connections to multiple svn repos within a single git repo via git-svn?21:08
up_the_irons mattf: yes, but not really worth the pain it causes21:08
mattf: i did it once, then abandoned it21:08
mattf: just made separate repos21:09
mattf ok. i'm hoping to consolidate repos21:09
GITNoob up_the_irons.. gotcha. we could create the symlinks manually also, but if we were to take that approach, then using submodule is just as viable. We haven't experienced any problems with them as long as we create the submodules from our "master repo"21:10
up_the_irons GITNoob: ok21:10
GITNoob i guess the long and short of it is.. there's no way to get around having to log onto our central GIT repo to handle this issue. is that a valid statement?21:10
Arrowmaster yes if you use something that allows you to remotely create new repos, like gitosis21:11
BabelO left21:11
eikonos joined21:11
up_the_irons well, i don't really understand why you need to log onto the central git server. Is this for continuous integration or something?21:11
doener_ GITNoob: maybe you could explain your trouble with pushing submodules?21:13
BabelO joined21:13
Arrowmaster hes creating new submodules right? meaning new repos that dont yet exist on their central server so they cant be pushed to21:14
doener_ ah, yeah, that would explain the login stuff, adding completely new subprojects21:14
GITNoob sure. our problem is this. We create a bare CENTRAL_repo, and clone the project to a WORKING_repo... from the WORKING_repo we add new submodules via "mkdir module_a; touch foo; git add .; git commit; cd ../; git submodule add module_a; git submodule commit; git push"21:15
tibbe joined21:15
tibbe could someone please clarify how to use .gitignore to ignore all files and directories under dist/ ?21:15
waltman left21:16
Arrowmaster tibbe: create dist/.gitignore and add * to it21:16
bongiojp left21:16
Auris- just to day I ignore a directory with: /dir/21:16
tibbe Arrowmaster: dist/ doesn't exist in the directory, it's created as a part of the build21:16
GITNoob the push appears to work.. but when attempting to clone the new subproject from CENTRAL_repo/module_a, there are complains about the folder not existing on CENTRAL_repo21:16
parasti tibbe: add /dist/* to the top-level .gitignore?21:17
Auris- parasti, why *?21:17
tibbe parasti: I'm trying variations on that, haven't tried that particular one. Will do21:17
doener_ GITNoob: yeah, you should: mkdir new_submodule; cd new_submodule; touch foo; git add foo; git commit; git push ssh://server/path/to/new_submodule_repo master;21:17
tibbe I tried dist/ /dist/ /dist/**/*21:18
GITNoob git-submodule status yields results for module_a from WORKING_repo.. but gives an empty list from CENTRAL_REPO... even though the push to CENTRAL_repo appears to have worked21:18
doener_ GITNoob: and then clone that new repo into your superproject (from the server)21:18
Auris- tibbe, have you added dist/ into the repo?21:18
tibbe Auris-: no, I don't want it in the repo21:18
Method left21:18
jast the shortest way is to put '/dist' in the toplevel .gitignore file21:18
Auris- tibbe, well, sometimes people try to ignore things they have already commited. of course it doesn't work.21:18
bdiego left21:18
mithro left21:19
Arrowmaster GITNoob: submodules are not added to a repo, only information that they exist21:19
bcarlyon|laptop left21:19
tibbe Auris-: ah OK, no I haven't done that, thanks for the warning though21:19
GITNoob doener_: so you're saying we should be cloning from WORKING_repo/module_a... into CENTRAL_repo/module_a?21:19
mithro joined21:19
tibbe left21:20
rwaite left21:20
icwiener left21:21
doener_ GITNoob: no. You create a repo for the submodule on the central server. And then you add the submodule in your local repo with "git submodule add ssh://server/module_a module_a", and then you can commit that and push it otu21:22
ph^ left21:22
doener_ s/otu/out/21:22
GITNoob: the above commands were about creating that repo for the submodule21:23
bdiego joined21:23
GITNoob I see21:24
so in practice, I should always create the submodules on the central server21:24
doener_ GITNoob: your "git submodule add module_a" recorded your local path to the module_a repo, so the others try to clone from "module_a/", and of course that doesn't exist yet21:24
Arrowmaster the only way to avoid having to login to the server to create it is by using an automated solution such as gitosis21:24
pjhyett joined21:24
doener_ the superproject only stores data about what and from where to fetch. Not the whole subproject repos21:25
GITNoob gotcha. thanks for the information21:25
doener_ http://www.kernel.org/pub/software/scm/git/docs/user-manual.html#submodules21:25
did you read that?21:25
kixx joined21:25
GITNoob yep. i was reading that this morning21:26
doener_ hm, ok, it's only a small note that you should not use local URLs, I thought it was a bit more elaborate21:27
vmiklos btw, if you want so (storing the whole subproject) then you can use the subtree merge strategy.21:27
Weasel[DK] left21:27
GITNoob i think i see what needs to take place now. thanks for all of the help21:29
alb joined21:30
kumbayo left21:31
pipegeek joined21:32
sergiodj joined21:33
david_koontz_ joined21:33
pipegeek how does one get the full hashes produced by git-reflog? It cuts them off after seven characters with an ellipsis21:33
j_engelh where?21:34
Sonderblade left21:34
pipegeek hmm?21:34
doener_ git reflog --abbrev=4021:34
j_engelh you are seeing seven chars where..?21:34
pipegeek thank you21:34
j_engelh oh, reflog21:34
dwmw2dwmw2_gone21:35
ebel joined21:35
qrush left21:36
wagle joined21:37
bugfux left21:37
codeshot joined21:40
Aikawa left21:40
tcoppi left21:43
tcoppi joined21:45
albertito left21:46
david_koontz left21:49
jstad left21:49
EgS left21:49
Sput left21:49
EgS joined21:49
ez left21:50
jstad joined21:50
Sput joined21:50
LiamH left21:51
Sput left21:51
Sput joined21:51
vbabiy left21:52
krh left21:53
bcarlyon|laptop joined21:54
tommorris joined21:54
cbrakecbrake_away22:00
andyjgill left22:01
Amorphous left22:01
BabelO left22:02
jackdempsey left22:02
toxx_ left22:03
Amorphous joined22:04
BrianTheCoder left22:04
GITNoob left22:07
BabelO joined22:07
pygi joined22:07
spearce joined22:08
dsyzling left22:10
dv_ joined22:11
dv_ hi22:11
so I've pushed a new branch into a repository22:11
now I want to pull from it, but I always get only the master one!22:12
doener_ pull is a shortcut for fetch+merge22:12
dv_ do I have to do git clone <url> <branch> ?22:12
doener_ it merges into your current branch whatever it is configured to22:12
just "git fetch" and then "git branch -r" to see the remote tracking branches22:13
charon left22:13
dv_ ah alright22:14
EgS left22:14
Sput left22:14
EgS joined22:14
EgS left22:14
EgS joined22:14
dv_ now to actually get that branch on my local repository22:14
Sput joined22:15
dv_ git checkout origin/<branch> is enoughß22:15
zachinglis left22:15
dv_ ?22:15
doener_ you already have that branch. Otherwise "git branch -r" wouldn't list it22:15
fixUp joined22:15
_graham_ left22:15
dv_ but git branch doesnt22:15
bugfux joined22:16
doener_ because "git branch" lists your local branches. Those on which you work22:16
dv_ well22:16
this is what I want!22:16
kergoth`work restrains his impulse to yell RTFM repeatedly..22:16
dv_ i want to continue to work on that branch22:16
doener_ if you want to create a branch to work on, it's "git checkout -b new_name origin/whatever"22:16
dv_ I RTFMed. it confused me22:16
doener_ is in some kind of trance, actually typing most stuff without looking at the screen ;-)22:16
Lash| left22:16
JimmyB_ left22:17
dv_ in git I always *create* new branches?22:17
oh wait22:17
decentralized22:17
jstad left22:17
doener_ only if you want to... in this case, you want one, didn't you say that just a moment ago?22:17
fafhrd_ left22:18
doener_ remote tracking branches represent the state of the remote repository22:18
dv_ yes, I just was under the impression that I need to give git a command to pull the branch over to my computer22:18
as in a copy22:18
doener_ so when you try to check one out, you get a detached HEAD instead. Because otherwise committing would alter the branch and defeat its purpose22:18
you already did that with "git fetch"22:18
"git fetch" updates the remote tracking branches22:19
dragonball_ joined22:20
gasbag joined22:20
johnw joined22:20
dv_ "Because otherwise committing would alter the branch and defeat its purpose"22:21
you mean, trying to commit when the branch is remote22:22
?22:22
adante_ joined22:22
doener_ yes. The remote tracking branch represents the state of the remote22:22
dv_ well yes, its not local,22:22
so a commit would affect a non-local repo22:22
neoeinstein left22:22
doener_ no. You have the whole branch and all of its history locally available. "git fetch" fetched that for you22:22
dv_ hmm and what if I do something like git checkout -b somename1 origin/anothername2?22:24
i.e. when I change the name while checking out?22:24
doener_ that creates a new branch somename1 that initially points to the same commit as origin/anothername222:24
(and checks that branch out)22:24
branches are just references. They reference some commit22:25
dv_ all pulls and pushes then go to origin/anothername2?22:25
doener_ no22:25
somename1 is (by default) setup so that "git pull" will fetch and merge the branch "anothername2" from the remote "origin"22:26
but push has no per-branch settings22:26
the default operation is just to update all branches on the remote for which you have local branches with a matching name22:26
tcoppi left22:27
bugfux_ joined22:28
bugfux left22:28
doener_ kergoth`work: you still ok? ;-)22:30
dv_ so somename1 wont be uploaded22:30
robinr spearce: dammit, we broke eclipse 3.3 compatibility22:30
kergoth`work i stopped looking at the channel before i exploded22:30
dv_ unless I specify --all22:30
spearce robinr: in egit master?22:30
robinr yep22:30
spearce dammit.22:30
doener_ or just somename1, no need to push everything else as well...22:30
robinr pushed it /before/ i tried the batch build22:30
spearce well, fix up patch it is then.22:31
raz is there a quick way to have 'git status'-like output but only for the current directory (and below)? 'git status .' does unfortunately not limit22:31
robinr spearce: provider.getJSch().addIdentity(path);22:32
_Vi left22:32
robinr getJSch isn't in 3.322:32
spearce argh.22:32
robinr shall we ditch 3.3 ?22:32
spearce i'm starting to think so. there's UI bugs in 3.3 that marek says they won't even fix.22:32
robinr yep22:32
schlort left22:32
spearce i mean i'm not surprised they say that, they want to stay focused on the latest stuff, just like everyone else.22:33
its just hard for us to continue to support the aging 3.3 when its maintainers aren't really doing it either.22:33
robinr they started to drop off 3.5 milestone releases already22:33
juanjoc left22:34
robinr and noone is paying us to support 3.3...22:34
spearce correct22:34
eventualbuddha joined22:34
spearce so maybe its just time.22:34
doener_ raz: closest thing would be "git diff --name-only -- ." I think22:34
eventualbuddha if I have two commit ids, abc and def, is there a way to tell which one came first, assuming they are in an ancestor-descendant relationship?22:35
doener_ raz: that's for the "changed but not updated" part. For "changes to be committed" add --cached22:35
rdd joined22:35
j_engelh eventualbuddha: git rev-list ID1 | grep ID2 && echo "ID2 is a descendant of ID1";22:35
robinr that flickering from Mareks patches... is it really bad?22:36
joydivider left22:36
eventualbuddha j_engelh: cool, thanks22:36
doener_ eventualbuddha: do you already know that one is the ancestor or the other?22:36
spearce robinr: its so annoying to me on mac os x i can't stand to test his code, let alone use it. it looks like utter crap.22:36
robinr i.e. the alternativ commented out code22:36
adante left22:37
adante_adante22:37
eventualbuddha doener_: yes22:37
schlort joined22:38
eventualbuddha doener_: the situation is this: I have multiple machines which have a deployed revision of the codebase. I read the revision from each. they may not match (or even exist). I want to show which revision is deployed on which machines and what changes will be made to bring them up to date22:38
bdiego left22:38
j_engelh eventualbuddha: there's a faster one I think even22:38
doener_ test -z "$(git rev-list -1 a..b)" && echo "b is an ancestor of a"22:38
j_engelh git log --pretty=oneline $ID1..$ID2; if it outputs zero lines, $ID1 is not an ancestor of $ID2.22:39
raz doener_, well, i actually like the "modified/deleted/renamed/untracked" groupings... i wonder why "git status ." doesn't do what i would have expected?22:40
danten left22:40
doener_ eventualbuddha: hm, "they may not match (or even exist)" doesn't sound like a guaranteed ancestor relationship22:40
raz: because "git status ." shows what would happen if you do "git commit ."22:41
flaguy joined22:42
raz doener_, well, not really. git status *always* shows "Changed but not updated" also from parent directory. even though that stuff would never commit in a "git commit .".22:42
chris2 left22:42
eventualbuddha doener_: well, they're always deployed from the same branch (master, at this point), so if a deployed revision exists, it is guaranteed to be an ancestor (or equal) of the current master22:43
doener_ raz: well, "changed but not updated" stuff does not go into a commit22:43
LostInTheWorld left22:43
doener_ raz: only the "changes to be committed" part22:43
eventualbuddha j_engelh: cool, thanks again22:43
raz doener_, then why does "git status ." show it at all? when i'm asking for the status of "." then i'm most certainly not interested in stuff that's not gonna be committed in some parent directory...22:44
j_engelh you can combine that with rev-list even22:44
git rev-list id1..id2 | wc -l; # greater than 0: ancestorship yes22:44
to avoid the potential overhead of log22:44
clamothe joined22:44
doener_ raz: you're not asking for the status of ".", you're asking for the status that is relevant for "git commit ."22:45
raz: and that means "commit everything in ., but nothing else"22:45
abizern joined22:45
doener_ raz: so all changes in your current directory and below should show up as staged22:45
clamothe I'm using git-svn. If I create a tag, then svn dcommit, will the tag be created in the subversion repository?22:45
CelticSoul left22:45
doener_ raz: and everything outside your current directory shows up as unstaged, even if you did a "git add" on it before22:46
david_koontz_ left22:46
doener_ j_engelh: well, and using my rev-list version from a few minutes ago, you also avoid outputting and counting the lines, except for the first one22:47
raz doener_, well, i guess i understand what git is trying to achieve but imho that's bad UI design. when i ask for the status of '.' then i clearly want the stage/unstaged list for '.'. not for the whole repository.22:47
j_engelh yeah you can use -1 :)22:47
david_koontz joined22:48
doener_ eventualbuddha: hm, what do you do after determining which one is the ancestor?22:48
eventualbuddha: I have a feeling that you might want the a...b syntax22:49
eventualbuddha doener_: I plan on showing a list of commits, similar to how tig does it, but instead of branches in brackets (e.g. [master] [origin/master] Whatever) it'd show servers: [ww1.example.com] Some commit \n Another commit \n [ww2.example.com] The commit the other server is on22:51
doener_ goes looking for what tig output looks like22:51
bugfux_ left22:52
doener_ eventualbuddha: http://jonas.nitro.dk/tig/screenshots/main-view.png22:52
eventualbuddha: like that?22:52
eventualbuddha doener_: yes, but more stripped down (like no date). imagine that instead of the branch name in pink ([cogito-0.16.3]) it'd be the server that is at that revision22:53
or servers, as the case may be22:54
doener_ eventualbuddha: with the full log, or just a list of the states of the servers?22:56
eventualbuddha doener_: the log from the oldest deployed revision to the newest HEAD, with deployments marked in brackets as branches are in that screenshot22:57
robinr spearce: tried http://www.jgit.org/update-site ?22:57
night22:57
ajonat joined22:57
spearce not recently. i'll give it a shot.22:57
patmaddox joined22:57
CelticSoul joined22:57
eventualbuddha doener_: this is part of a larger project. I'm not looking to do this all simply as part of a quick n' dirty git command22:57
doener_ eventualbuddha: there's only one HEAD per repo22:57
WorkingGeier left22:58
eventualbuddha doener_: sure. I'm being imprecise. but you get the idea22:58
doener_ eventualbuddha: I'd probably have refs that represent the various servers, pointing to the respective commits22:59
schlort left22:59
doener_ eventualbuddha: then you should be able to reuse more existing stuff and can probably avoid a good deal of walking the history over and over again22:59
eventualbuddha doener_: you mean you'd actually record in the repo where the servers are?22:59
emlprime joined22:59
doener_ eventualbuddha: yeah, maybe something like refs/servers/timmy, refs/servers/jimmy, refs/servers/kenny, ...23:00
eventualbuddha interesting idea...23:01
doener_: how would I use that in git?23:01
schlort joined23:02
doener_ you can just run "git update-ref refs/servers/jimmy $whatever" to create/update the ref, and then use it as servers/jimmy23:03
LiamH joined23:03
BrianTheCoder joined23:03
eventualbuddha huh. that's neat23:03
doener_ though at least the --decorate option for "log" doesn't seem to look at such refs23:03
mithro left23:03
eventualbuddha doener_: tig seems to23:03
but that doesn't help me all that much23:03
abizern Okay, so I've done a git reset --hard in a fit of anger23:03
I know that the sha of each of my commits still exists in the repo23:04
Two questions:23:04
doener_ abizern: git reflog23:04
eventualbuddha doener_: git log --decorate does show them23:04
doener_ eventualbuddha: in the "commit" line after the hash, in parentheses? Doesn't do that here23:05
abizern doener_23:05
doener_ that's me23:05
eventualbuddha doener_: yep. commit f342d72c391253171d2a77ad143daec1cd292565 (refs/servers/ssu2.prod, refs/servers/ssu1.prod, refs/remotes/origin/master, refs/remotes/origi23:05
n/HEAD, refs/heads/master)23:05
abizern doener_: thanks for answering my question before I even asked it.23:05
doener_ eventualbuddha: hm, weird, doesn't do that here. Which git version is that?23:06
eventualbuddha git version 1.5.3.7 on OS X23:06
doener_ ah, crap, I forgot the "refs/" part when I created it23:07
works here as well now23:07
HenrikV joined23:10
mtd left23:11
ereslibre left23:11
HenrikV My setup has been working fine, but now when I do a 'git push s1', I get23:12
error: unable to create temporary sha1 filename ./objects/tmp_obj_qdqH6Z: Permission denied23:12
fatal: failed to write object23:12
error: unpack failed: unpacker exited with error code23:12
BabelO left23:12
HenrikV I don't recall changing any permissions ?!?!23:12
doener_ abizern: oh well, it was not so hard to guess what you were looking for when you started to describe your situation ;-)23:12
thannoy left23:13
abizern doener_: I still feel like an idiot. - I can see the sha I need, but I can't think how to move the tip of my branch to that sha.23:13
doener_ abizern: either reset again, or merge, or rebase23:14
BabelO joined23:14
WorkingGeier joined23:15
robinr left23:15
emlprime left23:15
jstad joined23:16
abizern doener_: thanks again. Rebase worked a treat.23:17
tiglionabbit left23:20
jmspeex joined23:21
BabelO left23:22
univate_ left23:23
HenrikV It seems there are some file locks interfering. I haven't found any running processes that should have any relation to the repository. Is there a way to recover the repos?23:23
tommorris left23:23
univate_ joined23:23
ereslibre joined23:23
BabelO joined23:24
tcoppi joined23:25
ereslibre left23:27
HenrikV When you push to a repository, what ref is it filed under?23:27
xinming left23:27
doener_ whatever you specified23:27
the default is to update matching branches23:28
that is, all branches on the remote for which a local branch with the same name exists23:28
HenrikV so a 'git push someone@somewhere' pushes changes to master from master, right?23:30
doener_ yes23:30
mithro joined23:30
doener_ unless you have setup some push refspecs in your config I think23:30
HenrikV ah23:30
doener_ then it should probably do whatever your config says instead23:31
ebel left23:32
tiglionabbit joined23:36
kixx left23:36
codeshot left23:36
iqson716_ joined23:37
jstadjstad|away23:37
iqson716_ left23:37
tiglionabbit left23:38
HenrikV Is there a document somewhere describing how to use git with user/group. My repos stopped working within anything but root access23:39
cbreak left23:39
jstad|awayjstad23:40
rdavila joined23:41
BabelO left23:43
zachinglis joined23:48
HenrikV Guess I'm fuxored23:48
doener_ hm? sounds like you chmod need some chmod23:49
s/chmod/just/123:49
HenrikV left23:49
doener_ or maybe some patience...23:49
fixUp left23:50
albalbertito23:51
halfline left23:52
parasti left23:53
pete__c left23:53
Pasquale joined23:54
tiglionabbit joined23:54
jstadjstad|away23:55
zachinglis left23:55
mjc joined23:55
Pasquale left23:56
zachinglis joined23:56
zachinglis left23:57
zachinglis joined23:58
markkalderon joined23:59

Logs Search ←Prev date Next date→ Channels Documentation