| 2008-02-23 |
| → krh_ joined | 00:01 |
| ← Yuuhi left | 00:07 |
| → dsaxena joined | 00:08 |
| ← krh left | 00:12 |
| → dsaxena_ joined | 00:12 |
| ← psst left | 00:14 |
| → dsaxena__ joined | 00:15 |
| ← a-priori left | 00:23 |
| → ironfroggy joined | 00:24 |
| ← dsaxena left | 00:27 |
| ← dsaxena_ left | 00:30 |
| ← floppyears left | 00:31 |
| ← krh_ left | 00:31 |
| → dsaxena_ joined | 00:32 |
| ← philc left | 00:35 |
| → dsaxena joined | 00:35 |
| → philc joined | 00:36 |
| → drizzd_ joined | 00:39 |
| → Cerebon joined | 00:39 |
| ← toxx_ left | 00:40 |
| ← ebel left | 00:46 |
| → cmarcelo joined | 00:47 |
| ← dsaxena__ left | 00:47 |
| ← dsaxena_ left | 00:50 |
| ← drizzd left | 00:50 |
| ← robinr left | 00:55 |
| → lukass joined | 00:58 |
| ← leethal left | 00:58 |
| → tarbo joined | 00:59 |
| → a-priori joined | 00:59 |
| ← Thumper_ left | 01:00 |
| ← tarbo_ left | 01:10 |
| ← timocratic left | 01:12 |
| ← jmhodges left | 01:14 |
| → jmhodges joined | 01:16 |
| ← a-priori left | 01:16 |
| ← jmhodges left | 01:17 |
| ← kelvie_ left | 01:17 |
| → kelvie_ joined | 01:17 |
| → FunkeeMonk joined | 01:19 |
| ← aroben left | 01:19 |
| → madewokherd joined | 01:24 |
| → dsaxena_ joined | 01:27 |
| → dsaxena__ joined | 01:31 |
| ← glommer left | 01:32 |
| ← KirinDave left | 01:34 |
| → rxKaffee joined | 01:38 |
| ← lukass left | 01:38 |
|
cehteh
| shrug | 01:38 |
| ← dsaxena left | 01:41 |
| ← \ask_ left | 01:41 |
| → \ask_ joined | 01:41 |
| → Rtfum-aF joined | 01:42 |
| ← drizzd_ left | 01:42 |
|
Rtfum-aF
| a-atwood jaalto unreal Tali | 01:42 |
| ← Rtfum-aF left | 01:42 |
| ← dsaxena_ left | 01:44 |
| → sbohrer joined | 01:44 |
| ← \ask_ left | 01:44 |
| → nex3 joined | 01:47 |
| → a-priori joined | 01:47 |
|
nex3
| Suppose I have a public repository | 01:48 |
| → SuttoL joined | 01:48 |
|
nex3
| Someone clones it, makes some changes, and pushes them to their own public repo | 01:48 |
|
| But they didn't rebase before pushing, so these changes are disorganized | 01:48 |
|
| What's the proper way to pull them into my repo? | 01:49 |
|
| Suck it up and deal with the disorganization? Rebase it myself and have incompatible commits? | 01:49 |
| → aunes joined | 01:49 |
| ← dsaxena__ left | 01:50 |
| ← sgrimm left | 01:50 |
| → sgrimm joined | 02:05 |
| ← devogon left | 02:05 |
| → demerphq joined | 02:06 |
|
tpope
| nex3: what do you mean by "incompatible commits"? | 02:08 |
| ← a-priori left | 02:08 |
|
tpope
| well, I think I see what you mean | 02:08 |
|
| they will only be incompatible to people who have used this other guy's repo | 02:09 |
|
| probably just the other guy | 02:09 |
|
| so, serves him right? | 02:09 |
|
| it's nothing he can't recover from | 02:09 |
|
| the gentlemanly thing to do would be to suck it up | 02:10 |
|
| merge and be done with it | 02:10 |
| → axiom joined | 02:18 |
| axiom → majoh | 02:18 |
|
cehteh
| robtaylor: there? | 02:19 |
| ← demq left | 02:20 |
| → a-priori joined | 02:21 |
| ← philc left | 02:22 |
| → philc joined | 02:23 |
| ← a-priori left | 02:26 |
| ← tvachon left | 02:27 |
| → mithro joined | 02:29 |
| ← eikonos left | 02:30 |
| ← philc left | 02:34 |
| → philc joined | 02:35 |
| → Thumper_ joined | 02:35 |
| → bugfux joined | 02:36 |
|
bugfux
| how can I apply a patch and make it form the commit also | 02:37 |
|
| so that the commit is from the person who created the patch and not me etc | 02:37 |
|
nex3
| bugfux: git am | 02:37 |
|
bugfux
| oh nex3 whadup man | 02:37 |
|
nex3
| Hello :) | 02:38 |
|
bugfux
| nex3: thats what i was looking for, thanks | 02:39 |
|
nex3
| No problem | 02:39 |
| → sbeyer joined | 02:57 |
| → jbailey joined | 02:59 |
| → loglibrarian joined | 02:59 |
| → aroben joined | 03:04 |
| ← loglibrarian left | 03:05 |
| ← hadronzoo left | 03:07 |
| → Fullmoon joined | 03:09 |
| ← Fullmoon left | 03:10 |
| ← bugfux left | 03:14 |
| → \ask_ joined | 03:24 |
| → trav_15 joined | 03:26 |
| ← philc left | 03:27 |
| → philc joined | 03:28 |
| ← pete__c left | 03:29 |
| → pete__c joined | 03:29 |
| ← pedro__ left | 03:31 |
|
Strogg
| Hrmm.. how do you get git ls-files to show only the new files that have been added? | 03:35 |
|
| hrmm.. maybe I'll just parse the output of git status.. hrmm | 03:35 |
| → nkallen joined | 03:38 |
| ← kukks left | 03:41 |
| ← madewokherd left | 03:52 |
|
sbeyer
| Strogg: you could look in the source of tools like qgit, that show new files green, deleted files red, changed files black, for example | 03:53 |
| ← nkallen left | 03:55 |
| ← aroben left | 03:59 |
|
cehteh
| huh sbeyer :) | 04:05 |
|
Strogg
| I just wanted to fix up my mess.. I did a git add, and more stuff got added than I wanted in there.. | 04:16 |
| → BuGless joined | 04:16 |
|
BuGless
| Say I have, in one repository, two disconnected branches: A--B--C and D--E--F | 04:17 |
| → adante_ joined | 04:18 |
|
cehteh
| Strogg: git reset HEAD -- filename to un-add it | 04:18 |
|
BuGless
| And I'd like to (re)connect the two branches as: A--B--C--D--E--F | 04:18 |
|
cehteh
| or use git gui :) | 04:18 |
|
BuGless
| because D actually is a newer revision of C; how can this be accomplished? | 04:19 |
|
Strogg
| hrmm nice. I was using git rm --cached | 04:19 |
|
cehteh
| works too iirc | 04:19 |
|
| BuGless: you could try if merge would just do a fast forward .. easy pie then .. | 04:20 |
|
| if not rebase ... or even rebase --interactive | 04:20 |
|
| .. good night | 04:21 |
| ← RyanTM left | 04:21 |
|
BuGless
| cehteh: I can try those, of course; just wondering if that won't result in the changes being stacked and duplicated | 04:21 |
| ← philc left | 04:23 |
| → philc joined | 04:24 |
| → notahat joined | 04:24 |
| ← artmi left | 04:28 |
| ← BuGless left | 04:28 |
| → ericflo joined | 04:30 |
| ← ericflo left | 04:30 |
| ← philc left | 04:32 |
| → philc joined | 04:33 |
| → harinath joined | 04:33 |
| ← adante left | 04:34 |
| adante_ → adante | 04:34 |
| ← notahat left | 04:34 |
| → doener joined | 04:37 |
| → tarbo_ joined | 04:43 |
| ← tarbo left | 04:54 |
| ← doener_ left | 04:55 |
|
| Strogg wonders why he didn't put some stuff in his .gitignore before.. | 04:57 |
| → fhobia joined | 04:57 |
| ← sbohrer left | 05:09 |
| ← GyrosGeier left | 05:12 |
| ← philc left | 05:14 |
| → philc joined | 05:15 |
| ← fhobia left | 05:15 |
| → ReinH_ joined | 05:21 |
| ← philc left | 05:24 |
| → philc joined | 05:25 |
| → ericflo joined | 05:27 |
| ← ericflo left | 05:28 |
| ← ReinH left | 05:36 |
| ← ReinH_ left | 05:39 |
| ← Ingmar left | 05:50 |
| → Ingmar joined | 05:51 |
| → cousin_it joined | 05:54 |
| ← adante left | 05:54 |
| → tarbo joined | 05:57 |
| → ReinH joined | 06:00 |
| ← tarbo_ left | 06:09 |
| → devogon joined | 06:13 |
| ← philc left | 06:24 |
| ← jbailey left | 06:25 |
| → philc joined | 06:25 |
| ← bobesponja left | 06:30 |
| → harinat1 joined | 06:35 |
| ← harinath left | 06:35 |
| ← mithro left | 06:35 |
| harinat1 → harinath | 06:35 |
| ← trav_15 left | 06:36 |
| ← philc left | 06:43 |
| → adante joined | 06:43 |
| → janm joined | 06:43 |
| → philc joined | 06:43 |
| ← harinath left | 06:57 |
| → nkallen joined | 06:58 |
| → fhobia joined | 07:05 |
| → glguy joined | 07:10 |
| ← philc left | 07:11 |
|
glguy
| How do I do the equiv of git-gc on old version of git, say the one in debian stable | 07:11 |
|
cwillu
| glguy, git-repack I think is most of what you want; there's bugs from old versions though | 07:12 |
| → philc joined | 07:12 |
|
glguy
| I installed the latest git in my home directory for things like git-gc | 07:16 |
|
| but people pushing will end up using the older git | 07:16 |
|
| is that a concern? | 07:16 |
|
| or should it be for me :) | 07:17 |
| → Eludias joined | 07:19 |
|
cwillu
| latest git-gc will cause grief for older clients I think, I believe there's an option to turn off the use of offsets (?) in the packs, not sure what it is exactly though | 07:19 |
|
glguy
| do bare repositories work in git with git-init-db? | 07:25 |
|
rxKaffee
| isn't git-init-db integrated into regular git-init functionality now? or am I talking crazy business and thinking of something else | 07:26 |
|
glguy
| I'm stuck with an old version of git on this remote machine I don't control | 07:26 |
|
| when not logged into a shell | 07:26 |
|
cwillu
| init-db == init | 07:26 |
|
| but old debian wouldn't have init | 07:26 |
|
thiago_home
| why don't you just upgrade? | 07:27 |
|
cwillu
| it's debian. upgrading is evil :p | 07:27 |
|
glguy
| the person that could do that isn't me and isn't available tonight :) | 07:27 |
|
rxKaffee
| you already did partial upgrade into ~/... why not do a full upgrade of git into ~/? | 07:27 |
|
| perhaps would need to change path in git-shell so users pushing would use "new" tools | 07:28 |
| ← jerbear left | 07:28 |
|
glguy
| you can't use non-standard paths if sshd isn't set up to allow that | 07:28 |
|
| when pushing | 07:28 |
|
| (that I know of) | 07:28 |
|
| I think you need PermitUserEnvironment or something | 07:28 |
|
thiago_home
| no, it isn't evil | 07:29 |
|
| grab git from git, type: make install | 07:29 |
|
| that's it, no need for root permissions | 07:29 |
|
glguy
| I did that, it's installed in my home directory | 07:29 |
|
| but I don't know how to use that version when pushing for all other users by default | 07:29 |
|
ironfroggy
| without options its implied that $GIT_WORK_TREE=$GIT_DIR/.. right? | 07:29 |
|
thiago_home
| same here | 07:29 |
|
glguy
| as not root | 07:29 |
|
cwillu
| he'd need to do that for the remote user's home I'd presume? | 07:29 |
|
glguy
| without some exploit I don't have | 07:30 |
|
thiago_home
| glguy: if you don't have root, you do it for you only. | 07:30 |
|
cwillu
| glguy, have they patched vmsplice on that box yet? :p | 07:30 |
|
glguy
| thiago_home: right :) | 07:30 |
|
| that's why I'm bothering you poor fellows with trying to work around this | 07:30 |
|
thiago_home
| work around what? | 07:30 |
|
glguy
| things like using bare repos in old versions of git | 07:31 |
|
thiago_home
| use a newer version of git | 07:31 |
|
glguy
| that's what I ended up doing | 07:31 |
|
thiago_home
| problem solved | 07:31 |
|
glguy
| I was just concerned that the rest of the users | 07:31 |
|
| using old git | 07:31 |
|
| might have had issues | 07:32 |
|
cwillu
| abbott and costello comes to mind for some reason :p | 07:32 |
|
glguy
| so I asked | 07:32 |
|
thiago_home
| the format should be compatible | 07:32 |
|
rxKaffee
| glguy: they on same physical server as your "new" git binarys? | 07:32 |
|
thiago_home
| incompatibilities are listed in the man pages | 07:32 |
| → hadronzoo joined | 07:32 |
|
glguy
| rxKaffee: do you know how to tell a "git-push" launched on my local machine to use the git-* stuff in a custom bin directory on the remote machine? | 07:33 |
|
| without .ssh/environment | 07:33 |
|
cwillu
| glguy, could try going via git-daemon | 07:33 |
|
rxKaffee
| glguy: do you control the account on the remote machine? | 07:33 |
| ← careo left | 07:33 |
|
glguy
| rxKaffee: I control my account | 07:33 |
|
thiago_home
| git push --receive-pack=/path/to/remote/receive-pack .. | 07:33 |
|
glguy
| ok, cool | 07:33 |
|
rxKaffee
| glguy: do the other people pushing, push into your account? | 07:33 |
|
glguy
| rxKaffee: no | 07:33 |
|
rxKaffee
| then I don't understand how their git version affects you | 07:34 |
|
glguy
| rxKaffee: If they are using old git to accses a publicish repo on the server | 07:34 |
|
| I'd like to avoid them having problems | 07:34 |
|
| with the repo I'd created | 07:34 |
|
| using new git | 07:34 |
|
| that's about it | 07:34 |
|
rxKaffee
| oooooh, shared reposwithout gitosis /me dosn't trust g+w :P | 07:35 |
|
thiago_home
| glguy: if they're using an old, incompatible version, they'll have to upgrade as well. | 07:35 |
|
| glguy: if they come here and ask for help, that's what we'll tell them. | 07:36 |
|
glguy
| thiago_home: I was just worried that the old version of git-recieve-pack on the server | 07:36 |
|
| that they'd use hwen sshing in | 07:36 |
|
| would be an issue | 07:36 |
|
| sounds like everything is fine | 07:36 |
|
| we can all move on :-D | 07:36 |
|
thiago_home
| there should be no incompatibilities, unless you explicitly enable them | 07:36 |
| ← philc left | 07:38 |
| → philc joined | 07:39 |
| ← janm left | 07:48 |
| → HG` joined | 07:52 |
|
nex3
| Is there an easy way to get a list of commits in one repo that aren't in another, in a git-log sort of format? | 07:53 |
|
thiago_home
| no | 07:53 |
|
| you have to do that per branch | 07:53 |
|
nex3
| "per branch"? | 07:54 |
| → dsaxena joined | 07:55 |
|
nex3
| Do you mean I can get such a comparison between branches? | 07:55 |
|
| Because that would be fine | 07:55 |
|
thiago_home
| yes, that's what I mean | 07:56 |
|
nex3
| How would I do that? | 07:56 |
|
ReinH
| eh? | 07:56 |
|
| the branch can be a remote | 07:56 |
|
| git log ..origin/master (for instance) | 07:57 |
|
| which is probably close to what you want | 07:57 |
|
nex3
| Okay, thanks | 07:57 |
|
Ilari
| nex3: 'git log A..origin/A', 'git log origin/A..A', 'git log A...origin/A'... First is in remote but not local, second is the reverse, and third is only in one. | 07:57 |
|
nex3
| Okay, great, thanks a lot | 07:58 |
| → janm joined | 07:58 |
| ← chrizz left | 07:59 |
|
ReinH
| Ilari: didn't know about ... :) | 07:59 |
| → pitra joined | 07:59 |
| ← pitra left | 08:00 |
|
Ilari
| ReinH: ... is the symmetric difference operator. | 08:03 |
| → robinr joined | 08:03 |
|
ReinH
| Ilari: I'm familiar with it in the context of Ranges, where it's exclusive | 08:04 |
|
| ie 1...4 => 1,2,3 | 08:04 |
|
| but that's it | 08:04 |
|
| good to know :D | 08:04 |
|
thiago_home
| remember that a branch isn't a single commit, but a list of them | 08:05 |
|
| so the .. and ... operators are differences | 08:05 |
|
ReinH
| right | 08:08 |
|
| well, a branch is a ref to a head :p | 08:08 |
|
| the head's graph forms the commit history | 08:08 |
|
| </stickler> | 08:08 |
| → chrizz joined | 08:10 |
| → tcoppi_ joined | 08:17 |
| ← tcoppi left | 08:18 |
| tcoppi_ → tcoppi | 08:20 |
| ← nkallen left | 08:24 |
| → z3om joined | 08:25 |
| → pietia joined | 08:28 |
| ← dsaxena left | 08:33 |
| → pergesu joined | 08:37 |
| ← zeom left | 08:42 |
| z3om → zeom | 08:42 |
| ← cmarcelo left | 08:44 |
| ← Sho_ left | 08:44 |
| wagle_ → wagle | 08:46 |
| ← bdowning_ left | 08:50 |
| → bdowning joined | 08:51 |
| → mahmoud2 joined | 08:55 |
| ← philc left | 09:14 |
| → adulteratedjedi joined | 09:14 |
| → philc joined | 09:14 |
| ← pietia left | 09:17 |
| → pietia joined | 09:18 |
| ← glguy left | 09:33 |
| ← janm left | 09:36 |
| ← rxKaffee left | 09:44 |
| → sverrej joined | 09:47 |
| ← da5id left | 09:49 |
| ← \ask_ left | 09:50 |
| → \ask_ joined | 09:54 |
| → Arme[N] joined | 09:54 |
| → leethal joined | 09:55 |
| ← \ask_ left | 10:00 |
| → d0k joined | 10:01 |
| → trochala joined | 10:08 |
| → lukass joined | 10:08 |
| → da5id joined | 10:14 |
| ← trochala left | 10:16 |
| → harinath joined | 10:29 |
| → dv_ joined | 10:31 |
|
dv_
| hello | 10:31 |
|
| I'm trying to use the git-diff-files functionality to transmit some changes to another pc | 10:32 |
|
| I did git-diff-files -p >my_patch | 10:32 |
|
| but now I wonder what to use for applying this patch on the other pc. patch -p 1 <./my_patch ? | 10:32 |
|
Mikachu
| you probably just want 'git diff' | 10:32 |
|
| and yeah, patch -p1 is the default patcehs git outputs | 10:33 |
|
dv_
| (invoked in the project root dir) | 10:33 |
|
| whats the difference between git diff and git-diff-files -p ? | 10:33 |
|
Mikachu
| i don't know, git diff-files is more of an internal command though | 10:33 |
| ← pietia left | 10:37 |
|
Ilari
| dv_: Maybe use 'git format-patch'? Or if the another PC has copy of the repository, 'git bundle'? And git produced diffs should be appiled using 'git apply', as it understands constructs like binary patching and file moves... | 10:40 |
|
| dv_: But patch should understand them if they don't use any advanced features of git diff format. | 10:41 |
| → janm joined | 10:41 |
|
dv_
| Ilari, thanks, apply and bundle were unknown to me | 10:41 |
|
| but the diff worked here nicely, because no advanced stuff was required | 10:42 |
|
| but in future I'll use these two | 10:42 |
| ← aunes left | 10:43 |
|
Ilari
| dv_: Bundle actually copies the commits themselves into the file it makes. Format-patch just exports description of the changes... | 10:43 |
| → aunes joined | 10:43 |
|
dv_
| Ilari, so suppose I did some commits on my laptop, | 10:43 |
|
| and in addition made changes to some files, added some files etc. but did NOT commit these changes | 10:44 |
|
| Bundle copies all this in a way for me to merge these local commits and changes with the repo I have on my pc? | 10:44 |
|
Mikachu
| no, you have to commit first | 10:44 |
|
| you can uncommit it after if you want | 10:44 |
|
Ilari
| dv_: And if the desktop runs SSH and has git installed, pushing over SSH could be much nicer. | 10:46 |
|
dv_
| what, git push ssh://login@ip is enough? | 10:48 |
|
| I've heard about this before, but I dont understand how this is supposed to work | 10:49 |
|
| .. wait. | 10:49 |
|
| git push ssh://login@ip/path/to/git/repo ? | 10:49 |
|
Ilari
| dv_: As test, what does 'ssh login@ip git --version' print. It should only say 'git version <something>'... | 10:49 |
| → chris2 joined | 10:50 |
|
Ilari
| dv_: Asking for password should be OK, but pretty much nothing else is... | 10:52 |
| ← fhobia left | 10:55 |
|
Ilari
| dv_: And if you have repository you often push to or fetch from, you should register a remote for it (git remote). | 10:56 |
|
jengelh
| well, git push ssh://xxx branchname | 10:58 |
|
| (as I don't want to push all) | 10:58 |
| ← aunes left | 10:58 |
|
Ilari
| And watch out if the remote repo has working copy associated. Pushing to branch that is checked out will screw the repo... | 10:59 |
|
dv_
| k | 11:01 |
|
Ilari
| It is possible to push to references that arent branches. Usually if one needs to push to repo with working tree (called non-bare), the stuff is pushed somewhere under refs/remotes | 11:02 |
| → philc_ joined | 11:13 |
| ← philc left | 11:15 |
| metze → metze_away | 11:24 |
| → d0k_ joined | 11:26 |
| → psst joined | 11:32 |
| ← d0k left | 11:35 |
| → Yuuhi joined | 11:35 |
| → harinat1 joined | 11:37 |
| ← da5id left | 11:37 |
| → priidu_ joined | 11:45 |
| → da5id joined | 11:50 |
| ← HG` left | 11:51 |
| ← harinath left | 11:55 |
| ← devogon left | 11:55 |
| → somnium_ joined | 12:03 |
| ← philc_ left | 12:04 |
| → philc joined | 12:04 |
| ← leethal left | 12:04 |
| → dv____ joined | 12:04 |
| ← dsop left | 12:06 |
| ← sverrej left | 12:18 |
| harinat1 → harinath | 12:20 |
| ← dv_ left | 12:21 |
|
cwillu
| where can I find docs on ignoring files in git? | 12:25 |
| → leethal joined | 12:26 |
|
context
| cwillu: man gitignore | 12:28 |
|
cwillu
| ya, just found it; didn't google very well :p | 12:28 |
|
| thanks | 12:29 |
| ← kanru left | 12:31 |
| → pdherbemont_ joined | 12:33 |
| → Sho_ joined | 12:34 |
| → bdiego joined | 12:41 |
| ← philc left | 12:58 |
| → philc joined | 12:59 |
| → destruct_ joined | 13:10 |
| → tjafk1 joined | 13:13 |
| ← destruct left | 13:20 |
| ← cwillu left | 13:21 |
|
halorgium
| can i filter the branches/tags pulled in by git-svn? | 13:23 |
|
| i'm importing the capistrano svn repo, but the branches dir has got the rails ones in there too :( | 13:24 |
| → kanru joined | 13:30 |
| destruct_ → destruct | 13:33 |
| → HG` joined | 13:39 |
| → pietia joined | 13:41 |
| ← bdiego left | 13:45 |
| ← panagos left | 13:48 |
| → drizzd joined | 13:49 |
| → kukks joined | 13:55 |
| → ruphy-lapdog joined | 14:01 |
| → sverrej joined | 14:06 |
| ← dooglus left | 14:11 |
| ← ruphy left | 14:18 |
| → rofrol joined | 14:19 |
| ← leethal left | 14:21 |
| ← da5id left | 14:26 |
| ← pdherbemont_ left | 14:28 |
| ruphy-lapdog → ruphy | 14:28 |
| → drizzd_ joined | 14:35 |
|
robtaylor
| cehteh: am now | 14:36 |
| → erikvee1 joined | 14:39 |
| ← drizzd left | 14:45 |
| → da5id joined | 14:46 |
| → madewokherd joined | 14:50 |
| ← erikvee1 left | 15:17 |
| ← SuttoL left | 15:19 |
| ← philc left | 15:23 |
| → philc joined | 15:23 |
| ← rofrol left | 15:25 |
| → harinat1 joined | 15:28 |
| ← harinath left | 15:29 |
| harinat1 → harinath | 15:29 |
|
psst
| how good is git at versioning binary files? | 15:30 |
|
Ilari
| psst: Depends on nature of those binary files. | 15:32 |
|
| psst: The files should be at most moderately sized, not compressed and not encrypted. | 15:32 |
| → lu_zero joined | 15:33 |
| → pikpus joined | 15:37 |
| ← pikpus left | 15:37 |
|
Ilari
| psst: In general, the file data should change only relatively little between versions. Compressed/encrypted files tend to change completely each time. | 15:39 |
|
psst
| makes sense | 15:40 |
|
| thank you | 15:41 |
| → a-priori joined | 15:41 |
|
Ilari
| psst: Internally git makes no distiction for text and binary files, but it is still aimed for source code. | 15:41 |
|
psst
| So it would work better on C source than on LaTeX documents, even though both are ascii? | 15:42 |
|
jengelh
| latex is also text :p | 15:42 |
|
psst
| but it isn't "source code" | 15:42 |
|
jengelh
| just use git, ok? :) | 15:42 |
|
Ilari
| psst: Isn't latex turing complete? And in sense, it is source code.. | 15:43 |
|
jengelh
| like html | 15:44 |
|
psst
| (the binaries I mentioned earlier are PDFs, PNGs, and some NeoOffice/MSOffice/iWorks docs) | 15:44 |
|
Ilari
| psst: at least PDFs and PNGs are compresed, altough it would be possible to decompress the PNGs. | 15:45 |
|
psst
| Ilari: ok - true. I wondered for a moment because I just watched Linus on Google Video saying how git could track a function being moved around files | 15:45 |
|
| s/around/between/ | 15:46 |
| ← a-priori left | 15:46 |
| ← sbeyer left | 15:47 |
| → trav_15 joined | 15:48 |
|
somnium_
| is someone here using git-cvsimport often?: | 15:50 |
| somnium_ → dsop | 15:50 |
|
dsop
| the problem is that i got duplicated commits when reimporting a commit i made from my git repository | 15:51 |
|
| i do a initial git-cvsimport than changes on master, after that i commit the change back into cvs using git-cvsexportcommit and then doing git-cvsimport again | 15:52 |
| → sean joined | 15:52 |
|
dsop
| and i then i have the same commit with two different sha1 on my master, the one i did myself and the one that was reimported from the cvs. | 15:53 |
|
sean
| is there an article somewhere that talks about branching/management methods with git? | 15:53 |
|
dsop
| i use the -k switch to avoid keywords.. | 15:53 |
| → sbeyer joined | 15:56 |
| ← FunkeeMonk left | 15:56 |
| ← trav_15 left | 16:03 |
| ← wildfire left | 16:04 |
| ← philc left | 16:07 |
|
Ilari
| dsop: You should probably rebase your topic branches to be up to date. Rebasing should notice the duplicate and skip the commit. | 16:07 |
| ← lukass left | 16:08 |
| → philc joined | 16:08 |
| ← Pistahh left | 16:08 |
| → Pistahh joined | 16:10 |
|
dsop
| Ilari: okay thanks, i'll try that | 16:13 |
| ← cousin_it left | 16:13 |
| → cousin_it joined | 16:15 |
| → toxx_ joined | 16:24 |
| → Morphous joined | 16:25 |
| → leethal joined | 16:28 |
| → artmi joined | 16:30 |
| → dvorak joined | 16:30 |
|
dvorak
| so I just started using git, and I used git-svn to import an existing project from svk. looking back, I now have git-svn-id in all of my old commit messages. any way to remove that? | 16:31 |
| ← lamont left | 16:32 |
|
vmiklos
| you don't plan to use git svn dcommit in the future? | 16:32 |
|
dvorak
| no | 16:32 |
|
vmiklos
| git filter-branch | 16:32 |
|
dvorak
| and I want to publish the repo, and I don't want the old urls in there, since it's for a private work repo | 16:32 |
| ← Amorphous left | 16:33 |
| Morphous → Amorphous | 16:33 |
| ← ruphy left | 16:40 |
|
vmiklos
| git filter-branch --commit-filter 'sed "/^git-svn-id:/d" |git commit-tree "$@"' should do the trick | 16:41 |
| ← sverrej left | 16:42 |
| → ruphy joined | 16:43 |
|
dvorak
| hrm, that gives me the usage info | 16:44 |
|
| ah, it needs a branch name to work on | 16:44 |
|
Pieter
| give it head | 16:45 |
|
dvorak
| I told it 'master' | 16:45 |
|
sbeyer
| hihi: file ....pack -> Quake I or II world or extension | 16:45 |
|
dvorak
| which seems to have worked | 16:45 |
|
vmiklos
| maybe you have a shightly older filter-branch :) | 16:45 |
| → lamont joined | 16:46 |
|
dvorak
| 1.5.3.7 | 16:46 |
|
vmiklos
| yup. i have 1.5.4. maybe that's because it was not necessary to specify HEAD here | 16:46 |
| ← priidu_ left | 16:47 |
| → priidu joined | 16:49 |
| ← orospakr left | 16:50 |
| ← priidu left | 16:50 |
| → orospakr joined | 16:50 |
|
sbeyer
| is there a way to do something like merge.no-commit = true in the .gitconfig? I mean, that a merge always behaves like having --no-commit? | 16:57 |
|
Ilari
| sbeyer: At least you can alias some command to behave like merge --no-commit... | 16:58 |
| → a-priori joined | 16:59 |
| ← philc left | 17:00 |
| → philc joined | 17:01 |
| → ebel joined | 17:02 |
| → Simoyd joined | 17:09 |
|
Simoyd
| where do I obtain git-svn? | 17:09 |
|
| I can't find it for the life of me | 17:09 |
|
Ilari
| Simoyd: It comes with git tarball... In package managers, it is often 'git-svn'. | 17:10 |
|
Simoyd
| oh darn... I'm running msysgit and it doesn't appear to be included with that | 17:10 |
| ← leethal left | 17:11 |
| → StatMan joined | 17:14 |
|
Simoyd
| what does "hack on Git" mean (I'm not sure if more context if required for that question or not) | 17:14 |
| StatMan → seba__ | 17:14 |
|
seba__
| hi | 17:15 |
|
| i used hg-fast-export.sh to import from mercurial, but now I can't see the files | 17:15 |
|
| and when I git status it says all files were deleted | 17:15 |
|
vmiklos
| git checkout -f? :) | 17:16 |
|
seba__
| thx man :) | 17:17 |
|
| i thopught the tool would do it :) | 17:17 |
|
| btw hg-fast-export is indeed the fastest tool i found around for hg -> git | 17:18 |
|
Ilari
| seba__: It is, because it uses git-fast-import for importing the repo, and it is fastest method for importing... | 17:18 |
|
cehteh
| hum i have a problem with submodules | 17:21 |
| ← moh left | 17:21 |
|
cehteh
| git clone git://git.pipapo.org/webgit webgit_test ... | 17:22 |
|
| remote: error: remote: unable to find 2026669cd... | 17:22 |
|
| 202666 is the gitlink for the submodule | 17:22 |
| ← PerlJam left | 17:25 |
| → PerlPilot joined | 17:25 |
|
robtaylor
| cehteh: hey, you pinged before? | 17:25 |
|
cehteh
| yeah ... but i have to fix this problem now first | 17:26 |
|
robtaylor
| cehteh: kk | 17:26 |
|
| robtaylor wonders if any git guys are at FOSDEM | 17:26 |
|
cehteh
| robtaylor: wondering if you have an idea how to hook in custom diff printing | 17:26 |
|
| $ git ls-tree 02579f592ff6724692f301f1eb1801b6642cadc8 | grep commit | 17:29 |
|
| 160000 commit 2026669cd415653cd221a7e1aa1a0162d2baa596 git | 17:29 |
|
| .. thats my submodule commit .. wtf does it call it 'misssing object' its obliviously a missing object since it is not a commit in this repository but a commit from another one | 17:30 |
|
robtaylor
| cehteh: sure, use GIT_EXTERNAL_DIFF | 17:30 |
|
cehteh
| robtaylor: libgit without forking | 17:30 |
|
robtaylor
| cehteh: oh, in that case, no .. | 17:31 |
|
doener
| robtaylor: IIRC someone gives a git talk for debian devs or sth. like that | 17:31 |
|
cehteh
| heh ... quote: | 17:32 |
|
| [18:28] <hermanr> Grievances from FOSDEM2008: It's too much going on at the same time, the ventilation is inadequate and the wireless is struggleing. | 17:32 |
|
robtaylor
| doener: yeah, 'packaging with git (or $DSCM)' | 17:32 |
|
| robtaylor has wireless =) | 17:32 |
|
| cehteh will be at LAC next week in colonge | 17:32 |
|
| doener will be at his desk, cleaning up &§$§$%§$ PHP code | 17:33 |
|
cehteh
| heh | 17:33 |
|
robtaylor
| doener: :( | 17:33 |
|
cehteh
| any ideas about my submodule problem .. i really dont know whats going on there | 17:34 |
|
robtaylor
| cehteh: submodules scare me | 17:34 |
|
| cehteh: they're heavily broken at the moment, imho | 17:35 |
|
cehteh
| looks like that | 17:35 |
|
Simoyd
| $ git-svn | 17:37 |
|
| Can't locate SVN/Core.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8 /u | 17:37 |
|
| sr/lib/perl5/5.8/cygwin /usr/lib/perl5/5.8 /usr/lib/perl5/site_perl/5.8/cygwin / | 17:37 |
|
| usr/lib/perl5/vendor_perl/5.8/cygwin /usr/lib/perl5/vendor_perl/5.8 .) at /usr/b | 17:37 |
|
| in/git-svn line 29. | 17:37 |
|
| what am I doing wrong? | 17:37 |
|
doener
| you need the svn perl bindings | 17:37 |
| ← sean left | 17:37 |
|
Illocution
| is there a way to continue a git-svn clone operation that halted halfway through? | 17:38 |
|
doener
| git svn fetch -- that should just continue fetching | 17:38 |
|
| clone is init + fetch | 17:38 |
|
Illocution
| hmm it's throwing an error | 17:39 |
|
| never mind, got it, duped line in .git/config for some reason | 17:39 |
|
| hooray, git-svn rocks my world | 17:39 |
|
Simoyd
| ok perl bindings installed for svn. now I'm getting this (sorry for spamming): | 17:40 |
|
| $ git-svn | 17:40 |
|
| 24 [main] perl 1632 C:\cygwin\bin\perl.exe: *** fatal error - unable to rem | 17:40 |
|
| ap C:\cygwin\lib\perl5\site_perl\5.8\cygwin\auto\SVN\_Core\_Core.dll to same add | 17:40 |
|
| ress as parent(0xB60000) != 0xCE0000 | 17:40 |
|
| 10 [main] perl 2296 fork: child 1632 - died waiting for dll loading, errno | 17:40 |
|
| 11 | 17:40 |
|
| 5156893 [main] perl 4172 C:\cygwin\bin\perl.exe: *** fatal error - unable to rem | 17:40 |
|
| ap C:\cygwin\bin\cygdb-4.2.dll to same address as parent(0xC10000) != 0xED0000 | 17:40 |
|
| any ideas? | 17:40 |
| → hacim joined | 17:41 |
|
doener
| Simoyd: there's http://git.pastebin.com/ | 17:41 |
|
| that would probably even keep it readable ;-) | 17:41 |
|
Simoyd
| right | 17:41 |
|
| my bad | 17:41 |
|
| tbh that's how it's showing up in the window anyways | 17:41 |
|
hacim
| i want to do a git-merge --squash on the changes that I have in my current master, i've only done git-merge --squash when I was in a different branch | 17:42 |
|
Simoyd
| http://git.pastebin.com/m1cd78740 < any ideas? | 17:42 |
|
hacim
| is there a way to squash commit in master, or do I need to create a branch just to do that? | 17:43 |
|
doener
| Simoyd: http://m2ward.blogspot.com/2006/10/ruby-on-cygwin-error-unable-to-remap_04.html | 17:44 |
| ← Eludias left | 17:44 |
|
doener
| google, first hit here ;-) | 17:44 |
|
| hacim: the last few commits? | 17:45 |
|
| hacim: git reset HEAD~5; git commit -- that should create a commit that's the result of squashing the last 5 (or 4?) commits | 17:46 |
|
Simoyd
| apparanylt my google skills suck :( | 17:46 |
|
doener
| replacing those commits, of course | 17:46 |
|
| Simoyd: :-) | 17:46 |
| ← cousin_it left | 17:46 |
| → bobesponja joined | 17:47 |
|
doener
| Simoyd: I used: cygwin "unable to remap", and because most hits were from 2004, I then added "2008" to it. | 17:47 |
| → cousin_it joined | 17:47 |
|
doener
| Simoyd: And that was pretty successful :-) | 17:47 |
|
Simoyd
| =D | 17:48 |
|
| thanks it appears to have worked | 17:48 |
|
robtaylor
| cehteh: for doing your own builtin diff, you'd have to hack up run_diff_cmd in diff.c | 17:48 |
|
cehteh
| robtaylor: yes well i could use the existing diff, but i thinking about adding a print_fn to diff_options | 17:49 |
|
| it not the diff whats bad, its the way that its hardcoded output is | 17:50 |
| ← sbeyer left | 17:55 |
|
Simoyd
| ok I give up again... | 18:00 |
|
| Internal error: REPORT request failed on '/svnroot/octgn/!svn/vcc/default': Can't find a temporary directory: Error string not specified yet at /usr/bin/git-svn line 3813 | 18:00 |
|
| that happens when I try to svn-clone | 18:01 |
|
| err | 18:01 |
|
| git-svn clone | 18:01 |
|
hacim
| doener: thanks | 18:02 |
|
| doener: i went too far back... how do I move forward? | 18:03 |
|
Ilari
| hacim: See 'git log -g', and then git reset to suitable entry and retry? | 18:07 |
|
doener
| Simoyd: that sounds like an error on the svn repo side | 18:10 |
|
Simoyd
| fuck | 18:10 |
|
| I mean darn | 18:10 |
|
doener
| too late, it's captured in the logs now ;-) | 18:10 |
|
| Simoyd hides | 18:10 |
| → knyttr joined | 18:10 |
|
hacim
| Ilari: heh, problem is I dont understand what git log -g is telling me to be able to know which one to switch to | 18:12 |
|
knyttr
| Hello, I've set up new git repository by git-init. I added new files by 'git add files'. Then I did git-commit and set the initial commit. But after making first changes and doing git-commit again, it says: error: Couldn't set refs/heads/master, fatal: cannot update HEAD ref. Google says nothing about it.. | 18:12 |
|
doener
| hacim: it tells you the recent commits that HEAD was pointing to | 18:12 |
| ← chris2 left | 18:13 |
|
Ilari
| hacim: HEAD@{0} is probably the commit, HEAD@{1} is the reset? | 18:13 |
| ← HG` left | 18:13 |
|
hacim
| got it, thanks | 18:13 |
| → HG` joined | 18:13 |
|
drizzd_
| Tv: I believe you told me a few days ago to point PATH to ~/src/git in order to test git. However, git.c changes PATH to whatever prefix was configured to in the build. So it's important to also set GIT_EXEC_DIR. | 18:15 |
|
| Just thought you'd like to know. I've spent some time until I finally figured that out. | 18:15 |
| ← jkp left | 18:20 |
|
Tv
| drizzd_: hey it was just a quick suggestion | 18:20 |
|
pdherbemont
| Tv: any chance to have a look at my gitosis patches? | 18:21 |
|
Tv
| pdherbemont: sort of busy for a while | 18:21 |
|
drizzd_
| I'm sorry if that sounded like an accusation. I didn't mean it like that. | 18:21 |
|
Tv
| pdherbemont: nothing gets lost but i just don't have the brain power available in the short term future | 18:21 |
|
pdherbemont
| Tv: oh. ok. Do you have any ETA for your return? | 18:22 |
|
Tv
| pdherbemont: i'm supposed to deliver one prototype by end of next week | 18:22 |
| ← Simoyd left | 18:22 |
|
Tv
| pdherbemont: hopefully things will ease off after that | 18:22 |
|
pdherbemont
| oki, cool. So no need to prepare a fork and such ;) | 18:23 |
|
jengelh
| gitk output is funny with --no-merges :) | 18:26 |
| → kevwil joined | 18:27 |
| ← hadronzoo left | 18:31 |
| → hadronzoo joined | 18:31 |
| ← artmi left | 18:37 |
| ← a-priori left | 18:38 |
| → artmi joined | 18:42 |
|
Tv
| pdherbemont: replied | 18:43 |
| ← pietia left | 18:43 |
| → nkallen joined | 18:48 |
| ← hadronzoo left | 18:52 |
| → hadronzoo joined | 18:53 |
| ← hadronzoo left | 18:53 |
| ← philc left | 18:58 |
| ← captnmark left | 18:59 |
| → philc joined | 18:59 |
| → captnmark joined | 19:00 |
| ← Helios left | 19:01 |
| → Helios_ joined | 19:01 |
| ← kevwil left | 19:01 |
| ← knyttr left | 19:03 |
| → loops_ joined | 19:07 |
| ← loops left | 19:08 |
| ← loops_ left | 19:08 |
| → loops joined | 19:08 |
| → a-priori joined | 19:09 |
| → kahmalo joined | 19:12 |
|
kahmalo
| Is the structure of .git/rr-cache documented somewhere? Not in <http://www.kernel.org/pub/software/scm/git/docs/repository-layout.html>. | 19:12 |
|
| Also, is there some convenient way to get a resolved conflict recorded there when I've already committed the merge but not pushed it? | 19:14 |
|
| I resorted to undoing the merge with git reset --hard, redoing it, checking out the conflicted files from the previous resolution, and committing again. | 19:15 |
| ← a-priori left | 19:16 |
|
Mikachu
| resolved commits will be recorded automatically when rerere is enabled | 19:16 |
|
kahmalo
| Yes but it was not yet enabled when I committed. | 19:16 |
|
pdherbemont
| Tv: thanks, me too :) | 19:16 |
|
kahmalo
| hmh, perhaps git commit --amend would have sufficed? | 19:17 |
|
Mikachu
| where would it get the pre-resolution image from then? | 19:18 |
| → StatMan joined | 19:18 |
|
kahmalo
| I don't know. Where does it get it now? | 19:18 |
| ← StatMan left | 19:19 |
|
kahmalo
| In fact git commit --amend does not suffice. | 19:20 |
|
| It created an empty .git/rr-cache/MERGE_RR file though, what is the purpose of this? | 19:20 |
| → hadronzoo joined | 19:21 |
| ← hadronzoo left | 19:22 |
| ← philc left | 19:24 |
| → philc joined | 19:24 |
| → GyrosGeier joined | 19:28 |
| ← loops left | 19:29 |
| → docelic joined | 19:29 |
| → loops joined | 19:29 |
|
kahmalo
| With git-new-workdir and git gc, I got plenty of warnings about missing commits in the reflog of HEAD. Because .git/logs/HEAD is in each working directory and gc does not see it. | 19:30 |
|
| So now I created ~/src/elinks.git/logs/HEAD as a directory and made ~/src/elinks-0.13/.git/logs/HEAD a symlink to ../../../elinks.git/logs/HEAD/elinks-0.13. Does that seem a good idea? | 19:31 |
|
| Likewise for the other workdirs. | 19:31 |
| ← seba__ left | 19:31 |
|
| vmiklos wonders why having multiple workdirs is a good idea | 19:32 |
|
kahmalo
| To reduce compilation times | 19:32 |
|
| and I am using ccache as well | 19:32 |
|
vmiklos
| ccache does the same here alone :) | 19:32 |
|
kahmalo
| also autoconf times | 19:33 |
| → pflanze joined | 19:33 |
|
vmiklos
| autoconf itself isn't that slow, other autotools are :) | 19:33 |
|
kahmalo
| elinks is using autoconf and aclocal but not the rest of automake. | 19:34 |
|
pflanze
| Hello. Is one of the gitweb authors here? I'm considering implementing some things. | 19:34 |
|
jengelh
| you can even implement something when they are not here ;-) | 19:36 |
|
vmiklos
| or just ask on the mailing list | 19:38 |
| → nex3` joined | 19:41 |
| ← dash__ left | 19:42 |
| → tongueroo joined | 19:42 |
| → dsaxena joined | 19:43 |
| ← tongueroo left | 19:44 |
| ← docelic left | 19:45 |
| ← arun left | 19:49 |
| ← lamont left | 19:55 |
| → lamont joined | 19:56 |
| ← nex3 left | 19:56 |
| → arun joined | 19:58 |
| → priidu_ joined | 19:59 |
| → larus joined | 20:01 |
| ← larus left | 20:02 |
| ← harinath left | 20:04 |
| → mithro joined | 20:05 |
| → pietia joined | 20:07 |
| ← nkallen left | 20:18 |
| ← dv____ left | 20:21 |
| ← pietia left | 20:25 |
| → \ask_ joined | 20:33 |
| ← mithro left | 20:34 |
| → gebi_ joined | 20:40 |
| → SuttoL joined | 20:43 |
| ← loops left | 20:46 |
| → technoweeni joined | 20:48 |
| technoweeni → technoweenie | 20:49 |
| ← gebi left | 20:52 |
| ← \ask_ left | 20:55 |
| → nkallen joined | 20:56 |
| → moh joined | 20:56 |
| → pietia joined | 20:59 |
| → loops joined | 21:00 |
| ← philc left | 21:01 |
| ← SuttoL left | 21:01 |
| → philc joined | 21:02 |
| nex3` → nex3 | 21:03 |
| → a-priori joined | 21:08 |
| ← BartVB left | 21:11 |
| ← gebi_ left | 21:17 |
| ← a-priori left | 21:20 |
| → a-priori joined | 21:22 |
| ← Eridius left | 21:23 |
| → gebi joined | 21:37 |
| ← philc left | 21:43 |
| → philc joined | 21:44 |
| → Eridius joined | 21:48 |
| → tarbo_ joined | 21:50 |
| Helios_ → Helios | 21:54 |
| → pedro__ joined | 21:55 |
| ← dsaxena left | 21:58 |
| ← tarbo left | 22:01 |
| ← a-priori left | 22:02 |
| → a-priori joined | 22:05 |
| ← pergesu left | 22:06 |
| → aunes joined | 22:08 |
| → baffled joined | 22:08 |
| → ebel_ joined | 22:09 |
|
baffled
| Could someone explain exactly I need to provide to get the post-receive-email scrip working? | 22:09 |
|
| So far I've added hooks.mailinglist and hooks.prefix but now I'm getting some about a description not being found. | 22:11 |
| ← csc` left | 22:13 |
| ← ebel left | 22:15 |
| ebel_ → ebel | 22:15 |
| → csc` joined | 22:17 |
|
drizzd_
| baffled: try adding a file named 'description' to your repository root directory. | 22:24 |
|
baffled
| drizzd, should it have anything in it or just a zero length file? | 22:25 |
|
drizzd_
| baffled: whatever you put in there will be prefixed to the generated email subject | 22:26 |
|
| It's supposed to be a general project description. Maybe just a name would be good. | 22:26 |
|
| Only the first line will be used, so if you want a more detailed description (for gitweb, for example), just use the remaining lines like you would for a commit message. | 22:26 |
| ← ruphy left | 22:27 |
|
baffled
| Okay I'll try that thank you. | 22:27 |
| → ruphy joined | 22:29 |
| → hadronzoo joined | 22:30 |
| ← HG` left | 22:31 |
| ← ruphy left | 22:34 |
| ← d0k_ left | 22:34 |
| → ruphy joined | 22:34 |
| → drizzd joined | 22:35 |
|
baffled
| Send it to my home address. | 22:36 |
| → jeffwheeler joined | 22:37 |
|
jeffwheeler
| If I use git rm filename, is there anyway to undo that by bringing the file back from the previous commit? Currently, I've been committing the deletion and then just reverting it, but I suspect there's a better way. | 22:38 |
| ← baffled left | 22:38 |
|
kahmalo
| you could use git checkout HEAD filename I think | 22:39 |
|
Eridius
| you'd probably have to git reset the filename first, no? | 22:39 |
|
jeffwheeler
| Hmm, I'm not sure; let me try. | 22:39 |
| ← tmokros left | 22:40 |
|
Mikachu
| i would recommend git checkout HEAD^ -- filename | 22:40 |
|
jeffwheeler
| (what's funny is that I just deleted the same directory three times in a row, and then each time had to go through the same process) | 22:40 |
| ← ruphy left | 22:40 |
|
Mikachu
| jeffwheeler: maybe you wanted git rm --cached filename ? | 22:40 |
|
| to remove from git but leave the files | 22:40 |
|
jeffwheeler
| Mikachu: no I actually _did_ want to delete the directory, just not the one I did ;) | 22:41 |
|
| Mikachu does the famous read-only-the-last-three-lines maneuver | 22:41 |
|
Mikachu
| oh i see, there were only 3 lines to read :) | 22:41 |
|
jeffwheeler
| checkout from HEAD worked well | 22:42 |
|
| thanks, everybody :) | 22:42 |
|
Mikachu
| so you didn't commit yet then | 22:42 |
|
jeffwheeler
| I had been committing just to get rid of them, but I hadn't committed on accident. | 22:42 |
|
| I just kept deleting the wrong files and wanting to bring them back .... silly me. | 22:43 |
|
doener
| Mikachu: he noticed his error before the commit, but then comitted to be able to revert | 22:43 |
| ← philc left | 22:43 |
|
Mikachu
| i was thrown off by "from the previous commit" | 22:44 |
|
| ah, now i see | 22:44 |
|
| literally 'git revert' | 22:44 |
| → philc joined | 22:44 |
|
doener
| yeah | 22:44 |
|
| guess I implicitly parsed "previous" as "most recent" there | 22:44 |
|
jeffwheeler
| oh, ha; git is intelligent in recognizing moved files now | 22:45 |
|
Mikachu
| since a while i think :) | 22:45 |
|
| thiago_home wants it to detect copied files too | 22:45 |
|
Mikachu
| does that since a while too | 22:45 |
| ← drizzd_ left | 22:45 |
|
jeffwheeler
| oh; I don't do much beyond simple commits and pushes | 22:45 |
| ← a-priori left | 22:46 |
|
Mikachu
| maybe you want to git config --global diff.renames copy | 22:46 |
|
| it will make diff -C the default iiuc | 22:46 |
|
thiago_home
| Mikachu: not very well | 22:46 |
|
Mikachu
| it depends on how much you change the file in the same commit of course | 22:47 |
|
thiago_home
| no change | 22:47 |
|
doener
| thiago_home: you might need to pass -C -C if you didn't modify the source in the same commit | 22:47 |
|
| by default, git only considers changed files, because that's a lot cheaper | 22:47 |
|
thiago_home
| interesting... | 22:47 |
|
| thiago_home thought that intact files would be easier to find because they have the same SHA-1 | 22:48 |
|
Mikachu
| that sounds really illogical | 22:48 |
|
jeffwheeler
| I had the same thoughts about renamed files -- they'd be easy to recognize because of the SHA-1. | 22:48 |
|
doener
| well, there's more than just the SHA-1, it also tries to detect copies that _did_ change the file | 22:48 |
|
| you get something like "copy, similarity 95%" | 22:49 |
|
Mikachu
| i would think the exactly similar files would be trivialer to detect | 22:49 |
|
doener
| and git can then also give you a diff of what you changed in the copy | 22:49 |
|
jeffwheeler
| funky; anyways, git now tells me I copied a file that no longer exists (a blank one, __init__.py) to make this new __init__.py in another place; hehe | 22:50 |
|
| thiago_home always forgets the --follow option | 22:50 |
|
doener
| maybe unchanged copy detection might be a welcome addition, never checked the code for that | 22:50 |
|
cehteh
| mhm .. now i borked my submodule problem repo completely :P | 22:50 |
| ← technoweenie left | 22:55 |
| ← drizzd left | 23:10 |
| → adante_ joined | 23:15 |
| → sbeyer joined | 23:22 |
| ← mahmoud2 left | 23:23 |
| → dsaxena joined | 23:23 |
| ← philc left | 23:24 |
| → philc joined | 23:24 |
| ← nkallen left | 23:27 |
| ← adante left | 23:31 |
| adante_ → adante | 23:31 |
| → nkallen joined | 23:36 |
| → ebel_ joined | 23:39 |
| → timocratic_ joined | 23:46 |
| → leethal joined | 23:47 |
| → Psiclonik joined | 23:49 |
| ← priidu_ left | 23:49 |
| → jerbear joined | 23:52 |
| ← ebel left | 23:56 |