| 2013-06-09 |
| ← laissez-f left | 00:00 |
| ← mmlac left | 00:00 |
| ← conan left | 00:00 |
| → ktosiek joined | 00:00 |
| ← knite left | 00:01 |
| → Balliad joined | 00:03 |
| ← fridim_ left | 00:03 |
| ← pierre1 left | 00:05 |
| ← infogulch left | 00:06 |
| ← DonRichie left | 00:06 |
| → DonRichie joined | 00:07 |
| ← nicedice left | 00:07 |
| → m0ltar joined | 00:08 |
| → infogulch joined | 00:09 |
|
alfplayer
| Hello. What can I use to keep a couple of images out of a repo? I see many possible solutions and I don't know where to start. | 00:09 |
| ← skfax left | 00:10 |
| → wrouesnel joined | 00:11 |
| ← rangle left | 00:11 |
| ← chris2 left | 00:12 |
| → rickruby joined | 00:14 |
|
offby1
| alfplayer: how about not adding them in the first place? | 00:14 |
| → snearch joined | 00:14 |
| → chris2 joined | 00:14 |
|
alfplayer
| offby1: Yes, but some tracking may be good. | 00:15 |
| ← devoldmx left | 00:15 |
| → devoldmx joined | 00:15 |
| ← wrouesnel left | 00:15 |
|
alfplayer
| It can be useful to tell contributors when they are updated. | 00:15 |
| → wrouesnel joined | 00:16 |
|
offby1
| well, as far as I know, "tracking" requires that they be present in the repository. It's pretty much all or nothing. | 00:16 |
|
| unless ... | 00:16 |
|
| you use something like ... uh ... Joey Hess' thing for storing ginormous files in git | 00:16 |
|
| whose name escapes me | 00:16 |
|
alfplayer
| You mean git-annex, but it seems overkill. | 00:16 |
|
offby1
| ya | 00:17 |
|
| only thing I can think of. | 00:17 |
|
alfplayer
| I see things like git-media and git-fat. | 00:18 |
|
| Or any kind of subproject. | 00:18 |
|
| But how do I choose? | 00:18 |
| ← rickruby left | 00:18 |
| ← kfogel left | 00:19 |
|
offby1
| no idea. | 00:19 |
| ← Noldorin left | 00:20 |
| → GarethAdams joined | 00:20 |
| ← asteros left | 00:21 |
| → SuperrMann joined | 00:23 |
| → rangle joined | 00:23 |
|
orion_
| . | 00:23 |
| ← orion_ left | 00:23 |
| → JaredMiller joined | 00:24 |
| ← rangle left | 00:24 |
| → mmlac joined | 00:24 |
| ← arand left | 00:28 |
| ← etcetera left | 00:29 |
| ← Balliad left | 00:30 |
| ← momomomomo_ left | 00:30 |
| ← wrouesnel left | 00:31 |
| ← BJfreeman left | 00:31 |
| ← kenperkins left | 00:32 |
| → _BJfreeman joined | 00:32 |
| → tmcmahon joined | 00:33 |
| _BJfreeman → BJfreeman | 00:33 |
|
bremner
| !media | 00:34 |
|
gitinfo
| [!annex] git-annex and git-media are two solutions to the !binary problem. They work by keeping the blobs outside of the repo, storing a reference to the blob in the repo instead. See http://git-annex.branchable.com/ and https://github.com/schacon/git-media | 00:34 |
|
bremner
| !binary | 00:34 |
|
gitinfo
| Storing binary files in git causes repo balloon, because they do not compress/diff well. In other words, each time you change a file the repo will grow by the size of the file. See !annex for some solutions | 00:34 |
| ← Dougie187 left | 00:34 |
|
alfplayer
| Not any subproject solution? | 00:34 |
| → kenperkins joined | 00:35 |
|
bremner
| what do you mean? | 00:35 |
|
alfplayer
| I'd like to avoid cloning old binaries. | 00:36 |
|
| E.g. I see someone in the web is suggesting submodules. | 00:36 |
| ← chamunks left | 00:36 |
|
bremner
| how would that help? | 00:36 |
|
CareBear\
| !blog | 00:37 |
|
gitinfo
| Blog posts, while helpful and informative, are quite often outdated, give bad advice, or are just plain wrong. Please don't rely solely upon them, or treat them as authoritative. | 00:37 |
|
alfplayer
| To optionally avoid checking out the binaries? | 00:37 |
|
| The recommendation about submodules is from http://programmers.stackexchange.com/a/81299 | 00:38 |
|
cmn
| that won't stop you from having to download older binaries | 00:39 |
|
| if you don't want to check them into version control, then you'll download them; if you don't, git-annex will give you some level of tracking while not making you download them | 00:39 |
| ← dougsland left | 00:39 |
| ← GarethAdams left | 00:40 |
|
cmn
| erm, s/if you don't/if you do/ | 00:40 |
|
alfplayer
| That would force contributors to use git annex? Maybe it can be avoided? | 00:41 |
| → tjbiddle_ joined | 00:41 |
|
cmn
| by checking in files into git | 00:41 |
| → chamunks joined | 00:41 |
|
alfplayer
| It's not in my distro's repos. | 00:42 |
|
| Is it worthy to look at git-media? | 00:42 |
| ← tjbiddle left | 00:43 |
| tjbiddle_ → tjbiddle | 00:43 |
|
cmn
| not according to you | 00:43 |
|
alfplayer
| Oh, ok. | 00:43 |
|
| It's not in the repos either, if that's what you mean. | 00:43 |
| ← jcao219_ left | 00:45 |
| → tjbiddle_ joined | 00:46 |
| ← tjbiddle left | 00:47 |
| tjbiddle_ → tjbiddle | 00:47 |
| → CodeShark joined | 00:47 |
| ← tg left | 00:50 |
| ← JaredMiller left | 00:51 |
| ← snearch left | 00:51 |
| ← pastime left | 00:52 |
| → Nicholas_Rishel joined | 00:53 |
| → DOCRukuss joined | 00:53 |
| ← infogulch left | 00:54 |
| → bartek joined | 00:54 |
| ← SuperrMann left | 00:56 |
| → R1KRDO joined | 00:56 |
| ← R1KRDO left | 00:57 |
| ← Nicholas_Rishel left | 00:59 |
| ← martijnHH left | 00:59 |
| → vitor__ joined | 01:00 |
| ← D9 left | 01:01 |
| → tg joined | 01:03 |
| ← tg left | 01:03 |
| → tg joined | 01:03 |
| → ellio joined | 01:03 |
|
ellio
| Is there a way to add an entry to the reflog by hand, or something like that? | 01:03 |
| ← vitor_ left | 01:04 |
|
ellio
| I'm still a complete reflog noob. But I just made some rather hardcore, dangerous, sweeping changes to my repository … and right now, the *old* heads (before all the changes) of the three branches that got changed thoroughly, are still on my remote. But I'm about to force-push over that, as well, and I'm kinda hoping for a way to record those old three | 01:04 |
|
| heads for posterity in my reflog, incase I realize a week down the road that I'd screwed this up subtly. | 01:04 |
| → kcj joined | 01:05 |
|
alfplayer
| They are a very small amount of binaries for now, so I think I'll try to avoid tracking them in the project's repo for now. | 01:05 |
| → lamarus joined | 01:05 |
|
alfplayer
| Thanks for the help. | 01:05 |
| → fridim_ joined | 01:06 |
| → pastime joined | 01:07 |
| → Vampire0_ joined | 01:07 |
| ← PaulCapestany left | 01:09 |
| ← spaceonline left | 01:09 |
| ← Vampire0 left | 01:10 |
| → douglaslassance joined | 01:11 |
| → dougsland joined | 01:14 |
| ← ntus1017 left | 01:16 |
| → asteros joined | 01:17 |
| ← tadasZ left | 01:17 |
|
offby1
| ellio: I've never heard of hacking a reflog by hand; that's sorta against the idea of the reflog. | 01:19 |
|
| Its purpose is to record the values that various refs have taken on at various times. | 01:19 |
| → huoxito joined | 01:19 |
|
offby1
| if you're worried about certain commits becoming unreachable, just tag 'em | 01:20 |
| ← pastime left | 01:20 |
| → drewery joined | 01:21 |
|
drewery
| Hello Everyone | 01:21 |
|
| I have a question. | 01:21 |
| → PaulCapestany joined | 01:21 |
|
drewery
| How can I get git ignore a folder and it is subfolders. | 01:21 |
| → JaredMiller joined | 01:21 |
|
drewery
| ? | 01:21 |
|
| There is one upload folder that also creates subfolders by date. I want to get GIT ignore the folder and any addtional subfolder may be created in the future. | 01:22 |
|
| Is there a way to do that? | 01:22 |
|
| Thanks in advance.. | 01:23 |
| ← tmcmahon left | 01:23 |
|
offby1
| drewery: I think you just put the folder's name into .gitignore | 01:25 |
|
Mamoru
| drewery: add folder/* to .gitignore | 01:25 |
|
drewery
| ok my gitignore has * and !.gitignore lines | 01:25 |
|
Mamoru
| Just add a new line | 01:26 |
|
drewery
| so I would only add folder/* | 01:26 |
|
| ok thanks Mamoru ! | 01:26 |
|
| and thanks offby1 as well | 01:26 |
|
Mamoru
| yes, folder being the name of the folder with the subfolders you want to hide ;) | 01:26 |
|
| You're welcome | 01:26 |
|
drewery
| oh Mamoru here is the thing | 01:26 |
| ← BJfreeman left | 01:27 |
|
Mamoru
| the * will make sure all subfolders are automatically ignored | 01:27 |
|
drewery
| this is an upload folder and it creates new subfolders with different names every month | 01:27 |
|
Mamoru
| ^ | 01:27 |
| → LuxuryMode joined | 01:27 |
|
drewery
| is there a way to tell git to ignore all the folders with anyname should be ignored | 01:27 |
|
Mamoru
| */anyname/* | 01:28 |
|
drewery
| :) | 01:28 |
|
| ok I will try */* | 01:28 |
|
kpreid
| erm, | 01:28 |
|
Mamoru
| */*will ignore everything! | 01:28 |
|
kpreid
| if you have one folder 'folder' in the root of your repos then all you need to do is put '/folder' in the gitignore | 01:28 |
|
| that will ignore all its contents | 01:29 |
|
| (leading / because gitignore is recursive by default) | 01:29 |
|
Mamoru
| oh, right, the * is optional | 01:29 |
| → intripoon joined | 01:29 |
|
Mamoru
| you can add cache/* if you do want the cache folder to be in the repo but not its contents | 01:30 |
|
kpreid
| no, git does not track folders themselves. that makes no difference | 01:30 |
|
Mamoru
| no? | 01:31 |
|
drewery
| awesome... double checking : if the folder is under 'folder1/folder2/folder3/' and the location of the .gitignore being under folder3 I would type 'folder1/folder2/folder3/' and leave it like that | 01:31 |
|
| correct? | 01:31 |
| → arand joined | 01:31 |
|
kpreid
| drewery: no, /folder1/folder2/folder3/ | 01:31 |
|
drewery
| right! thanks for the correction | 01:32 |
|
Mamoru
| Hmm.. I'm sorry.. I seem to be confused. My mistake. Please listen to what kpreid says instead ;) | 01:32 |
| ← breck7 left | 01:32 |
| ← intripoon_ left | 01:33 |
|
drewery
| Mamoru: I think you also had a logical approach thinking that only files are being tracked not folders, so thank you for your effort as well | 01:33 |
|
| and thanks kpreid | 01:33 |
| → bitkiller_ joined | 01:34 |
|
Mamoru
| Actually, I was mixing up different version control systems.. There are way too many out there :| | 01:35 |
| → jalmeida joined | 01:35 |
| ← JaredMiller left | 01:36 |
| douglaslassance → Asterokid | 01:37 |
| ← jalmeida left | 01:37 |
| → BiggFREE joined | 01:37 |
| → jalmeida joined | 01:37 |
|
bremner
| there is only one. | 01:37 |
| → pierre1 joined | 01:37 |
|
bremner
| the rest are illusions. | 01:37 |
| ← asteros left | 01:37 |
| ← lifelike left | 01:38 |
| → asteros joined | 01:38 |
| → nbouscal joined | 01:40 |
| ← asteros left | 01:41 |
| → erkules joined | 01:41 |
| ← bitkiller left | 01:42 |
| bitkiller_ → bitkiller | 01:42 |
|
Mamoru
| Currently, I (have to) use cvs, svn, bzr, hg and git | 01:43 |
|
drewery
| yeah, if you have different projects being thrown at you | 01:43 |
| ← Cykey left | 01:43 |
| ← erkules_ left | 01:44 |
|
drewery
| I got this project with SVN and I had no idea. GIT has been the only thing I showed an effort to learn and still learning and extremely happy about it. Since I didn't use any other I have no judgement of comparison however. | 01:44 |
|
Mamoru
| I'm not even bothering to mention Dropbox and M$ Team Foundation Server as 'version control systems' | 01:45 |
|
drewery
| oh, I use dropbox but for simple tasks and didn't know that it has version control stuff with it | 01:46 |
| → tjbiddle_ joined | 01:46 |
|
Mamoru
| up to 15 or 30 days iirc | 01:46 |
|
| on a free account | 01:46 |
| ← Merwin_ left | 01:46 |
|
Mamoru
| mergin is a nightmare.. xD | 01:46 |
|
drewery
| by the way do I have to stage the .gitignore file for it to be effective? | 01:46 |
| → breck7 joined | 01:47 |
| → Merwin_ joined | 01:47 |
|
drewery
| I used absolute path, server root path, git initiated root path but this doesn't seem to work for me | 01:47 |
|
Mamoru
| It's my illusion that you should | 01:47 |
| ← m0ltar left | 01:47 |
|
drewery
| I also used touch to create a test.file file | 01:47 |
|
| just to see if the file will disappear from git status list | 01:48 |
|
| I am getting no results so far | 01:48 |
|
| I must be doing something wrong | 01:48 |
| ← tjbiddle left | 01:48 |
| ← LuxuryMode left | 01:50 |
|
drewery
| ok ok ok problem solved | 01:51 |
|
| I deleted everything and just typed * | 01:51 |
|
| and all the subfolders together with the test file I created disappeared from the untracked files list | 01:52 |
| ← tjbiddle_ left | 01:52 |
|
drewery
| that was easy! (not when you don't know it ! ) | 01:52 |
|
Mamoru
| well.. * ignores everything | 01:52 |
| ← nbouscal left | 01:53 |
| → trusktr joined | 01:53 |
|
drewery
| Mamoru: My mistake was I was assuming it only ignores files even I use unix and knew the command... oh well, I think I am working too much lately | 01:54 |
| → tjbiddle joined | 01:54 |
|
Mamoru
| hmm | 01:55 |
|
| Now I'm not so sure I should even answer questions anymore :p | 01:55 |
|
| Its almst 4 am | 01:55 |
|
| Maybe I should sleep :p | 01:55 |
| → dhruvasagar joined | 01:56 |
| → noxd joined | 01:56 |
| ← Merwin_ left | 01:56 |
| → Merwin_ joined | 01:57 |
|
drewery
| You should be somewhere between england and greece :P | 01:59 |
| → LuxuryMode joined | 01:59 |
| → tjbiddle_ joined | 02:01 |
| ← tallest_red left | 02:01 |
|
drewery
| Also just found out that if I am working in a folder that is ignored and I call git to stage changes (that even has nothing to do with ignore folder) it refuses to stage stuff. I get out of the ignored folder and it works just fine... interesting.. | 02:01 |
| ← tjbiddle left | 02:01 |
| tjbiddle_ → tjbiddle | 02:01 |
| → chrisshattuck joined | 02:04 |
| ← chrisshattuck left | 02:04 |
| → tallest_red joined | 02:05 |
| → asteros joined | 02:05 |
| ← Markvilla left | 02:08 |
| → luc_ joined | 02:09 |
| ← vitor__ left | 02:12 |
| → hello798 joined | 02:12 |
| → vitor__ joined | 02:13 |
| → angelsl joined | 02:13 |
| → Cykey joined | 02:16 |
| ← CodeShark left | 02:16 |
| → CodeShark joined | 02:18 |
| → jaequery joined | 02:24 |
| ← DonRichie left | 02:25 |
| ← breck7 left | 02:25 |
| ← devoldmx left | 02:27 |
| ← dhruvasagar left | 02:27 |
|
ELLIOTTCABLE
| I have a rather unique problem: | 02:32 |
|
| I need to copy the *metadata* from one commit, to one I'm about to make. | 02:32 |
|
| Or, more accurately: I need to split somebody else's commit in two, in the middle of an interactive-rebase ... but I need the second commit *as well as the first* to retain his authorship information (most notably date, although his name should be retained as well) | 02:32 |
| ← LuxuryMode left | 02:32 |
|
ELLIOTTCABLE
| basically: in the history, it should look like he made two commits at the time he made the original commit, after I'm done with my splitting | 02:33 |
|
| how do? :D | 02:33 |
| → LuxuryMode joined | 02:34 |
| ← vitor__ left | 02:34 |
| → vitor__ joined | 02:35 |
| → devoldmx joined | 02:36 |
| → leeN joined | 02:36 |
| → dhruvasagar joined | 02:36 |
| → Jahm joined | 02:37 |
| ← setmeaway2 left | 02:37 |
| → btree joined | 02:37 |
|
offby1
| first, unstick your caps lock key | 02:38 |
|
| anyway, git-commit has a pile of options for snagging metadata from one commit to the new one | 02:38 |
|
| -C gets a log message, e.g. | 02:39 |
| ← btree left | 02:39 |
|
offby1
| you can set --author and --date "by hand" | 02:39 |
|
| Not sure there's anything else | 02:39 |
| ← plumpkin left | 02:39 |
| ← aard left | 02:39 |
| ← chamunks left | 02:39 |
| → tubbo joined | 02:40 |
| → chamunks joined | 02:40 |
| ← Dave^| left | 02:42 |
| ← lamarus left | 02:43 |
| ← noxd left | 02:44 |
| → mechanicalduck joined | 02:47 |
| ← phipes left | 02:48 |
|
ELLIOTTCABLE
| hm, has to be by hand | 02:49 |
|
| was afraid of that. Ended up already doing that, anyway, but feels like there'd be a better way to do that. | 02:49 |
| ← dhruvasagar left | 02:50 |
| ← chamunks left | 02:56 |
| → chamunks joined | 02:56 |
| ← Davey left | 02:59 |
| ← lacrymology left | 03:00 |
| ← leeN left | 03:01 |
|
offby1
| I can't think of any fundamentally different way. | 03:01 |
|
tubbo
| hey guys | 03:02 |
|
| when i push to my git remote, am i using `git-shell` interactively? | 03:02 |
|
| (like, is that how git is transferring files between my machine and the remote host?) | 03:03 |
| → phipes joined | 03:03 |
| ← Alz_ left | 03:04 |
| ← donmichelangelo left | 03:04 |
| → donmichelangelo joined | 03:05 |
| → mrballcb joined | 03:05 |
| → dhruvasagar joined | 03:05 |
| → preflex_ joined | 03:06 |
| ← duthils left | 03:07 |
| ← preflex left | 03:07 |
| preflex_ → preflex | 03:07 |
| ← chamunks left | 03:09 |
| → kfogel joined | 03:09 |
| ← drewery left | 03:10 |
| → chamunks joined | 03:10 |
| → leeN joined | 03:11 |
| → Davey joined | 03:12 |
| ← TomyLobo left | 03:13 |
|
offby1
| no, you aren't | 03:14 |
|
| not even sure what git-shell is, actually. | 03:14 |
|
| hm, maybe you are, indirectly. | 03:14 |
|
| I've been using git for years and never think about git-shell (as you can see I wasn't even aware of what it was) | 03:15 |
|
| that doesn't mean you're not using it though. | 03:15 |
| ← fluxdude left | 03:17 |
| ← freestyl3r left | 03:17 |
| ← dhruvasagar left | 03:17 |
| ← hellopat_ left | 03:19 |
| ← devoldmx left | 03:19 |
| → mribeirodantas joined | 03:19 |
| → simesy joined | 03:20 |
| → devoldmx joined | 03:20 |
| → Runeg joined | 03:20 |
| ← troyt left | 03:22 |
| ← LuxuryMode left | 03:23 |
| ← jaequery left | 03:24 |
| ← simesy left | 03:24 |
| ← Cykey left | 03:26 |
|
tubbo
| yeah me neither | 03:26 |
|
| there also doesn't seem to be many docs related to it | 03:26 |
|
offby1
| just outta curiosity: why do you ask? | 03:27 |
| ← thiago left | 03:28 |
| ← mmlac left | 03:28 |
| → weiyang joined | 03:28 |
|
tubbo
| offby1: i'm trying to build something that sits between git-shell and the client, that will authenticate users based on the given SSH private key to my database of users | 03:29 |
|
| sorta like gitolite except without requiring me to update its list of known keys | 03:29 |
|
| instead, i'll make a database call (well, an HTTP request..) | 03:29 |
|
offby1
| yow | 03:29 |
| → simesy joined | 03:29 |
| ← simesy left | 03:29 |
| brainproxy_ → brainproxy | 03:30 |
|
offby1
| tubbo: if I were you, I'd just set up a "git server" (it could be the same machine you're already using) and start poking at it. | 03:30 |
|
| Presumably one of the access methods will use it ... probably ssh | 03:30 |
|
| tubbo: I'd also ask sitaram for advice. He'll either 1) tell you that gitolite can already do what you want; 2) offer to tweak it for you; or 3) give you advice on building your own thang | 03:31 |
|
tubbo
| offby1: what do you mean by "poking at it"? | 03:32 |
|
| and yeah, i do probably need to talk with sitaram :) | 03:33 |
| → mencito joined | 03:33 |
|
tubbo
| i'm a big fan of gitolite and would definitely rather use a tried and tested tool rather than something i have to build | 03:33 |
| → zheng joined | 03:34 |
| → hwrd|work joined | 03:34 |
|
offby1
| tubbo: I just meant: push to it, and observe. See if you can tell if it's starting a git-shell process. | 03:35 |
|
tubbo
| oh ok | 03:35 |
|
offby1
| Read the docs and see if you need to do something to enable git-shell (I suspect you do) | 03:35 |
| → rchavik joined | 03:35 |
|
tubbo
| oh it's `git daemon` | 03:35 |
|
| not `git server` :P | 03:35 |
|
| now i understand | 03:36 |
| → breck7 joined | 03:36 |
|
tubbo
| offby1: well, i'm not really concerned with controlling public git:// access to my repos, i'm more concerned with SSH access | 03:37 |
|
| isn't that what `git daemon` does? provides git protocol access to a given repo? | 03:37 |
|
offby1
| yep, read-only if I recall correctly. | 03:37 |
| → jaequery joined | 03:38 |
|
tubbo
| right, so i think that part is covered. | 03:38 |
|
| well actually, i'll probably have to see what's up with that | 03:38 |
| → simesy joined | 03:38 |
|
sitaram
| tubbo: the problem you will have is this piece (quoting from what you said): "based on the given SSH private key" | 03:39 |
|
| sshd does not give you that information | 03:39 |
|
tubbo
| ah crap | 03:39 |
|
| :) | 03:39 |
|
| i wonder how i can figure out which user is trying to access my server.. | 03:39 |
| ← leeN left | 03:40 |
| ← rchavik left | 03:40 |
| → thiago joined | 03:40 |
|
sitaram
| tubbo: if it's via ssh, there really *is* no way other than what gitolite does, (or patch sshd) | 03:40 |
| ← breck7 left | 03:40 |
|
tubbo
| sitaram: and with gitolite, the only way i can actually make changes is via that gitolite-admin repo, right? | 03:41 |
|
sitaram
| well... normally yes. But there are other ways | 03:41 |
|
| you can ignore the whole admin repo and directly manipulate ~/.gitolite/conf and ~/.gitolite/keydir | 03:42 |
|
| then run 'gitolite compile; gitolite trigger POST_COMPILE' | 03:42 |
|
tubbo
| oh cool | 03:42 |
|
| so like, when a user makes a new repo i could regenerate ~/.gitolite/conf, and when a new user is added i can regenerate ~/.gitolite/keydir | 03:43 |
| → echo-area joined | 03:43 |
|
tubbo
| then i can use gitolite to manage access for me | 03:43 |
|
| which would be super cool | 03:43 |
| ← asteros left | 03:43 |
|
sitaram
| well, ~/.gitolite/conf/gitolite.conf is the file but the idea is correct | 03:44 |
|
tubbo
| oh right | 03:44 |
|
| and i'm running gitolite compile.. on the machine i've installed gitolite on, right? | 03:44 |
|
| or wait, there is no client machine :) | 03:44 |
| → DolphinDream joined | 03:44 |
|
sitaram
| back to ssh; see https://groups.google.com/d/msg/gitolite/MX4qQ0LqWNs/QmvxS_okWLMJ for a quick explanation (from me) of how one of openssh's new features *could* have been better for (y)our purposes | 03:44 |
|
| tubbo: all 'gitolite <subcommand> <args>' is on the gitolite server, as the "git" (or maybe "gitolite") user | 03:45 |
|
| i.e., whatever user is the "hosting" user | 03:45 |
|
tubbo
| oh ok | 03:46 |
|
| sitaram wonders... what it would take to pass the fingerprint as the second argument (even if the user name is the first one) | 03:47 |
|
tubbo
| that would be pretty cool but i understand like, why they wouldn't do that | 03:47 |
|
sitaram
| why? | 03:47 |
|
tubbo
| then again, when was the last time you gave out your private key to a host you didn't trust :) | 03:47 |
|
sitaram
| huh? | 03:47 |
|
| key *fingerprint* | 03:47 |
|
| not private key | 03:47 |
|
tubbo
| yeah | 03:47 |
|
| i guess i was just paranoid there for a second ;) | 03:48 |
|
| that would definitely make this whole process a lot easier | 03:48 |
| ← hwrd|work left | 03:49 |
|
tubbo
| in the future we might have to hack sshd, but i really don't want to. | 03:49 |
|
sitaram
| user connects to git@host. Offers a key. Ssh 6.2 passes "git" to the command named in this new option. The program uses that to look up some master database of pubkeys and passes all relevant ones in the format of an ssh authkeys file. | 03:49 |
|
| all I'm saying is that at that time sshd pass the FP as arg-2 so the search can be narrowed! | 03:50 |
| ← penk left | 03:50 |
| → NiGHTMAN joined | 03:51 |
| ← simesy left | 03:51 |
|
tubbo
| hmm, that's another strategy | 03:52 |
|
| i could just have AuthorizedKeysCommand generate a key file, and have it be empty if i don't want the user to get access to the repo | 03:52 |
|
| that's as long as SSHd is passing the path of what the client wants to access | 03:53 |
| ← NiGHTMAN left | 03:53 |
|
tubbo
| that way i could look it up by "user/repo.git", which is how we have things organized. | 03:53 |
| → R1KRDO joined | 03:54 |
|
tubbo
| however, i still don't know the key | 03:55 |
|
| oh wait i'm inventing gitolite LOL | 03:55 |
|
| reinventing* | 03:55 |
| → rchavik joined | 03:56 |
|
| offby1 suspected as much | 03:57 |
|
sitaram
| tubbo: I've just subscribed to the openssh user mailing list and am going to ask if the FP can be added somehow. Not even sure if the info is available at the time that the authorizedkeyscommand helper is called though | 03:57 |
| ← HelloComputer15 left | 03:58 |
|
offby1
| I wonder if you could coax that outta $SSH_AUTH_SOCK somehow | 03:59 |
| ← donmichelangelo left | 04:00 |
| → dhruvasagar joined | 04:00 |
| → donmichelangelo joined | 04:00 |
| ← zheng left | 04:04 |
| → zheng joined | 04:04 |
| → _BJfreeman joined | 04:05 |
| → asteros joined | 04:06 |
| _BJfreeman → BJfreeman | 04:06 |
| → curvedmark joined | 04:08 |
| ← mrballcb left | 04:09 |
| ← devoldmx left | 04:09 |
| ← jpmelos left | 04:10 |
| → devoldmx joined | 04:10 |
| ← solocommand left | 04:10 |
| → solo-work joined | 04:10 |
| → sazzq joined | 04:11 |
| → Dreamer3 joined | 04:14 |
| ← devoldmx left | 04:16 |
| → devoldmx joined | 04:16 |
| ← diegoviola left | 04:18 |
| ← dhruvasagar left | 04:20 |
| → penk joined | 04:21 |
| → pabs3 joined | 04:24 |
|
pabs3
| is there any way to make git tag always sign tags when creating them? | 04:24 |
| ← jaequery left | 04:26 |
| ← n8chur left | 04:26 |
| → n8chur joined | 04:28 |
| → r0bby joined | 04:28 |
| → jaequery joined | 04:28 |
| ← penk left | 04:29 |
| → ezrafree joined | 04:29 |
| → iodarkstar joined | 04:31 |
| → Tommy[D]_ joined | 04:34 |
| ← Joshi3s` left | 04:34 |
| ← ag4ve left | 04:35 |
| → ag4ve joined | 04:35 |
| ← asteros left | 04:36 |
| ← phipes left | 04:36 |
| ← DolphinDream left | 04:38 |
| ← Tommy[D] left | 04:38 |
| ← PaulCapestany left | 04:39 |
| → jpmelos joined | 04:45 |
| → chrisshattuck joined | 04:49 |
| ← chrisshattuck left | 04:49 |
| → dsdeiz joined | 04:50 |
| ← the_cybersphinx left | 04:50 |
| → PaulCapestany joined | 04:50 |
| ← kukks left | 04:52 |
| → yuwang joined | 04:53 |
| ← iodarkstar left | 04:54 |
|
offby1
| pabs3: probably the easiest way is to make an alias, so that you don't have to type "-s" | 04:54 |
|
pabs3
| so just tag = tag -s in the [alias] section of ~/.gitconfig? | 04:56 |
| ← R1KRDO left | 04:56 |
| → simesy joined | 04:56 |
| ← chamunks left | 04:57 |
| → chamunks joined | 04:58 |
| ← moondoggy left | 05:02 |
|
SamB
| pabs3: I heard some silly person banned aliasing existing commands :-( | 05:03 |
|
| also what's with the 3 | 05:04 |
| → private joined | 05:05 |
| ← sazzq left | 05:06 |
|
pabs3
| SamB: confirmed, the alias doesn't work. pabs3 cause someone else was pabs on freenode before me | 05:08 |
| → Sigma joined | 05:09 |
| → moondoggy joined | 05:11 |
| ← moondoggy left | 05:11 |
| → moondoggy joined | 05:11 |
| ← pierre1 left | 05:12 |
|
sitaram
| the restrictions against aliasing existing commands is because scripts can go haywire if some options get turned on behind the scenes | 05:13 |
|
SamB
| hmm | 05:13 |
| → Dead_Body joined | 05:13 |
| gitinfo set mode: +v | 05:14 |
|
SamB
| presumably the lack of a crystal-clear boundary between plumbing and porcelein doesn't help here :-( | 05:14 |
| ← chamunks left | 05:15 |
| → jcao219 joined | 05:16 |
| ← weiyang left | 05:16 |
| ← simesy left | 05:19 |
| ← mckendricks left | 05:19 |
|
offby1
| I'd just as soon my plumbing remain opaque, thanks very much. | 05:20 |
| → vedant joined | 05:21 |
| ← madewokherd left | 05:22 |
|
SamB
| guh | 05:23 |
| → simesy joined | 05:24 |
| → irqq joined | 05:27 |
| ← simesy left | 05:27 |
| ← lonewulf` left | 05:28 |
| → iodarkstar joined | 05:28 |
| → d2dchat joined | 05:31 |
| ← iodarkstar left | 05:31 |
| ← SBoudrias left | 05:31 |
| → arietis joined | 05:31 |
| ← avinashrbhat left | 05:32 |
| ← dsantiago left | 05:33 |
| → dhruvasagar joined | 05:35 |
| ← vedant left | 05:38 |
| → simesy joined | 05:38 |
| ← simesy left | 05:39 |
| → avinashrbhat joined | 05:43 |
| → lindenle joined | 05:46 |
| ← BJfreeman left | 05:49 |
| ← arietis left | 05:49 |
| → jceb joined | 05:50 |
| → homer91 joined | 05:50 |
| → hide_ joined | 05:50 |
| ← hide left | 05:51 |
| SeoZ-work[AWAY] → SeoZ | 05:53 |
| ← galaris left | 05:53 |
| ← takezawa left | 05:55 |
| → iodarkstar joined | 05:56 |
| ← barneybook left | 05:56 |
|
EugeneKay
| SamB - https://madeitwor.se/scripts/blob/master/bash/git-wrapper.sh ;-) | 05:59 |
| ← huoxito left | 05:59 |
| → barneybook joined | 05:59 |
| → guiambros joined | 06:03 |
| ← m0viefreak left | 06:03 |
| → Alz_ joined | 06:04 |
| → mmlac joined | 06:05 |
| ← tanath left | 06:05 |
| → longbeach joined | 06:07 |
| ← Sigma left | 06:09 |
| → martijnHH joined | 06:11 |
| ← kfogel left | 06:12 |
| ← mmlac left | 06:12 |
| ← iodarkstar left | 06:12 |
| ← rchavik left | 06:14 |
| ← lindenle left | 06:14 |
| ← FreezingCold left | 06:16 |
| → hoschi joined | 06:18 |
| → mechanicalduck_ joined | 06:19 |
| ← pygmael left | 06:19 |
| → rchavik joined | 06:19 |
| ← mechanicalduck left | 06:22 |
| ← fridim_ left | 06:25 |
| → skystar joined | 06:26 |
| → skystar84 joined | 06:26 |
| ← skystar84 left | 06:27 |
| ← skystar left | 06:27 |
| → PaulePanter joined | 06:28 |
| → Cromulent joined | 06:28 |
| ← Asterokid left | 06:31 |
| → wrouesnel joined | 06:31 |
| ← martijnHH left | 06:33 |
| → FreezingCold joined | 06:33 |
| ← PaulCapestany left | 06:33 |
| → PaulCapestany joined | 06:40 |
| → douglaslassance joined | 06:45 |
| → toobluesc joined | 06:45 |
| → ej joined | 06:45 |
| ← mribeirodantas left | 06:46 |
| → wwu joined | 06:47 |
| → Jackneill joined | 06:49 |
| ← Jackneill left | 06:49 |
| → Jackneill joined | 06:49 |
| ← Jahm left | 06:49 |
| ← douglaslassance left | 06:50 |
| → charliesome joined | 06:51 |
| → mechanicalduck joined | 06:52 |
| ← wwu left | 06:52 |
| ← mencito left | 06:52 |
| → Jahm joined | 06:53 |
| → wwu_ joined | 06:54 |
| ← mechanicalduck_ left | 06:54 |
| ← wrouesnel left | 06:54 |
| ← dhruvasagar left | 06:56 |
| → dhruvasagar joined | 06:57 |
| ← hello798 left | 06:59 |
| ← jcao219 left | 07:00 |
| ← private left | 07:01 |
| → elixir joined | 07:03 |
| ← OOPMan left | 07:05 |
| → douglaslassance joined | 07:08 |
| ← jceb left | 07:08 |
| ← relipse left | 07:08 |
| → darnir joined | 07:09 |
| ← darnir left | 07:09 |
| → darnir joined | 07:09 |
| ← konundra left | 07:10 |
| ← guiambros left | 07:11 |
| ← rasto left | 07:12 |
| → chamunks joined | 07:13 |
| ← zheng left | 07:20 |
| ← ToothlessGear_ left | 07:21 |
| → ToothlessGear_ joined | 07:21 |
| ToothlessGear_ → ToothlessGear | 07:23 |
| → Blahhh joined | 07:24 |
| → rasto joined | 07:26 |
| ← elixir left | 07:26 |
| → r0bby_ joined | 07:30 |
| ← baneM left | 07:31 |
| → nerdfiles joined | 07:31 |
| → baneM joined | 07:31 |
| → legumbre_ joined | 07:32 |
| → samir joined | 07:33 |
| → zizzfizzix_ joined | 07:33 |
| ← zizzfizzix_ left | 07:33 |
| → zizzfizzix_ joined | 07:33 |
| → Merwin__ joined | 07:33 |
| → deavidsedice joined | 07:33 |
| → jayne| joined | 07:33 |
| → mlb-__ joined | 07:35 |
| → catsup joined | 07:35 |
| → harv_ joined | 07:35 |
| → lb joined | 07:35 |
| → s0x_ joined | 07:35 |
| → padhah joined | 07:35 |
| → kortti_ joined | 07:35 |
| → JakePee_ joined | 07:35 |
| → cxreg2 joined | 07:35 |
| → tonyj_ joined | 07:35 |
| → unreal_ joined | 07:35 |
| → banzoune1 joined | 07:35 |
| ← nigelb left | 07:35 |
| → iveqy joined | 07:35 |
| → vinc_ joined | 07:35 |
| → chuckf_ joined | 07:35 |
| → nigelb joined | 07:35 |
| → shabble_ joined | 07:35 |
| ← shabble_ left | 07:35 |
| → shabble_ joined | 07:35 |
| → jabular_ joined | 07:35 |
| → charliesome_ joined | 07:36 |
| → DrNick2 joined | 07:37 |
| → Jahm_ joined | 07:37 |
| → iron_hou1 joined | 07:37 |
| → ecube joined | 07:37 |
| → lrvick3 joined | 07:37 |
| → ping_pong joined | 07:37 |
| ← avinashrbhat left | 07:37 |
| → satiricon_ joined | 07:37 |
| ← FreezingCold left | 07:37 |
| → Vampire0 joined | 07:37 |
| → specing_ joined | 07:38 |
| → farn_ joined | 07:38 |
| ← charliesome left | 07:38 |
| ← Mpenzi left | 07:38 |
| charliesome_ → charliesome | 07:38 |
| ← lb_ left | 07:38 |
| ← coopsh left | 07:38 |
| ← ThomasCompix left | 07:38 |
| ← mlb-_ left | 07:38 |
| ← sniffell1 left | 07:38 |
| ← lyang0 left | 07:38 |
| ← rgrinberg left | 07:38 |
| ← padhah_ left | 07:38 |
| ← iron_houzi left | 07:38 |
| ← beawesomeinstead left | 07:38 |
| ← arnihr left | 07:38 |
| ← iveqy_ left | 07:38 |
| ← Guest96500 left | 07:38 |
| ← nerdfiles1 left | 07:38 |
| ← specing left | 07:38 |
| ← Guest975 left | 07:38 |
| ← jday_ left | 07:38 |
| ← ping-pong left | 07:38 |
| ← alexander__b left | 07:38 |
| ← kortti left | 07:38 |
| ← tonyj left | 07:38 |
| ← cxreg left | 07:38 |
| ← Nevik left | 07:38 |
| ← jjore left | 07:38 |
| ← satiricon left | 07:38 |
| ← vinc left | 07:38 |
| ← eli left | 07:38 |
| ← JakePee left | 07:38 |
| ← csgeek left | 07:38 |
| ← lrvick1 left | 07:38 |
| ← harv left | 07:38 |
| harv_ → harv | 07:38 |
| ← s0x left | 07:38 |
| → rgrinberg1 joined | 07:38 |
| ← chuckf left | 07:38 |
| ← banzounet left | 07:38 |
| ← Jahm left | 07:38 |
| ← yuwang left | 07:38 |
| ← r0bby left | 07:38 |
| ← Merwin_ left | 07:38 |
| ← Vampire0_ left | 07:38 |
| ← jabular left | 07:38 |
| ← zizzfizzix left | 07:38 |
| ← jfinn left | 07:38 |
| ← farn left | 07:38 |
| ← DrNick left | 07:38 |
| ← unreal left | 07:38 |
| Jahm_ → Jahm | 07:38 |
| ← t_hash left | 07:38 |
| ← deavid left | 07:38 |
| ← shabble left | 07:38 |
| ← legumbre left | 07:38 |
| ← jayne left | 07:38 |
| → Mpenzi joined | 07:38 |
| → jjore joined | 07:38 |
| ← Cromulent left | 07:38 |
| → jfinn joined | 07:38 |
| → Nevik joined | 07:38 |
| → yuwang joined | 07:38 |
| → hash joined | 07:38 |
| → sniffell1 joined | 07:38 |
| specing_ → specing | 07:38 |
| → alexander__b joined | 07:39 |
| → shruggar joined | 07:39 |
| ← chamunks left | 07:40 |
| → rihnapstor joined | 07:40 |
| → coopsh joined | 07:40 |
| → lyang0 joined | 07:40 |
| → chamunks joined | 07:41 |
| → jayfk joined | 07:43 |
| ← tg left | 07:43 |
| → abstrusenick joined | 07:43 |
| ← Goplat left | 07:43 |
| → pantsman joined | 07:45 |
| ← pantsman left | 07:45 |
| → pantsman joined | 07:45 |
| → avinashrbhat joined | 07:46 |
| → dsantiago joined | 07:46 |
| → stamina joined | 07:47 |
| ← shruggar left | 07:47 |
| → babilen joined | 07:48 |
| → daanavitch joined | 07:50 |
| → tg joined | 07:51 |
| ← echo-area left | 07:51 |
| ← dsdeiz left | 07:53 |
| → rudak1 joined | 07:55 |
|
tjbiddle
| Anyone available this late? I have a colleague who can clone in a project via `git clone` but when that same project is reference as a submodule and he goes to `git submodule init && git submodule update` he is prompted for a password | 07:56 |
|
| I'm assuming `git submodule` for some reason is checking a different path | 07:56 |
|
| He's on a Windows box. | 07:56 |
|
| different path for the SSH key * | 07:56 |
| → echo-area joined | 07:57 |
| jayne| → jayne | 07:58 |
| ← causasui left | 07:58 |
|
cbreak
| tjbiddle: it uses the same backend as the normal repository | 07:58 |
|
| the same backend as every repository | 07:59 |
| → causasui joined | 07:59 |
|
tjbiddle
| cbreak: By 'backend' do you mean `git submodule` should essentially just be calling out to `git clone` ? | 07:59 |
|
cbreak
| the problem must be that his ssh key is either not found, or not accepted by the remote | 07:59 |
| ← pabs3 left | 07:59 |
|
tjbiddle
| Minus some special git submodule stuff | 07:59 |
|
cbreak
| tjbiddle: it will, | 07:59 |
|
| (git fetch) | 08:00 |
|
tjbiddle
| cbreak: Yeah - that's what I was assuming. But I don't know why one accepts his ssh key perfectly fine, and the other doesn't | 08:00 |
|
cbreak
| check the remote config | 08:00 |
|
| look at .git/config in both the submodule and the outer repository | 08:00 |
|
| and look at .gitmodules | 08:00 |
| ← chamunks left | 08:03 |
| → chamunks joined | 08:04 |
| ← tplaner left | 08:05 |
| zz_pinage404 → pinage404 | 08:06 |
| pinage404 → pinage404afk | 08:06 |
| → DrBenway joined | 08:08 |
| → aartist joined | 08:08 |
|
DrBenway
| hi, so i have a master branch on github which i've clone and have been working on locally. i then created a branch1 and i would like to push my local commits to it instead of master | 08:09 |
|
| how can i do this | 08:09 |
|
| git push origin branch1 doesn't seem to work | 08:09 |
| → kerrick_ joined | 08:09 |
|
DrBenway
| normally i push with git push origin master | 08:09 |
| ← thiago left | 08:09 |
| → rnz_ joined | 08:10 |
| pinage404afk → zz_pinage404afk | 08:10 |
| → zz_pinage404 joined | 08:10 |
| ← rnz_ left | 08:10 |
|
cbreak
| DrBenway: git push -u origin branch1 should work | 08:11 |
|
| if it doesn't pastebin the whole command and result | 08:11 |
| ← tjbiddle left | 08:11 |
| → elixir joined | 08:12 |
| → paul424 joined | 08:13 |
|
DrBenway
| it gives me the same as git push origin branch1 | 08:13 |
|
| result: | 08:13 |
|
| error: src refspec opengl3 does not match any. | 08:13 |
|
| error: failed to push some refs to 'https://github.com/fcoulombe/kinevox.git' | 08:13 |
|
| (opengl3 being my branch) | 08:13 |
|
| it's like if it's not picking up that the branch exists on origin | 08:15 |
|
| (you should be able to see by the link that it does indeed exist) | 08:15 |
|
| unless i've messed up its creation | 08:15 |
| → wrouesnel joined | 08:15 |
|
cbreak
| DrBenway: it doesn't matter wether it exists on origin | 08:15 |
|
| what matters is that it exists as local branch | 08:16 |
|
| pastebin git branch -a | 08:16 |
|
| DrBenway: if it is not listed as local branch, then you failed to create the branch | 08:16 |
| ← douglaslassance left | 08:16 |
|
DrBenway
| it is in the list | 08:17 |
|
| remotes/origin/opengl3 | 08:17 |
|
cbreak
| show it. | 08:17 |
|
| that's not a local branch... | 08:17 |
|
DrBenway
| it's not the one active but it's there | 08:17 |
|
cbreak
| that's a remote tracking branch | 08:17 |
| → hinst joined | 08:17 |
|
cbreak
| those are irrelevant for this problem | 08:17 |
|
| so... conclusion: you did NOT create the branch | 08:17 |
|
| create it | 08:17 |
|
| THEN you will be able to push | 08:17 |
|
DrBenway
| erm... how? | 08:17 |
|
cbreak
| branches are created with git branch or git checkout -b | 08:18 |
|
| (I prefer the latter) | 08:18 |
|
| DrBenway: the branch with the * in front is your current branch | 08:18 |
| → jceb joined | 08:18 |
| → Cromulent joined | 08:19 |
|
cbreak
| git checkout -b newbranchname will switch it to the new branch you create | 08:19 |
|
DrBenway
| alright got it thanks | 08:19 |
| farn_ → farn | 08:20 |
|
cbreak
| after that, use git push -u origin branchname once | 08:20 |
|
| and from then on only git push while on that branch | 08:20 |
|
| (with git config push.default upstream) | 08:20 |
| → Sigma joined | 08:22 |
| → maslowbeer joined | 08:22 |
| ← rihnapstor left | 08:22 |
|
iveqy
| I've followed the discussions on the git mailing list. And it seems like git is sooner or later going to be replaced by libgit2 internally. Is it even worth to continue to write on git.git if it's probably going to be replaced anyway? | 08:22 |
| ← rchavik left | 08:23 |
|
cbreak
| switching to sha3 would be nice. | 08:24 |
| → gittish joined | 08:25 |
| → madprops joined | 08:27 |
| → tjbiddle joined | 08:28 |
| ← dhruvasagar left | 08:29 |
| ← tg left | 08:32 |
| ← tjbiddle left | 08:32 |
| → rihnapstor joined | 08:35 |
| ← rihnapstor left | 08:35 |
| → OOPMan joined | 08:36 |
| → gasbakid joined | 08:36 |
| → thierryp joined | 08:37 |
| ← skorgon left | 08:40 |
| ← kerrick_ left | 08:40 |
| ← akiress left | 08:41 |
| → tg joined | 08:42 |
| ← ELLIOTTCABLE left | 08:42 |
| → ELLIOTTCABLE joined | 08:42 |
| → howlymowly joined | 08:42 |
| ← thierryp left | 08:43 |
| → takezawa joined | 08:43 |
| ← Cromulent left | 08:45 |
| ← boombatower left | 08:47 |
| → vedant joined | 08:48 |
| ← archdori1 left | 08:49 |
| ← w0ng left | 08:51 |
| → _iron joined | 08:51 |
| → dhruvasagar joined | 08:54 |
| ← Blahhh left | 08:55 |
| → wrouesnel1 joined | 08:57 |
|
EugeneKay
| o.O | 08:57 |
| ← wrouesnel left | 08:58 |
| ← rasto left | 08:58 |
|
iveqy
| cbreak: what has that have to do with it? | 08:59 |
|
vedranm
| iveqy: do you have a link on that? | 09:00 |
| ← donmichelangelo left | 09:00 |
|
cbreak
| maybe it'd be easier if git had a bit more code reuse, only one spot has to be changed :) | 09:00 |
| → donmichelangelo joined | 09:00 |
|
iveqy
| vedranm: link on what? | 09:00 |
|
vedranm
| switch to libgit2 | 09:00 |
|
iveqy
| there's no really decision, just hints I pick up from core developers in | 09:01 |
|
| http://thread.gmane.org/gmane.comp.version-control.git/226751/focus=226752 | 09:01 |
|
| and specially an other thread (hold on) | 09:01 |
| → skorgon joined | 09:02 |
| ← wrouesnel1 left | 09:02 |
| ← yacks left | 09:02 |
| ← vedant left | 09:02 |
|
iveqy
| http://thread.gmane.org/gmane.comp.version-control.git/226424/focus=226801 | 09:03 |
|
| that thread | 09:03 |
|
| cbreak: probabaly. You still need to consider that git isn't the only program that uses the git database, so it can be a bit messy... | 09:03 |
|
| afaik libgit2 and git can coexists with the same repo today | 09:04 |
| → wrouesnel joined | 09:04 |
|
cbreak
| as long as they use the same library it's ok | 09:04 |
|
iveqy
| cbreak: yeah, but they don't... | 09:05 |
|
cbreak
| ssh3 repos would then be incompatible with the normal ones of course, but that's to be expected | 09:05 |
| ← jceb left | 09:05 |
|
iveqy
| I guess it wouldn't be too hard to support both sha3 and sha1 repos | 09:05 |
|
vedranm
| iveqy: doesn't seems so explicit | 09:06 |
|
| I wouldn't count on that | 09:06 |
|
grawity
| what's the problem with sha1? the way it's used by Git, I don't see it breaking any time soon | 09:06 |
|
iveqy
| git's codebase is pretty tightly bound to sha1 though... | 09:06 |
|
| vedranm: it's not explicit and it's not said by junio. However libgit2 has already had a few (failing) attempts to reinvent git | 09:07 |
|
| and git is not working towards replacing libgit2 | 09:07 |
| ← barneybook left | 09:07 |
| → jceb joined | 09:07 |
|
iveqy
| and since libgit2 has been supported by microsoft they probably will continue growing | 09:08 |
|
cbreak
| like everything else microsoft supports? :) | 09:09 |
| → thierryp joined | 09:09 |
|
cbreak
| (They also support Visual Source Safe I heard...) | 09:09 |
|
| grawity: sha3 has a bigger number, so it must be better | 09:10 |
|
grawity
| well, VSS must be why they switched to Git | 09:10 |
|
cbreak
| grawity: also, there are potential theoretical weaknesses in sha1 | 09:10 |
| ← dhruvasagar left | 09:11 |
|
cbreak
| (not an issue for now, but it could be in the future, better to have an exit strategy and not get fucked up like all those moronic "OH, SHA1 for our password databases is enough"... sha1 was never good enough for that kind of hashing...) | 09:11 |
|
| for now it's more than enough for git | 09:11 |
|
| but who knows | 09:11 |
|
vedranm
| iveqy: I see | 09:12 |
|
| well, it will be obvious within the coming months | 09:12 |
|
| who knows | 09:12 |
|
iveqy
| what I'm trying to say is that libgit2 seems to be a stable mature and usefull project | 09:12 |
|
grawity
| the security risks with password databases are different | 09:12 |
|
vedranm
| iveqy: absolutely | 09:12 |
|
iveqy
| vedranm: well maybe. | 09:13 |
|
cbreak
| most GUI tools seem to use plumbing | 09:13 |
|
iveqy
| I think it's kind of sad to have libgit2. git would be better if all efforts where focused in one place | 09:13 |
|
grawity
| I think having multiple implementations is good | 09:14 |
|
iveqy
| cbreak: on linux yes, but not on windows. More and more gui tools switch to jgit or libgit2 | 09:14 |
| ← thierryp left | 09:14 |
| → ntus1017 joined | 09:14 |
|
iveqy
| grawity: why's that? I'm curious | 09:14 |
|
grawity
| then you don't accidentally end up with something that's impossible to re-implement | 09:14 |
|
iveqy
| cbreak: git doesn't play well on windows because of it's perl bindings | 09:14 |
|
| grawity: that's true. But you get a problem if the "reference implementation" isn't the best implementation anymore | 09:15 |
|
cbreak
| multiple implementations is good so people don't rely on implementation defined behavior | 09:15 |
| ← jceb left | 09:15 |
|
iveqy
| let's say that libgit2 is better than git, and the starts to add new features | 09:15 |
|
cbreak
| and instead expect the behavior as it is standardized | 09:15 |
|
grawity
| yes, what cbreak said | 09:16 |
|
EugeneKay
| The repo format and the git:// protocol is what matters | 09:16 |
|
iveqy
| true | 09:16 |
| → jceb joined | 09:16 |
|
iveqy
| however then git needs to have a standard. The only standard today is a reference implementation | 09:16 |
|
EugeneKay
| The behaviour of any implementation/program that uses this is really irrelevent | 09:16 |
|
cbreak
| it's like C++ vs some proprietary language | 09:17 |
|
| if there's just one implementation, then it is very hard to write portable code | 09:17 |
|
EugeneKay
| iveqy: man gitrepository-layout | 09:17 |
|
gitinfo
| iveqy: the gitrepository-layout manpage is available at http://jk.gs/gitrepository-layout.html | 09:17 |
|
EugeneKay
| I'm unsure where git:// is documented | 09:17 |
|
cbreak
| I think I saw a huge text file in git.git once | 09:18 |
| ← jaequery left | 09:18 |
| → danicampa901 joined | 09:19 |
|
iveqy
| EugeneKay: EugeneKay thanks. And there seems to be somethings missing in that... Look at the "NOTE"-part in the beggining | 09:19 |
|
EugeneKay
| There are already several alternate git implementations, have been for years. git.git being the Official one is pretty new as of 1.7(I think?) | 09:19 |
|
iveqy
| those modules will be put in .git/modules/[path to submodule]. And that isn't mentioned | 09:19 |
|
| EugeneKay: in what way did git.git became official in 1.7? I've missed that | 09:20 |
|
EugeneKay
| Patches welcome ;-) | 09:20 |
|
grawity
| patches to documentation – especially so | 09:20 |
|
iveqy
| EugeneKay: well, the thing is that it was me that implemented the module/-thing two years ago. So it's me that missed to patch that man-page anyway... :) | 09:21 |
|
EugeneKay
| If I read my history right, pre-1.7 the porcelain commonly known as `git` was known as `tig` | 09:21 |
|
grawity
| It was cogito, I think | 09:21 |
|
| tig is the ncurses UI | 09:22 |
|
EugeneKay
| That one. tig is the ncurses... yeah | 09:22 |
|
| And it was 1.5 | 09:22 |
|
| http://git.or.cz/cogito/ | 09:22 |
|
grawity
| (hmm, is it normal that the 'next' branch cannot always be fast-forwarded?) | 09:22 |
| ← curvedmark left | 09:23 |
| → vedant joined | 09:23 |
|
iveqy
| http://git.or.cz/cogito/ found it, thanks | 09:23 |
|
| oh EugeneKay was faster =) | 09:23 |
|
| grawity: no... but it could happen if something was removed from it, right? | 09:23 |
|
| removing things from next happens regulairly, but not very often | 09:24 |
|
EugeneKay
| I would welcome a better CLI than `git`. Anybody who's read the checkout man page knows how terrible it is. | 09:24 |
|
grawity
| (I'm wondering about 'next' on git.git specifically) | 09:24 |
| ← elixir left | 09:24 |
| → elixir joined | 09:25 |
| → hamburger2000 joined | 09:25 |
| → marhaban joined | 09:25 |
|
Nevik
| EugeneKay: how exactly would you have a new cli client be set up? i mean most of the git terminology is directly related to the git commands | 09:25 |
|
| so if you split what `checkout` does now into other (possibly new) commands, that'll be confusion hell | 09:26 |
|
| just as an example | 09:26 |
|
| (i agree that it's anything but intuitive, but i just wanna see what your thoughts on it are) | 09:27 |
| → St_Marx joined | 09:27 |
| → marhaban1 joined | 09:27 |
| → Cromulent joined | 09:27 |
|
EugeneKay
| I would limit a command to doing one thing | 09:28 |
|
| Anything involving branch switching? `git branch` | 09:28 |
|
| `git branch switch master` | 09:28 |
|
Nevik
| sounds good to me | 09:28 |
|
EugeneKay
| I would have `git checkout` deal with checking out a file, defaulting to HEAD | 09:29 |
| → ThomasCompix joined | 09:29 |
|
EugeneKay
| But.... I'm not about to write it ;-) | 09:29 |
| ← catsup left | 09:29 |
| → arnihr joined | 09:29 |
|
Nevik
| pity :P | 09:29 |
| → catsup joined | 09:29 |
|
Nevik
| EugeneKay: write the documentation, let someone else implement it? :P | 09:29 |
|
EugeneKay
| I have other things to write first | 09:29 |
|
| Considered it once. Got bored | 09:30 |
|
Nevik
| haha | 09:30 |
| → beawesomeinstead joined | 09:30 |
| → sostenuto joined | 09:31 |
| ← wwu_ left | 09:35 |
| → rednaks joined | 09:40 |
| → thierryp joined | 09:40 |
| ← babilen left | 09:41 |
| → Shusshu joined | 09:42 |
| SeoZ → SeoZ-work[AWAY] | 09:43 |
| ← thierryp left | 09:44 |
| ← hyperair left | 09:48 |
| → koltroll joined | 09:48 |
| ← Shusshu left | 09:48 |
| → hyperair joined | 09:48 |
| → fluxdude joined | 09:48 |
| ← ej left | 09:49 |
| ← hyperair left | 09:51 |
| → dhruvasagar joined | 09:51 |
| → wwu_ joined | 09:52 |
| ← paul424 left | 09:53 |
| ← mechanicalduck left | 09:55 |
| ← Cromulent left | 09:56 |
| → aard_ joined | 09:56 |
| → setmeaway2 joined | 09:56 |
| ← dhruvasagar left | 09:59 |
| → zacts joined | 09:59 |
| ← jceb left | 10:00 |
| → mechanicalduck joined | 10:00 |
| → Anders_J joined | 10:02 |
| → jceb joined | 10:02 |
| ← alexandernst left | 10:03 |
| ← jceb left | 10:04 |
| → hyperair joined | 10:04 |
| ← elixir left | 10:05 |
| → alexandernst joined | 10:05 |
| → jceb joined | 10:05 |
| → elixir joined | 10:05 |
| ← mechanicalduck left | 10:05 |
| → shruggar joined | 10:07 |
| ← jceb left | 10:07 |
| ← hyperair left | 10:07 |
| → jceb joined | 10:07 |
| ← aartist left | 10:08 |
| → dhruvasagar joined | 10:08 |
| ← danicampa901 left | 10:08 |
| → m8 joined | 10:09 |
| → mishok13 joined | 10:09 |
| → thierryp joined | 10:11 |
| ← ntus1017 left | 10:11 |
| ← jceb left | 10:12 |
| → jceb joined | 10:13 |
| → babilen joined | 10:13 |
| ← dhruvasagar left | 10:13 |
| ← thierryp left | 10:15 |
| → eli joined | 10:15 |
| → nicedice joined | 10:15 |
| → hyperair joined | 10:18 |
| ← howlymowly left | 10:18 |
| → ej joined | 10:20 |
| ← rudak1 left | 10:21 |
| → rudak1 joined | 10:22 |
| ← St_Marx left | 10:25 |
| → DonRichie joined | 10:26 |
| ← jceb left | 10:26 |
| ← maslowbeer left | 10:27 |
|
grawity
| Hmm, do the cogito repos still exist anywhere? They're not on kernel.org anymore. | 10:27 |
| → jceb joined | 10:27 |
| ← nicedice left | 10:27 |
| ← sallesao left | 10:27 |
| ← ej left | 10:28 |
|
grawity
| Found cogito.git on repo.or.cz, no cogito-doc.git though | 10:30 |
| → ryez_ joined | 10:30 |
|
grawity
| Ah, found in a mirror | 10:30 |
|
iveqy
| grawity: https://www.kernel.org/pub/software/scm/cogito/ | 10:30 |
|
| grawity: and why would you even be interested in that? | 10:31 |
|
| just curious | 10:31 |
|
grawity
| iveqy: Those dirs are empty except for 'RPMS' | 10:31 |
|
| iveqy: and, just because | 10:31 |
|
| I like taking a look at old stuff, and I hate it when software just disappears. | 10:31 |
|
iveqy
| oh sorry. At least there's src-rpms | 10:31 |
| → nicedice joined | 10:32 |
|
iveqy
| yeah, me too. One piece of code I use is only hosted as a debian package today, kind of scarry | 10:32 |
| ← chamunks left | 10:32 |
| → chamunks joined | 10:33 |
| ← hyperair left | 10:34 |
| → Balliad joined | 10:34 |
| ← darnir left | 10:37 |
| ← chamunks left | 10:38 |
| ← luc_ left | 10:39 |
| → jceb_ joined | 10:41 |
| → thierryp joined | 10:41 |
| ← kcj left | 10:41 |
| ← jceb_ left | 10:41 |
| → nafg joined | 10:44 |
| → the_cybersphinx joined | 10:44 |
| ← abstrusenick left | 10:45 |
| ← thierryp left | 10:45 |
| → Fandekasp joined | 10:46 |
| → FernandoBasso joined | 10:47 |
| ← nicedice left | 10:49 |
| ← jceb left | 10:50 |
| → aChatir joined | 10:53 |
| → jceb joined | 10:54 |
| ← jceb left | 10:54 |
| ← avinashrbhat left | 10:55 |
| → nicedice joined | 10:55 |
| → LuxuryMode joined | 10:57 |
| ← loops left | 10:59 |
| ← LuxuryMode left | 10:59 |
| ← Aprogas left | 11:01 |
| → Aprogas joined | 11:01 |
| ← elixir left | 11:04 |
| → jceb joined | 11:04 |
| → elixir joined | 11:04 |
| → avinashrbhat joined | 11:05 |
| → LuxuryMode joined | 11:05 |
| ← raisen left | 11:06 |
| ← LuxuryMode left | 11:06 |
| → Dave^| joined | 11:06 |
| → martijnHH joined | 11:07 |
| → LuxuryMode joined | 11:07 |
| → loops joined | 11:07 |
| → dhruvasagar joined | 11:11 |
| → barq joined | 11:11 |
| → yacks joined | 11:11 |
| → hyperair joined | 11:11 |
| → thierryp joined | 11:12 |
| → mklappstuhl joined | 11:13 |
|
barq
| Is there a channel for git development? | 11:14 |
|
EugeneKay
| Mailing list. | 11:15 |
|
barq
| I'm on that but have no idea where to start, there's so many messages flooding my inbox. | 11:15 |
|
EugeneKay
| Yup. Mailing lists suck. | 11:16 |
| ← thierryp left | 11:16 |
| ← echo-area left | 11:17 |
|
iveqy
| barq: the list is pretty noisy yes. But usually works well otherwise | 11:18 |
|
| barq: can I help you with anything? | 11:18 |
| ← nerdfiles left | 11:18 |
| ← danmackay left | 11:19 |
| ← SamB left | 11:20 |
| → SamB joined | 11:20 |
| → ej joined | 11:20 |
| ← Balliad left | 11:20 |
| → danmackay joined | 11:22 |
|
charon
| barq: #git-devel | 11:23 |
|
| but that's just if you want generic advice and such, for in-depth questions the list is much better... and also, many of the area experts aren't on IRC | 11:23 |
| ← ej left | 11:25 |
| → Ziber joined | 11:27 |
| → ozette joined | 11:27 |
| ← jceb left | 11:30 |
| ← longbeach left | 11:33 |
| ← Dave^| left | 11:35 |
| → leeN joined | 11:36 |
| ← martijnHH left | 11:38 |
| ← ryez_ left | 11:38 |
| ← mklappstuhl left | 11:39 |
| → jceb joined | 11:39 |
|
esc_
| what would happen if there is a SHA collision in a Repo | 11:40 |
| ← danmackay left | 11:40 |
| → Droolio joined | 11:42 |
| → danmackay joined | 11:42 |
| → danicampa901 joined | 11:42 |
| → thierryp joined | 11:42 |
|
grawity
| it's unlikely enough that nobody really cares what would happen | 11:43 |
| → murr4y joined | 11:43 |
|
grawity
| but if you had two files which, with the Git object header, had identical SHAs, then git would just never add the second file | 11:44 |
| ← leeN left | 11:44 |
| ← babilen left | 11:45 |
|
grawity
| so when you cloned the repo, it'd have file A's contents in both file A and B | 11:45 |
|
| but given that both files must also be of the same length (part of the header), I think collissions are unlikely enough | 11:45 |
| → leeN joined | 11:47 |
| ← thierryp left | 11:47 |
| → jnavila joined | 11:49 |
| → system64 joined | 11:50 |
| → laissez-f joined | 11:51 |
| → gusnan joined | 11:51 |
| → mechanicalduck joined | 11:51 |
| → w0ng joined | 11:51 |
| ← gusnan left | 11:52 |
| → exoon joined | 11:52 |
| ← BiggFREE left | 11:55 |
| ras0ir → akgenclik | 11:56 |
| → aendrew joined | 11:57 |
| ← jayfk left | 11:57 |
| → ntus1017 joined | 11:59 |
| ← yuwang left | 12:00 |
| ← vedant left | 12:03 |
| ← system64 left | 12:04 |
| ← pac1 left | 12:05 |
| ← yacks left | 12:07 |
| → Noldorin joined | 12:08 |
| → mixel joined | 12:09 |
|
EugeneKay
| If you do find a SHA1 collision, be sure to tell all of the security mailing lists | 12:11 |
|
| Because there are no (publically) known ones yet. | 12:11 |
| ← marhaban1 left | 12:13 |
| ← Sigma left | 12:13 |
| → thierryp joined | 12:13 |
|
specing
| Seriously? | 12:15 |
| ← LuxuryMode left | 12:16 |
| → LuxuryMode joined | 12:17 |
| → threesome joined | 12:17 |
| → marhaban1 joined | 12:18 |
| ← Jahm left | 12:18 |
| → drizzd joined | 12:18 |
| ← thierryp left | 12:18 |
| ← jokajak` left | 12:19 |
| → jgh joined | 12:19 |
| → ej joined | 12:21 |
| → m0viefreak joined | 12:23 |
| ← d2dchat left | 12:23 |
| → codertux joined | 12:25 |
| ← ej left | 12:26 |
| → Sigma joined | 12:26 |
| ← w0ng left | 12:27 |
| → hellopat joined | 12:28 |
| ← dhruvasagar left | 12:29 |
| → Jahm joined | 12:29 |
| → ej joined | 12:30 |
| ← jceb left | 12:31 |
|
EugeneKay
| Yup. | 12:31 |
| ← aChatir left | 12:33 |
|
EugeneKay
| An attack has been found that reduces the effort to 2^63 invocations(rather than the brute-force 2^80), and a collisison has been demonstrated on a 53-round variant. | 12:33 |
| ← leeN left | 12:34 |
| → sr78ger joined | 12:34 |
| ← sr78ger left | 12:35 |
| → chamunks joined | 12:35 |
| ← marhaban1 left | 12:35 |
| → leeN joined | 12:35 |
| → sr78ger joined | 12:35 |
| ← PaulCapestany left | 12:36 |
| ← trusktr left | 12:37 |
| ← Milossh left | 12:38 |
| → AdrienBrault joined | 12:39 |
|
cbreak
| so far, sha1 has some theoretic weaknesses | 12:41 |
|
| sha3 is completely different and does not suffer from the same weaknesses (but probably other ones) | 12:41 |
|
| sha2 is as far as I know an improvement on sha1 | 12:41 |
| → ddr2 joined | 12:41 |
|
cbreak
| so it might have similar shortcommings | 12:42 |
| ← LuxuryMode left | 12:43 |
| → Milossh joined | 12:43 |
| → jcao219 joined | 12:44 |
| → thierryp joined | 12:44 |
| ← arand left | 12:44 |
| ← leeN left | 12:46 |
| ← AdrienBrault left | 12:47 |
| → AdrienBrault joined | 12:48 |
| ← thierryp left | 12:49 |
| → ThomasLocke joined | 12:50 |
| → chrob joined | 12:50 |
|
EugeneKay
| It's longer, and no ueful attacks have been brought agaisnt it | 12:50 |
| ← alexander__b left | 12:51 |
| → alexander__b joined | 12:51 |
| → lonewulf` joined | 12:51 |
| → babilen joined | 12:54 |
| → kkthecoder joined | 12:55 |
| → SergeyPenkin joined | 12:57 |
| → simesy joined | 13:00 |
| ← lonewulf` left | 13:01 |
| → marhaban1 joined | 13:01 |
| → pastime joined | 13:02 |
| ← odin_ left | 13:03 |
| ← ntus1017 left | 13:03 |
| ← krion left | 13:04 |
| ← aendrew left | 13:04 |
| ← danicampa901 left | 13:07 |
| → LuxuryMode joined | 13:08 |
| ← virrus_home left | 13:09 |
| → virrus_home joined | 13:10 |
| → Raging_Hog joined | 13:12 |
| → ntus1017 joined | 13:12 |
| → jceb joined | 13:14 |
| → thierryp joined | 13:15 |
| ← pastime left | 13:15 |
| → odin_ joined | 13:17 |
| ← OOPMan left | 13:17 |
| ← thierryp left | 13:20 |
| → nsaibot joined | 13:20 |
| ← wwu_ left | 13:21 |
| ← pandeiro` left | 13:21 |
| → vitor_ joined | 13:23 |
|
grawity
| It's longer, but I seem to remember it having some disadvantages even compared to SHA1. | 13:24 |
|
nsaibot
| any ideas as to how to set the hunk header to a prebuilt formats (let's say cpp) in the .gitattributes? | 13:26 |
| ← vitor__ left | 13:26 |
| ← jceb left | 13:27 |
| → rasto joined | 13:28 |
| → dhruvasagar joined | 13:28 |
| → howlymowly joined | 13:28 |
| zizzfizzix_ → zizzfizzix | 13:28 |
| → mechanicalduck_ joined | 13:30 |
| → Cromulent joined | 13:30 |
| ← mechanicalduck left | 13:32 |
| mechanicalduck_ → mechanicalduck | 13:33 |
| ← ntus1017 left | 13:33 |
| ← dhruvasagar left | 13:33 |
| → tkrugg joined | 13:36 |
| ← tkrugg left | 13:36 |
| ← barq left | 13:36 |
| ← fobban left | 13:38 |
| ← pantsman left | 13:40 |
| → pastime joined | 13:40 |
| → _BJfreeman joined | 13:40 |
| → R1KRDO joined | 13:41 |
| ← Cromulent left | 13:41 |
| _BJfreeman → BJfreeman | 13:41 |
| → Cykey joined | 13:41 |
| → relipse joined | 13:42 |
| ← segher left | 13:43 |
| ← kpreid left | 13:44 |
| → noxd joined | 13:45 |
| → segher joined | 13:45 |
| → kpreid joined | 13:45 |
| akgenclik → ras0ir | 13:45 |
| ← kpreid left | 13:45 |
| → szx joined | 13:45 |
| → kpreid joined | 13:46 |
| ← candlejackson left | 13:46 |
| → thierryp joined | 13:46 |
| → konundra joined | 13:47 |
| → mechanicalduck_ joined | 13:48 |
| → mateusz__ joined | 13:48 |
| → gasbakid_ joined | 13:48 |
| → candlejackson joined | 13:48 |
| → motto joined | 13:50 |
| ← gasbakid left | 13:50 |
| ← mechanicalduck left | 13:50 |
| ← thierryp left | 13:51 |
| → mckendricks joined | 13:51 |
| ← m8 left | 13:52 |
| ← beawesomeinstead left | 13:52 |
| → beawesomeinstead joined | 13:52 |
| ← szx left | 13:52 |
| ← charliesome left | 13:53 |
| → carlos-huang joined | 13:53 |
| → m8 joined | 13:55 |
| ← motto left | 13:55 |
| → mribeirodantas joined | 13:56 |
| → TomyLobo joined | 13:56 |
| → penk joined | 13:56 |
| → gdelfino joined | 13:56 |
| → m0ltar joined | 13:56 |
| ← j416 left | 13:56 |
|
gdelfino
| Is public push access to docrails closed? I am getting "ERROR: Permission to rails/docrails.git denied to gdelfino" | 13:57 |
| → j416 joined | 13:57 |
|
cmn
| gdelfino: you should ask them | 13:58 |
|
gdelfino
| Sorry, I mistakenly asked here. | 13:58 |
| → vigintas joined | 13:59 |
| ← babilen left | 14:00 |
| ← nsaibot left | 14:00 |
| → gusnan joined | 14:00 |
| → danicampa901 joined | 14:02 |
| → sgambino joined | 14:02 |
| → vedant joined | 14:03 |
| ← elixir left | 14:04 |
| ← homer91 left | 14:04 |
| → lindenle joined | 14:05 |
| → rath joined | 14:05 |
| ← wrouesnel left | 14:05 |
| ← rudak1 left | 14:05 |
| → chrisshattuck joined | 14:09 |
| ← simesy left | 14:11 |
| ← BJfreeman left | 14:11 |
| → jelmer joined | 14:12 |
| → Dougie187 joined | 14:12 |
| → mechanicalduck joined | 14:13 |
| → thierryp joined | 14:14 |
| → a-l-e joined | 14:15 |
| → Thanatermesis joined | 14:16 |
| → _BJfreeman joined | 14:16 |
| → dsdeiz joined | 14:16 |
|
Thanatermesis
| i had a power outage and now I can't use my git repository, when i enter on the dir it shows me an error about "object file is empty" | "fatal: loose object (stored in .git/objects/...) is corrupt | 14:16 |
| _BJfreeman → BJfreeman | 14:17 |
| ← mechanicalduck_ left | 14:17 |
| → freestyl3r joined | 14:17 |
|
Thanatermesis
| what i can do now ? (i want to recover the usability of my repository, of course, but i want to know also "what is lose here" | 14:17 |
| ← thierryp left | 14:19 |
| → JEEBcz joined | 14:19 |
| ← FernandoBasso left | 14:20 |
| ← ej left | 14:21 |
| → ej joined | 14:21 |
| ← JEEB left | 14:22 |
| → kukks joined | 14:23 |
| ← kukks left | 14:23 |
| → kukks joined | 14:23 |
|
iveqy
| Thanatermesis: I'm not sure about this. But I would suggest doing a backup of your repo and then look into git fsck | 14:23 |
| → system64 joined | 14:23 |
|
Thanatermesis
| seems like filesystem corruption is not a very known science... | 14:24 |
| → leeN joined | 14:24 |
|
jgh
| assume you have fsck's the | 14:24 |
|
Thanatermesis
| is still surprised how we can have filesystem corruptions by a simple power outage these years with the lot of development and improvments made | 14:24 |
|
jgh
| underlying filesystem | 14:24 |
|
iveqy
| Thanatermesis: well, I'd the luxury of never having that problem. and if I do, I just pulled my backup. | 14:24 |
| ← leeN left | 14:24 |
|
iveqy
| Thanatermesis: oh it's not. Linux doesn't write to the disc at once, but does delayed writing. It's a performance thing | 14:25 |
|
Thanatermesis
| iveqy, its not so easy, i have backups too, but how i can know "which files are lose/corrupted" ? i just discovered the failure on one of my git repos, because i have tried to use it | 14:25 |
|
iveqy
| Thanatermesis: you could have instants writes to the disc, that would help you with your power outages, but that would slow you down | 14:25 |
| ← Dougie187 left | 14:25 |
|
iveqy
| Thanatermesis: oh, that's why git fsck is for, try it | 14:26 |
|
| a nice thing with git is that you can tell which files that are corrupted. with svn you can't | 14:26 |
|
Thanatermesis
| ok ill make a look to git fsck then, btw is there any channel more specific for filesystem problems ? | 14:27 |
|
| from line 730 it means that it has removed files on my system? http://paste.debian.net/9335/ | 14:28 |
| ← Exio left | 14:28 |
| → Exio joined | 14:29 |
| ← donmichelangelo left | 14:30 |
| → leeN joined | 14:30 |
| → donmichelangelo joined | 14:30 |
| → CocoStorm joined | 14:32 |
|
iveqy
| Thanatermesis: you get better answers in #linux (or maybe something like #ext4) | 14:33 |
|
CocoStorm
| i tried to create a new rep using git init and it was fine but when i log onto github it's not there | 14:33 |
|
| and when i try git push origin master it complains that origin is not a rep | 14:33 |
|
grawity
| Did you create the repo on Github too?> | 14:33 |
|
Thanatermesis
| iveqy, ok thx | 14:33 |
|
CocoStorm
| grawity, nope | 14:33 |
|
grawity
| Then of course it's not on Github | 14:33 |
|
CocoStorm
| grawity, can i do it fom command line | 14:33 |
|
| grawity, i see | 14:33 |
|
| so i can't do it all from terminal? | 14:34 |
|
grawity
| the repo on your computer and the repo on Github (and the repo on someone else's computer) are completely independent | 14:34 |
|
charon
| CocoStorm: there's a 'hub' utility that lets you do github operations from the command line | 14:34 |
|
grawity
| it just happens that you can push and pull between them | 14:34 |
|
CocoStorm
| grawity, i see and when i do git push origin master does it know which rep to push it to? | 14:34 |
|
| sorry for the noob questions | 14:34 |
|
grawity
| CocoStorm: you tell it | 14:34 |
|
CocoStorm
| grawity, how? | 14:34 |
|
| charon, oh i see, i'll look into it | 14:34 |
|
grawity
| CocoStorm: when you do `git remote add origin git://github.com/foo/bar` | 14:34 |
|
CocoStorm
| oh i see | 14:35 |
|
| i shuold do that then | 14:35 |
|
grawity
| CocoStorm: (or when you `git clone` an existing repo – then the clone address automatically gets added) | 14:35 |
|
CocoStorm
| makes sense, thanks guys! | 14:35 |
|
| thanks grawity | 14:35 |
|
| will try it out | 14:35 |
|
grawity
| CocoStorm: after you create the repo on Github, it gives you short instructions on pushing from an existing local repo | 14:35 |
|
| or, as charon said, `hub create` with the `hub` script | 14:35 |
| ← lindenle left | 14:36 |
|
CocoStorm
| brilliant, it worked thanks :) | 14:37 |
|
| and yeh i will try and see how the hub script works | 14:37 |
| ← candlejackson left | 14:37 |
| → candlejackson joined | 14:39 |
| ← jcao219 left | 14:39 |
| ← JEEBcz left | 14:42 |
| → aweorit joined | 14:43 |
| ← relipse left | 14:44 |
| ← mixel left | 14:45 |
| ← carlos-huang left | 14:45 |
| → JEEB joined | 14:46 |
| ← bret left | 14:47 |
| → lindenle joined | 14:48 |
| ← CocoStorm left | 14:49 |
| ← sgambino left | 14:49 |
| → avtobiff joined | 14:50 |
| ← BJfreeman left | 14:52 |
| ← candlejackson left | 14:52 |
| ← hellopat left | 14:53 |
| ← system64 left | 14:54 |
| → _BJfreeman joined | 14:54 |
| → candlejackson joined | 14:54 |
| ← Fandekasp left | 14:55 |
| _BJfreeman → BJfreeman | 14:55 |
| → system64 joined | 14:55 |
| ← lindenle left | 14:56 |
| ← takezawa left | 14:57 |
| → neutrino joined | 14:57 |
|
neutrino
| hi | 14:57 |
|
gitinfo
| neutrino: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on. | 14:57 |
| ← aard_ left | 14:58 |
| → CocoStorm joined | 14:58 |
| ← rednaks left | 14:59 |
|
neutrino
| i have got a problem. I wanted to check out an earlier commit, and used gitg in which I selected the commit and did "reset master branch to here". Now I don't know how to get my local commits back. How can I do this? | 14:59 |
| → aard_ joined | 14:59 |
|
neutrino
| sorry it was gitk which I used | 14:59 |
| ← CocoStorm left | 15:00 |
|
neutrino
| i'm afraid that my work is gone (I haven't pushed my commits yet..) | 15:00 |
| → kfogel joined | 15:01 |
| ← ozette left | 15:02 |
|
Nevik
| neutrino: is gitk still open and showing the later commits? | 15:03 |
|
| and dont worry, your commits arent gone | 15:03 |
| → rednaks joined | 15:03 |
|
neutrino
| Nevik: it's not | 15:04 |
| → jaequery joined | 15:04 |
| → bret joined | 15:04 |
|
neutrino
| Nevik: i'm reading stuff on the internet, they say to do git reflog, and then merge to the last hash | 15:04 |
| → guiambros joined | 15:05 |
|
Nevik
| neutrino: did you make any commits after resetting? | 15:05 |
|
neutrino
| nope | 15:05 |
|
| my reflog starts like this: | 15:05 |
|
| 985c2ae HEAD@{0}: reset: moving to 985c2ae73f28b4f106d745d51b957a7e1d6488cb | 15:05 |
|
| 938abe2 HEAD@{1}: commit: simplify ServerRunner | 15:05 |
|
| the "simplify ServerRunner" thing is the latest commit I had before resetting. | 15:06 |
| ← leeN left | 15:06 |
| ← LuxuryMode left | 15:06 |
|
Nevik
| neutrino: are there any uncommitted changes that you care about? | 15:06 |
|
neutrino
| nope | 15:06 |
|
Nevik
| then just `git reset --hard 938abe2` | 15:06 |
|
neutrino
| why not merge? what's the difference? | 15:06 |
| → nbouscal joined | 15:07 |
|
Nevik
| in this case, there is none. you can merge if you feel safer with it | 15:07 |
|
neutrino
| i don't :) | 15:07 |
| → natechan joined | 15:07 |
|
Nevik
| it is, in fact, a bit safer, if you had made any commits or uncommitted changes | 15:07 |
|
| but since i asked you about those, reset wont lose anything | 15:07 |
|
neutrino
| thank you ery much | 15:07 |
|
| git is so scary | 15:08 |
|
| can you recommend a UI such as gitk that allows me to check out earlier commits? | 15:08 |
|
| i guess resetting isn't the right way to do this, right? | 15:08 |
| ← iveqy left | 15:08 |
| ← Sigma left | 15:08 |
|
neutrino
| i want to browse earlier versions to see when a specific bug started happening | 15:08 |
|
Nevik
| neutrino: it's not. `git checkout` is the right way -- as the name suggests | 15:08 |
|
| neutrino: i dont really have a lot of experience with guis since i only use the cli | 15:09 |
|
| i only use gitk for history browsing | 15:09 |
|
neutrino
| yeah same here | 15:09 |
| → jayfk joined | 15:09 |
|
neutrino
| but once you're in the history it might be nice to be able to just click something, rather than re-type hashes | 15:09 |
|
Nevik
| neutrino: if you have many revisions to comb through, look at man git bisect | 15:09 |
|
gitinfo
| neutrino: the git-bisect manpage is available at http://jk.gs/git-bisect.html | 15:09 |
|
| neutrino will browse | 15:09 |
|
neutrino
| i know of bisect, thanks | 15:09 |
| ← natechan left | 15:09 |
|
neutrino
| it's not so much though | 15:09 |
|
Nevik
| ah, well | 15:09 |
|
neutrino
| thanks Nevik | 15:10 |
|
| :) | 15:10 |
|
Nevik
| neutrino: if you want to go into the past, rather than forward from older commits, you can `git checkout HEAD^` on every commit to get its parent | 15:10 |
| → tplaner joined | 15:10 |
|
Nevik
| the only place to pay attention there is when youre on a merge commit, since it'll have two parents | 15:10 |
| ← gusnan left | 15:11 |
|
neutrino
| mhm | 15:11 |
|
| that's a good tip, thank you | 15:12 |
| ← mechanicalduck left | 15:12 |
| → mechanicalduck_ joined | 15:12 |
| ← system64 left | 15:13 |
| → fobban joined | 15:17 |
| ← m8 left | 15:17 |
| → rgr joined | 15:18 |
| ← CodeShark left | 15:18 |
| → LuxuryMode joined | 15:19 |
| → w0ng joined | 15:21 |
| ← jayfk left | 15:22 |
| → jokajak joined | 15:23 |
|
nbouscal
| neutrino: SourceTree seems to be a decent gui. I stick to the cli myself but my coworkers seem happy with it | 15:24 |
|
neutrino
| gotcha | 15:24 |
|
| i'd love something in curses tbh | 15:24 |
|
| but you just can't do a nice branch graph in curses. | 15:24 |
|
nbouscal
| have you looked at tig? | 15:24 |
|
specing
| tig is nice | 15:24 |
|
neutrino
| or rather, you can, but people haven't, because they're scared of ansi. | 15:24 |
|
| nope, what does tig give me? | 15:24 |
|
nbouscal
| history in ncurses, with a few other things thrown in | 15:25 |
|
grawity
| a nice branch graph among other things | 15:25 |
|
nbouscal
| not sure if you can checkout from within it though | 15:25 |
|
grawity
| sure, bind a key | 15:25 |
| ← BJfreeman left | 15:25 |
|
neutrino
| looking | 15:25 |
|
nbouscal
| oh with the external command thing? cool. i haven't played with it much, i have custom history commands that make it mostly redundant for me | 15:26 |
|
neutrino
| right, i have it installed already | 15:26 |
|
| nice | 15:26 |
|
| does tig have a thing to do partial commits? i.e. select hunks/lines? | 15:26 |
|
| i have to use git gui for that (git interactive commit is too burdensome) | 15:27 |
|
grawity
| well, there's `git add -p` | 15:27 |
|
nbouscal
| i almost never use interactive add, but i use patch add all the time | 15:27 |
| → TheDracle joined | 15:27 |
| → tanath joined | 15:27 |
|
neutrino
| nah i was asking about tig specifically | 15:27 |
|
grawity
| but yes, tig has that. | 15:27 |
|
neutrino
| nice, how do i do this? | 15:27 |
|
grawity
| 'S' → 'u'/'1' | 15:27 |
|
neutrino
| looking | 15:27 |
| → _BJfreeman joined | 15:30 |
| ← AdrienBrault left | 15:31 |
| _BJfreeman → BJfreeman\ | 15:31 |
| BJfreeman\ → BJfreeman | 15:32 |
| → carlos-huang joined | 15:34 |
| ← kkthecoder left | 15:35 |
| → Goplat joined | 15:38 |
| ← Nevik left | 15:39 |
| ← virrus_home left | 15:40 |
| ← needlz left | 15:40 |
| → virrus_home joined | 15:40 |
| → Nevik joined | 15:40 |
| → needlz joined | 15:41 |
| ← Davey left | 15:41 |
| ← TheDracle left | 15:42 |
| ← nicedice left | 15:43 |
| → nicedice joined | 15:44 |
| ← rath left | 15:44 |
| ← Adlai left | 15:45 |
| → elixir joined | 15:45 |
|
neutrino
| grawity: u only lets me stage the files as a whole. It doesn't let me select which lines to stage. | 15:45 |
|
grawity
| Press Enter instead | 15:45 |
| → jhoepken joined | 15:45 |
|
neutrino
| looking | 15:46 |
| ← marhaban1 left | 15:46 |
|
neutrino
| great! | 15:47 |
|
| that's exactly what i've been looking for | 15:47 |
|
| thank you grawity | 15:47 |
|
| are you the tig developer? | 15:47 |
|
grawity
| No. | 15:47 |
|
neutrino
| hmm do you know how long this feature has been in tig for? | 15:47 |
|
| is it new? | 15:47 |
|
| i've had a look at tig before but either missed it or it wasn't there, that's why i started using git gui | 15:48 |
|
Nevik
| neutrino: did you read the documentation at the time? | 15:49 |
| → rpg joined | 15:50 |
| → marhaban1 joined | 15:51 |
| ← marhaban left | 15:51 |
| → leeN joined | 15:51 |
| → jnavila_ joined | 15:52 |
| → chrisirc joined | 15:53 |
| ← ddr2 left | 15:53 |
|
chrisirc
| What's the best (most rememberable) way to change push settings to push to another branch? | 15:54 |
|
| i.e. my workflow is: | 15:54 |
|
| On machine A (server): mkdir foo; cd foo; git init; hackaway; git commit; | 15:54 |
| ← vedant left | 15:55 |
| → ntus1017 joined | 15:55 |
|
chrisirc
| On machine B (desktop): git clone A:foo/.git; hackaway; git commit; <missing>; git push | 15:55 |
|
charon
| you should use a !bare repository for this | 15:55 |
|
gitinfo
| an explanation of bare and non-bare repositories (and why pushing to a non-bare one causes problems) can be found here: http://bare-vs-nonbare.gitrecipes.de/ | 15:55 |
| ← fluxdude left | 15:55 |
|
chrisirc
| I want a <missing> step so that I can log back into A, then "git merge B_master" or so. | 15:55 |
| ← kfogel left | 15:55 |
|
offby1
| chrisirc: actually I don't see anything wrong with what you're doing -- even if <missing> is empty | 15:55 |
|
chrisirc
| charon, I know about bare repositories, but this workflow just suits me fine. | 15:55 |
|
neutrino
| Nevik: i don't remember. Most likely. | 15:56 |
|
chrisirc
| offby1, push will push to master there, in a non-bare rep | 15:56 |
|
grawity
| git push origin master:B_master | 15:56 |
| → mklappstuhl joined | 15:56 |
| ← jnavila_ left | 15:56 |
|
grawity
| hmm, I wonder if there's something like a default refspec for pushing | 15:56 |
|
charon
| chrisirc: in that case, you can configure remote.origin.push = refs/heads/*:refs/remotes/B/* | 15:56 |
|
grawity
| oh, cool | 15:56 |
|
chrisirc
| charon, yep, I know, but I always forget the details there. And I don't want to always figure it out again... | 15:57 |
|
charon
| write it on a piece of paper and glue it to your screen | 15:57 |
|
chrisirc
| Maybe I'm just too stupid to understand the concept of those paths (which is local which is remote, etc.) | 15:57 |
|
| Hm. My way to write that stuff down is to write a script to do it. | 15:57 |
|
| But I thought maybe I don't have to. | 15:58 |
|
charon
| on a more serious note, it's not that hard; these fetch/push specs are of the form src:dst and take all the refs matching the src glob on the src side, and push them to the dst side with the * replaced by what matched on the src side | 15:58 |
|
| s/push/fetch or push/ | 15:58 |
|
chrisirc
| Is src vs dst consistent in some way? | 15:58 |
|
charon
| huh? | 15:58 |
|
| it's always src:dst | 15:58 |
|
chrisirc
| i.e. "git push foo:bar" I also always forget which is which. | 15:58 |
|
offby1
| chrisirc: I completely identify with your confusion. But this is one case where I think it's best to just learn the details. | 15:59 |
|
| (as opposed to saving yourself from having to memorize them by hiding them in a script) | 15:59 |
|
charon
| e.g. the default fetch spec for a remote called origin is refs/heads/*:refs/remotes/origin/* so that you get the remote (source for fetch) local branches mapped to the local (dest for fetch) remote namespace origin/* | 15:59 |
|
| chrisirc: the added bonus once you know what they do is that you can do mass branch copies by saying 'git fetch . foo/*:bar/*' etc | 16:00 |
|
| (the . here means: the same repository is also the source) | 16:00 |
|
chrisirc
| alright, going to get a coffee to mod up my brain cells, then do it that way. | 16:00 |
| ← devoldmx left | 16:03 |
| hakunin_ → hakunin | 16:05 |
| ← j416 left | 16:06 |
| → j416 joined | 16:06 |
| → devoldmx joined | 16:06 |
| → fluxdude joined | 16:07 |
| → HerrK joined | 16:08 |
| → kfogel joined | 16:08 |
| → vedant joined | 16:10 |
|
offby1
| coffee++ | 16:11 |
| → aartist joined | 16:11 |
| ← jaequery left | 16:12 |
|
charon
| is there a utility like cat, but that prefixes the filename to each line? it seems a bit lame to use 'grep -H -e "" <files>' for that purpose | 16:13 |
|
alfplayer
| Hi. Can I clone the history without any content, without blobs and without checking out, only to see the history? I want to minimize the amount of downloaded data. | 16:16 |
|
charon
| alfplayer: no. | 16:16 |
| ← mklappstuhl left | 16:16 |
|
alfplayer
| Thanks. | 16:16 |
| → i42n joined | 16:16 |
|
charon
| well, not much help, sadly | 16:16 |
| ← i42n left | 16:16 |
|
charon
| there's no deep reason that prevents this from happening, it's just a feature that nobody cares for | 16:16 |
| → i42n joined | 16:17 |
|
charon
| (as opposed to e.g. restartable clones, where there *is* a reason) | 16:17 |
| ← vigintas left | 16:17 |
| ← devoldmx left | 16:17 |
|
alfplayer
| Someone is using a git repo to store artwork only. I think he shouldn't have. | 16:18 |
| → devoldmx joined | 16:18 |
| → asteros joined | 16:18 |
| → franck joined | 16:18 |
| franck → Guest12740 | 16:18 |
| ← Guest12740 left | 16:19 |
| → Guest12740 joined | 16:19 |
| → rudak joined | 16:22 |
| ← carlos-huang left | 16:22 |
| → Cromulent joined | 16:22 |
| → lindenle joined | 16:23 |
| ← Guest12740 left | 16:25 |
| → Liir joined | 16:26 |
| → tjbiddle joined | 16:26 |
| ← leeN left | 16:26 |
| → Sigma joined | 16:27 |
| → leeN joined | 16:27 |
|
jgh
| charon: awk '{print FILENAME ": " $0}' foo | 16:29 |
| → tjbiddle_ joined | 16:31 |
| ← tjbiddle left | 16:31 |
| tjbiddle_ → tjbiddle | 16:31 |
| toky_ → toky | 16:33 |
| → OOPMan joined | 16:35 |
| → sgambino joined | 16:37 |
| → amcsi joined | 16:38 |
| ← Cromulent left | 16:42 |
| → babilen joined | 16:43 |
| → AdrienBrault joined | 16:43 |
| → thiago joined | 16:44 |
| → oriba joined | 16:45 |
| ← dsdeiz left | 16:47 |
| ← AdrienBrault left | 16:47 |
| → BSaboia joined | 16:49 |
| → sgambino_ joined | 16:49 |
| ← m0ltar left | 16:50 |
| ← LuxuryMode left | 16:50 |
| ← sgambino left | 16:51 |
| sgambino_ → sgambino | 16:51 |
|
Nevik
| jgh: awk --ward | 16:51 |
|
charon
| jgh: heh. that's cheating! ;-) | 16:51 |
|
| i wanted to retort that perl surely has some $[@#*%&!] magic for FILENAME, but it turns out it's called $ARGV. how boring. | 16:52 |
|
offby1
| alfplayer: randallschwarz often says: if you don't plan to merge these files, they shouldn't be in git | 16:53 |
|
alfplayer
| offby1: Interesting. Thanks. | 16:53 |
|
offby1
| hey, 'awk' is the granddaddy of the good scripting langauges | 16:53 |
|
alfplayer
| I guess he was tempted because the rest of our repos are all git. | 16:53 |
| → sgambino_ joined | 16:54 |
|
offby1
| it's not a crime or anything, but if you're not going to merge, then there might be better tools around to do whatever it is you need to do. (rsync and friends, for example) | 16:55 |
| ← hyperair left | 16:55 |
| ← Dead_Body left | 16:55 |
| ← sgambino left | 16:56 |
| sgambino_ → sgambino | 16:56 |
| ← konundra left | 16:56 |
| ← noxd left | 16:57 |
| → barneybook joined | 16:57 |
| ← kortti_ left | 16:59 |
| → sajan joined | 17:00 |
| → tmcmahon joined | 17:01 |
| ← gittish left | 17:02 |
| ← rgr left | 17:02 |
| → jkubecki joined | 17:02 |
| ← jhoepken left | 17:03 |
| → spaceonline joined | 17:03 |
| → gittish joined | 17:04 |
| ← HerrK left | 17:05 |
| → antoine__ joined | 17:05 |
| → lresende joined | 17:05 |
| ← cagedwisdom left | 17:05 |
| → system64 joined | 17:06 |
| gitinfo set mode: +v | 17:06 |
| ← Z6 left | 17:06 |
| ← asteros left | 17:10 |
| → kortti joined | 17:10 |
| ← system64 left | 17:10 |
| → asteros joined | 17:10 |
| → sq-one joined | 17:12 |
|
offby1
| ~. | 17:12 |
| ← i42n left | 17:12 |
|
offby1
| heh | 17:12 |
| ← hamburger2000 left | 17:13 |
| → conan_ joined | 17:14 |
| → SBoudrias joined | 17:14 |
| → yacks joined | 17:15 |
| ← j416 left | 17:15 |
| → j416 joined | 17:15 |
| → system64 joined | 17:15 |
| ← j416 left | 17:16 |
| → j416 joined | 17:16 |
|
Nevik
| lol offby1 | 17:18 |
| → Dougie187 joined | 17:18 |
|
Nevik
| everyone has ls'd in irc before :P | 17:18 |
|
Dougie187
| Have they all `rm -rf *`'d too? :P | 17:18 |
| ← Raging_Hog left | 17:18 |
|
Nevik
| Dougie187: better in irc than in a shell :P | 17:19 |
|
Dougie187
| true. | 17:19 |
|
Nevik
| well, usually that command doesnt break much on a system-level | 17:19 |
|
| it might lose you some work, but at least it doesnt wreck your OS | 17:20 |
|
| unlike `sudo rm -rf /` haha | 17:20 |
| ← johnw left | 17:21 |
| → hyperair joined | 17:21 |
| ← rednaks left | 17:22 |
| ← Liir left | 17:22 |
|
Dougie187
| lol | 17:23 |
| ← SergeyPenkin left | 17:24 |
| ← virrus_home left | 17:24 |
| → virrus_home joined | 17:25 |
| → mechanicalduck joined | 17:26 |
| ← angelsl left | 17:26 |
| → mixel joined | 17:27 |
| → aendrew joined | 17:28 |
| ← mechanicalduck_ left | 17:30 |
| → thomas_adam joined | 17:31 |
| → Nicholas_Rishel joined | 17:32 |
| → jayfk joined | 17:32 |
| ← Sigma left | 17:36 |
| ← pastime left | 17:36 |
| ← tmcmahon left | 17:37 |
|
charon
| Nevik: too bad that (barring backups, which you should have of both) restoring "some work" can mean considerable effort, while rebuilding an OS from scratch takes less than an hour if you use any of the modern binary distributions | 17:39 |
| ← jayfk left | 17:39 |
|
Nevik
| well, that depends on how custom your OS setup is | 17:40 |
|
| installing all the applications you need to work might take well over an hour | 17:40 |
|
| charon: but of course, both situations can turn out bad :P | 17:40 |
| → LuxuryMode joined | 17:41 |
|
Nevik
| and also, "delete everything" includes "delete all my work" -- so that's my trump here ;) | 17:41 |
| ← jkubecki left | 17:42 |
| ← j416 left | 17:42 |
| → j416 joined | 17:43 |
| → paul424 joined | 17:43 |
| ← j416 left | 17:44 |
| → j416 joined | 17:44 |
| ← BSaboia left | 17:45 |
| ← mckendricks left | 17:47 |
| ← virrus_home left | 17:48 |
| → virrus_home joined | 17:49 |
| → johnw joined | 17:49 |
| ← conan_ left | 17:49 |
| ← LuxuryMode left | 17:51 |
| → vadelius joined | 17:51 |
| → jayfk joined | 17:53 |
| ← sgambino left | 17:53 |
| ← aweorit left | 17:53 |
| → LuxuryMode joined | 17:53 |
| → pen joined | 17:54 |
| → pastime joined | 17:55 |
| ← vadelius left | 17:56 |
| → kaptoxic joined | 17:56 |
| ← LuxuryMode left | 17:57 |
| → Adlai joined | 17:57 |
| ← lindenle left | 17:58 |
| → bvi joined | 18:00 |
| ← spaceonline left | 18:00 |
| ← johnw left | 18:03 |
| ← Kadmos left | 18:03 |
| → Azis joined | 18:03 |
| → rednaks joined | 18:04 |
| → Sigma joined | 18:05 |
| → oriba_ joined | 18:06 |
| ← devoldmx left | 18:09 |
| → jaequery joined | 18:09 |
| → devoldmx joined | 18:10 |
| ← oriba left | 18:10 |
| ← aartist left | 18:10 |
| ← sq-one left | 18:10 |
| ← jaequery left | 18:11 |
| → vigintas joined | 18:11 |
| → jceb joined | 18:11 |
| ← _iron left | 18:12 |
| ← elixir left | 18:13 |
| → jaequery joined | 18:13 |
| ← devoldmx left | 18:13 |
| → jkubecki joined | 18:16 |
| ← nioncode left | 18:17 |
| → nioncode joined | 18:17 |
| ← j416 left | 18:19 |
| → j416 joined | 18:20 |
| ← leeN left | 18:20 |
| → leeN joined | 18:20 |
| ← jkubecki left | 18:21 |
| ← leeN left | 18:21 |
| ← aendrew left | 18:21 |
| ← exoon left | 18:22 |
| → leeN joined | 18:22 |
| → swiety joined | 18:22 |
| ← swiety left | 18:23 |
| → johnw joined | 18:23 |
| → noxd joined | 18:23 |
| → Bass10 joined | 18:23 |
| → swiety joined | 18:23 |
| → Guest67291 joined | 18:24 |
| ← DrBenway left | 18:27 |
| → i42n joined | 18:28 |
| → aendrew joined | 18:29 |
| legumbre_ → legumbre | 18:29 |
| ← johnw left | 18:30 |
| ← Sigma left | 18:31 |
| ← asteros left | 18:31 |
| → Vile1 joined | 18:32 |
| ← Vile1 left | 18:32 |
| adhawkins-away → adhawkins | 18:33 |
| ← Vile left | 18:34 |
| ← SJr left | 18:34 |
| → SJr joined | 18:34 |
| ← i42n left | 18:35 |
| ← SJr left | 18:35 |
| adhawkins → adhawkins-away | 18:35 |
| → SJr joined | 18:36 |
| → thierryp joined | 18:36 |
| ← SJr left | 18:37 |
| ← vmiklos left | 18:37 |
| → vmiklos joined | 18:37 |
| → SJr joined | 18:38 |
| → phipes joined | 18:38 |
| → darnir joined | 18:42 |
| ← rudak left | 18:45 |
| → rudak joined | 18:45 |
| ← aendrew left | 18:47 |
| ← thierryp left | 18:48 |
| ← bvi left | 18:49 |
| → AWinterman joined | 18:49 |
| → BSaboia joined | 18:50 |
| → thierryp joined | 18:51 |
| → jkubecki joined | 18:52 |
| → i42n joined | 18:53 |
| ← i42n left | 18:53 |
| → torbjorn joined | 18:54 |
| ← jkubecki left | 18:57 |
| ← parasight left | 18:58 |
| ← AWinterman left | 18:59 |
| ← torbjorn left | 19:00 |
| ← sr78ger left | 19:01 |
| ← Ivoz left | 19:01 |
| ← Yakko left | 19:02 |
| ← mateusz__ left | 19:03 |
| → aendrew joined | 19:03 |
| → hellopat joined | 19:04 |
| → donnib joined | 19:05 |
| ← Azis left | 19:05 |
| → Kadmos joined | 19:06 |
| → taichunmin joined | 19:07 |
| → akurilin joined | 19:09 |
| ← mixel left | 19:09 |
| → Vile joined | 19:09 |
| → torbjorn joined | 19:09 |
|
Thanatermesis
| i have an empty/corrupt object in my git repo, which makes the repo entirely unusable, how i can fix the problem ? (i had a forced shutdown yesterday) | 19:09 |
|
_ikke_
| Thanatermesis: Do you have recent backup or pushed recently to another repostory? | 19:10 |
|
Thanatermesis
| _ikke_, no, i use it only for local history (is my dir of tools/scripts) | 19:10 |
|
_ikke_
| Thanatermesis: Were you doing any git operation at the point of shutdown? | 19:10 |
|
esto
| Thanatermesis: how is elive? :O | 19:11 |
| ← freestyl3r left | 19:12 |
|
loops
| Thanatermesis: did the error print the ID of the object? if not you can find it with git fsck -full | 19:12 |
|
Thanatermesis
| _ikke_, probably, this repo is in fact non-interactive, i have a script that does commits each 5 minutes for save an history of the work | 19:12 |
|
| esto, very good thx :), working on the next version | 19:12 |
| → harobed_ joined | 19:12 |
| → m0ltar joined | 19:13 |
|
Thanatermesis
| loops, yes, there's 2 objects matched with the error | 19:13 |
|
Nevik
| Thanatermesis: you should mention that youve already asked this in here earlier and already did a git-fsck | 19:13 |
|
| and re-post that link from earlier | 19:13 |
| → freestyl3r joined | 19:13 |
|
Thanatermesis
| yes, i have run fsck and it prints me these 2 objects, but i dont see any option to "fix" the problem in the man of fsck | 19:13 |
|
cmn
| it can't be fixed | 19:14 |
| → AdrienBrault joined | 19:14 |
|
cmn
| you need to get the repo from backup | 19:14 |
|
loops
| Thanatermesis: and then delete .git/objects/XX/Y{38} where XX is first 2 digits of sha1 and Y{38} is all remaining digits | 19:14 |
|
| cmn, it can probably be fixed | 19:14 |
| antoine__ → apelisse | 19:14 |
|
cmn
| only by getting the objects from backup | 19:14 |
| → Davey joined | 19:14 |
|
loops
| cmn, naw, they were just being created | 19:14 |
|
| cmn, might lose most recent commit | 19:15 |
|
| but nothing else | 19:15 |
|
cmn
| that's something you're just assuming out of the blue | 19:15 |
|
Thanatermesis
| what i wonder is what will happen to the files (or how they will act) if i delete these objects, mmh.. | 19:15 |
|
loops
| cmn, no more of an assumption than saying it can't be fixed | 19:15 |
|
| cmn, is worth a try | 19:15 |
|
Thanatermesis
| in fact the history is not important on this case (just a list of 5-minute-each commits) | 19:15 |
|
cmn
| except it's not an assumption | 19:15 |
|
| the only way to repair this is to get the objects | 19:15 |
| ← system64 left | 19:15 |
|
loops
| cmn, shrug.. no reason to be so pedantic | 19:16 |
|
Nevik
| loops: this is #git | 19:16 |
|
| pedantic is written in bold caps over the door to this room | 19:16 |
|
Thanatermesis
| maybe you mean to rewrite the history in order to be "correct up to now" ? | 19:16 |
|
cmn
| loops: no reason to be cavalier about the truth | 19:16 |
|
loops
| cmn, lol.. okay bud | 19:16 |
|
| heh Nevik | 19:16 |
| → mixel joined | 19:16 |
|
cmn
| quite | 19:17 |
|
Thanatermesis
| well, what i do then ? delete the corrupted objects ? | 19:17 |
|
| Thanatermesis feels like a good betatester | 19:17 |
|
cmn
| that won't help solve anything | 19:17 |
| → AaronMT joined | 19:17 |
|
_ikke_
| Thanatermesis: first make a backup of the repo | 19:17 |
| ← aendrew left | 19:17 |
|
cmn
| if they are from the latest commt, you can re-write the index, assuming that's not broken and do somthing like commit --amend | 19:17 |
|
Thanatermesis
| already done :) | 19:17 |
|
loops
| Thanatermesis: listen to _ikke_ | 19:17 |
|
| Thanatermesis: then yeah, delete the corrupt objects | 19:17 |
|
| Thanatermesis: should get you unwedged | 19:17 |
|
cmn
| but if you don't know what the objects refer to, then you won't be able to recreate them | 19:17 |
|
loops
| cmn, who cares | 19:18 |
| ← harobed_ left | 19:18 |
|
Nevik
| Thanatermesis: poke me when you're done with fixing this and/or before leaving; ive got a question for you but dont want to weigh in too much until youve got this dealt with | 19:18 |
|
Thanatermesis
| git status or gitk doesnt shows anything becuse of the error (well, only the error of the state is reported) | 19:18 |
| → johnw joined | 19:18 |
|
loops
| Thanatermesis: give it a go, let us know | 19:18 |
| ← hoschi left | 19:18 |
| → mklappstuhl joined | 19:18 |
|
Nevik
| Thanatermesis: lol you rhyme things | 19:18 |
| ← vedant left | 19:19 |
|
Thanatermesis
| well, objects removed | 19:19 |
| ← njbair left | 19:19 |
|
Thanatermesis
| now git status shows: | 19:19 |
|
| fatal: bad object HEAD | 19:19 |
| ← lresende left | 19:20 |
|
_ikke_
| Looks like HEAD points to something git can't read | 19:20 |
| → vigintasl joined | 19:20 |
| → harobed joined | 19:20 |
|
Thanatermesis
| cat .git/refs/heads/master -> a96eed29ad4483f5c3a28fd856a7420dbc2ba6b2 | 19:20 |
|
| which is one of the ones that i have removed :) | 19:20 |
| ← harobed left | 19:20 |
| → harobed joined | 19:21 |
|
loops
| Thanatermesis: what does, git log master give ? | 19:21 |
|
| ah... my bad, should have read | 19:21 |
|
Thanatermesis
| fatal: bad object master | 19:21 |
| ← harobed left | 19:21 |
| ← zacts left | 19:22 |
|
_ikke_
| Thanatermesis: Then you should recreate master and point to something existing | 19:22 |
|
| Thanatermesis: git reflog might help | 19:22 |
|
Thanatermesis
| _ikke_, "git reflog" only ? | 19:22 |
|
| fatal: bad object HEAD | 19:22 |
|
_ikke_
| Thanatermesis: It shows a list of things HEAD pointed to | 19:22 |
| → system64 joined | 19:22 |
|
_ikke_
| ugh | 19:22 |
|
| a bit less easy: .git/logs/... | 19:23 |
|
cmn
| loops: did you seriously just say "who cares" to data loss? | 19:23 |
|
loops
| yeah.. maybe just cat .git/logs/HEAD | 19:23 |
|
| cmn, i'm done trying to explain it to you | 19:23 |
| → aendrew joined | 19:23 |
| → malkomalko joined | 19:23 |
| ← vigintas left | 19:23 |
| → lresende joined | 19:24 |
| ← Cykey left | 19:24 |
| → asteros joined | 19:24 |
|
Thanatermesis
| i have just noticed that the other object was not removed... doing it now | 19:25 |
| → SeptDePique joined | 19:25 |
| → Ivoz joined | 19:25 |
|
Thanatermesis
| cmn, on my exact case is not very important to maintain a perfect history, the really important thing is the last state of my codes | 19:25 |
| ← thierryp left | 19:26 |
| ← koltroll left | 19:26 |
| → whowantstolivef1 joined | 19:26 |
|
Thanatermesis
| one of the corrupted objects pointed to the last one, the other... idk, seems older | 19:26 |
| ← sostenuto left | 19:27 |
|
loops
| Thanatermesis: did you find a value for HEAD yet? | 19:27 |
| → koltroll joined | 19:27 |
|
loops
| either in .git/logs/HEAD or .git/logs/refs/heads/master | 19:27 |
| ← koltroll left | 19:27 |
|
Thanatermesis
| ah! this is interesting... i removed the second object, then running again "git fsck" shows me a new corrupted object | 19:27 |
|
| then i remove it too, and git fsck shows a new one again | 19:27 |
| ← Jackneill left | 19:28 |
| → mateusz__ joined | 19:28 |
|
loops
| Thanatermesis: careful | 19:28 |
|
| should prolly set a good HEAD before running that multiple times | 19:29 |
| → sq-one joined | 19:29 |
|
loops
| fsck will complain about objects that aren't referenced, even if they are intact | 19:29 |
|
_ikke_
| depends on what message | 19:30 |
|
| if it's dangling object, you can ignorei t | 19:30 |
|
loops
| yes | 19:30 |
|
_ikke_
| ignore it | 19:30 |
| Guest48858 → Cerise | 19:30 |
| ← Cerise left | 19:30 |
| → Cerise joined | 19:30 |
| ← mklappstuhl left | 19:30 |
|
Thanatermesis
| I should edit those files and put on it the last known object existing ? (before the last one) .git/refs/heads/master .git/logs/HEAD | 19:30 |
| ← johnw left | 19:31 |
| → mmlac joined | 19:31 |
| ← milind left | 19:32 |
| → johnw joined | 19:32 |
| → milind joined | 19:32 |
| → jcontra joined | 19:33 |
| → boombatower joined | 19:33 |
| ← AaronMT left | 19:33 |
| ← chamunks left | 19:33 |
|
loops
| the last line of .git/logs/HEAD should show you the sha1 you need... | 19:34 |
| ← rgrinberg1 left | 19:35 |
| → rgrinberg joined | 19:35 |
|
Thanatermesis
| loops, it actually shows me one of the (2 firsts) corrupted objects that i have removed | 19:35 |
|
loops
| which you can drop into .git/refs/heads/master | 19:35 |
| ← toky left | 19:35 |
|
Thanatermesis
| btw i have a backup that i can recover to the first state | 19:35 |
| ← pastime left | 19:36 |
| ← BSaboia left | 19:36 |
|
loops
| Thanatermesis: well if you can't use the last entry in the reflog, use the next-to-last | 19:36 |
|
Thanatermesis
| well, let me edit these two files to see what hapens | 19:36 |
|
loops
| Thanatermesis: well in truth, you don't need to edit the files to test | 19:36 |
|
| you can just git log <sha1> | 19:36 |
|
| to see if it will work | 19:36 |
| ← mixel left | 19:36 |
|
loops
| and if it does, then edit | 19:37 |
| ← johnw left | 19:37 |
| → johnw joined | 19:37 |
|
Thanatermesis
| yes, git log to the previous id works | 19:37 |
| ← mmlac left | 19:38 |
|
loops
| k, just drop that in .git/refs/heads/master | 19:38 |
|
| and you're away to the races... rerun.. fsck | 19:38 |
|
Thanatermesis
| git fsck still shows a corrupted object, looks like its other one that was not the last-one | 19:39 |
|
| i remove it from the .git/refs/heads/master list ? | 19:39 |
| ← taichunmin left | 19:39 |
|
loops
| Thanatermesis: not sure exactly what you're seeing. Maybe it's one of the objects you already deleted? | 19:40 |
|
| Thanatermesis: you said that git log <sha1> works... does git log master now work? | 19:40 |
|
Thanatermesis
| loops, seems like no, each time i deleted an object it says that another (new) is corrupt | 19:41 |
|
| yes, works :) | 19:41 |
|
| "git log master" | 19:41 |
| ← mechanicalduck left | 19:41 |
|
loops
| Thanatermesis: okay.. do this.. git init a new repo, and git clone from this repaired one... | 19:41 |
| → guampa joined | 19:41 |
| ← KillYourTV left | 19:41 |
|
loops
| Thanatermesis: only the good objects will be copied... | 19:42 |
|
Thanatermesis
| mmh, let me see | 19:42 |
|
loops
| forgit the git init.. just git-clone obviously... i'm getting pulled away here. | 19:43 |
|
| back in a bit | 19:43 |
| ← rudak left | 19:43 |
| ← jceb left | 19:43 |
| → rudak joined | 19:43 |
| → _iron joined | 19:43 |
| → mechanicalduck joined | 19:43 |
| → KillYourTV joined | 19:44 |
| → jceb joined | 19:44 |
|
[-jon-]
| is there a way to speed up git-clone over the network? limit history or such? | 19:45 |
| ← malkomalko left | 19:45 |
| → conan_ joined | 19:45 |
|
Thanatermesis
| http://www.enlightenment.org/ss/e-51b4db71ea5c17.13319255.jpg loops | 19:46 |
| ← ThomasLocke left | 19:46 |
| → nsanden joined | 19:46 |
| ← nbouscal left | 19:46 |
|
Thanatermesis
| mmh, resizing the terminal seems like included old text, tehre's no "git init" on this attempt | 19:46 |
|
canton7
| [-jon-], there's --depth, but repos cloned with that option have lots of limitations | 19:47 |
|
[-jon-]
| its mostly network limited | 19:47 |
| ← guampa left | 19:48 |
|
loops
| Thanatermesis: you're only getting loose object messages? those aren't corrupt objects.. nothing to worry about. | 19:48 |
|
Thanatermesis
| loops, the screenshot is not very good made, but see the next line where says "fatal", it says a corrupt | 19:48 |
|
| breaked on the next line | 19:49 |
| ← fobban left | 19:49 |
| ← ej left | 19:49 |
|
loops
| Thanatermesis: ah yeah, my bad... | 19:51 |
| → jhoepken joined | 19:51 |
|
loops
| Than, in the repaired repo... try git fsck master | 19:51 |
| → iveqy joined | 19:51 |
|
Thanatermesis
| same messages about the broken objects | 19:52 |
| → madewokherd joined | 19:52 |
|
loops
| Thanatermesis: k, that's not good news | 19:52 |
| ← a-l-e left | 19:53 |
| → jkubecki joined | 19:53 |
|
loops
| Thanatermesis: Appears some of those objects are empty files.. no data | 19:53 |
| ← Droolio left | 19:53 |
|
loops
| Thanatermesis: is git log master^ any better? | 19:54 |
|
Thanatermesis
| mmh, it shows the log but in the end it shows the error | 19:54 |
|
| well, maybe that is my prompt, idk | 19:54 |
|
| (zsh prompt that shows some git info) | 19:55 |
|
loops
| git fsck master^ | 19:55 |
| → Cykey joined | 19:55 |
|
loops
| oh.. zsh... git fsck 'master^' | 19:55 |
|
Thanatermesis
| same error messages | 19:55 |
| ← jceb left | 19:55 |
|
loops
| yikes.. this wasn't just a few objects lost then i fear | 19:56 |
| ← aendrew left | 19:56 |
| → guns joined | 19:57 |
| ← x15 left | 19:57 |
|
loops
| Thanatermesis: you might want to go back to the original repo and try git log <sha1> | 19:58 |
| ← jkubecki left | 19:58 |
|
loops
| Thanatermesis: just to rule out a problem with your copy | 19:58 |
|
| where sha1 is the one you recovered from the reflog | 19:58 |
|
| but it's seeming like there was a lot more damage to your repo than a few uncommitted objects | 19:59 |
| ← nsanden left | 20:00 |
|
Thanatermesis
| well, i can just remove it and create a new one too | 20:00 |
|
| new git repo from scratch | 20:01 |
|
loops
| probably diminishing returns on trying to save this one then.. | 20:01 |
|
| but it's a bit troubling... shouldn't lose a repo just because of a unplanned shutdown | 20:02 |
| ← marhaban1 left | 20:02 |
| → pantsman joined | 20:03 |
|
Thanatermesis
| loops, unreliable filesystems :) | 20:03 |
| ← jnavila left | 20:03 |
|
Thanatermesis
| im going to move back to my old and safe reiserfs because of that | 20:04 |
|
| Thanatermesis of course, dont want to start a FS-flamewar | 20:04 |
|
loops
| which FS was this one? | 20:04 |
|
Thanatermesis
| ext4 | 20:04 |
|
| maybe i should have not used the option nobarrier, not sure | 20:05 |
| → ncd|leeN joined | 20:06 |
| ← donnib left | 20:07 |
| → lindenle joined | 20:07 |
| ← leeN left | 20:09 |
| → hwrd|work joined | 20:12 |
| ← barneybook left | 20:14 |
| ← lindenle left | 20:14 |
| → breck7 joined | 20:14 |
| → barneybook joined | 20:14 |
| ← mechanicalduck left | 20:14 |
| ← danicampa901 left | 20:15 |
| → mechanicalduck joined | 20:15 |
| → raisen joined | 20:17 |
| → njbair joined | 20:17 |
| ← s00pcan left | 20:18 |
| ← hwrd|work left | 20:18 |
| → worblehat joined | 20:20 |
| → Bosox20051 joined | 20:21 |
| → chris64 joined | 20:23 |
| → frenchlaf joined | 20:24 |
| ← frenchlaf left | 20:24 |
| → mckendricks joined | 20:24 |
| ← lresende left | 20:24 |
| ← _iron left | 20:25 |
| ← paul424 left | 20:25 |
| → ej joined | 20:25 |
| ← rednaks left | 20:25 |
| ← Milossh left | 20:26 |
| ← chris64 left | 20:26 |
| → rednaks joined | 20:26 |
| → joebobjoe joined | 20:27 |
| ← asteros left | 20:29 |
| ← ej left | 20:29 |
| → hwrd|work joined | 20:30 |
| → _alex_kag_ joined | 20:32 |
| ← jhoepken left | 20:32 |
| ← mechanicalduck left | 20:32 |
| → Sajaki joined | 20:32 |
|
_alex_kag_
| /msg gitinfo | 20:32 |
| ← daanavitch left | 20:33 |
| → ozette joined | 20:33 |
| → trusktr joined | 20:33 |
| → mechanicalduck joined | 20:33 |
|
joebobjoe
| I think it is sad that git does not fix its flaws because "that's what people are used to" | 20:35 |
| → aendrew joined | 20:35 |
| → thierryp joined | 20:36 |
| ← Guest67291 left | 20:36 |
|
iveqy
| joebobjoe: what are you thinking about? | 20:37 |
|
charon
| Thanatermesis: the description of the barrier options in 'man mount' leads me to believe that you lose all data consistency guarantees in the event of a crash if you use 'nobarrier', unless your device has fancy battery-backed caches | 20:37 |
|
| Thanatermesis: that being said, there were also some recent ext4 bugs related to some of the more esoteric options | 20:38 |
|
| (not sure if that included 'nobarrier', but it's possible) | 20:38 |
|
joebobjoe
| iveqy: Stuff involving imporvements to the CLI | 20:38 |
| → JaredMiller joined | 20:38 |
| ← Sosumi left | 20:38 |
| ← jcontra left | 20:38 |
| ← rednaks left | 20:39 |
| → sgambino joined | 20:39 |
| → Guest67291 joined | 20:40 |
| → s00pcan joined | 20:41 |
| → jcontra joined | 20:41 |
| ← thierryp left | 20:41 |
| ← sgambino left | 20:41 |
|
Thanatermesis
| charon, yeah, i have set this option in the past because im using a good SSD device (with batteries) after to read in some howtos somewhere, but im thinking now that it maybe means a different "battery" system, not sure | 20:41 |
|
bremner
| joebobjoe: well, the people who are unhappy don't often contribute patches afaict | 20:42 |
| → rednaks joined | 20:43 |
|
joebobjoe
| bremner: Ah okay | 20:43 |
| → barq joined | 20:44 |
| ← s00pcan left | 20:44 |
| ← howlymowly left | 20:45 |
| → s00pcan joined | 20:46 |
| → danicampa901 joined | 20:47 |
| ← swiety left | 20:47 |
| ← rudak left | 20:49 |
| → rudak joined | 20:49 |
| ← JaredMiller left | 20:49 |
| ← aendrew left | 20:49 |
| → kenperkins_ joined | 20:49 |
| ← kenperkins left | 20:50 |
| → mechanicalduck_ joined | 20:50 |
| ← irqq left | 20:53 |
| ← mechanicalduck left | 20:53 |
| mechanicalduck_ → mechanicalduck | 20:53 |
| → jkubecki joined | 20:54 |
| ← raisen left | 20:54 |
| → flippo joined | 20:54 |
| ← jayfk left | 20:55 |
| ← barq left | 20:56 |
| → barq joined | 20:56 |
| ← noxd left | 20:56 |
| ← OliverJAsh left | 20:57 |
| ← apelisse left | 20:57 |
| ← darnir left | 20:58 |
| ← ellio left | 20:59 |
| ← scottrowe_ left | 20:59 |
| ← jkubecki left | 20:59 |
| → scottrowe_ joined | 20:59 |
| ← hinst left | 20:59 |
| ← s00pcan left | 21:00 |
| ← rednaks left | 21:00 |
| → s00pcan joined | 21:01 |
| → lindenle joined | 21:01 |
| → rednaks joined | 21:01 |
| ← s00pcan left | 21:01 |
| → s00pcan joined | 21:01 |
| ← chrob left | 21:02 |
| ← neutrino left | 21:02 |
| ← joebobjoe left | 21:03 |
| ← w0ng left | 21:03 |
| ← whowantstolivef1 left | 21:04 |
| → raisen joined | 21:06 |
| → FreezingCold joined | 21:06 |
| → joebobjoe joined | 21:07 |
| ← joebobjoe left | 21:07 |
| → LuxuryMode joined | 21:09 |
| ← hwrd|work left | 21:12 |
| ← AdrienBrault left | 21:14 |
| → chrob joined | 21:14 |
| → shentino joined | 21:17 |
| ← shentino left | 21:17 |
| → shentino joined | 21:17 |
| → ntus1017_ joined | 21:17 |
| → kapowaz joined | 21:17 |
| ← FreezingCold left | 21:17 |
| → zacts joined | 21:17 |
| → hwrd|work joined | 21:18 |
| ← hwrd|work left | 21:19 |
|
kapowaz
| hi there. I have a remote which I need to push to which apparently has changes I've not merged in my local master (from months ago). I don't care about any of these changes. How can I forcibly push my current master to this remote, even if it means overwriting stuff? | 21:19 |
|
| i.e. “Updates were rejected because the tip of your current branch is behind its remote counterpart. Merge the remote changes (e.g. 'git pull') before pushing again.” | 21:19 |
|
cbreak
| kapowaz: beg who ever manages that remote for force push rights | 21:20 |
|
| kapowaz: then force push | 21:20 |
|
kapowaz
| I own the remote too | 21:20 |
|
| is that as simple as git push -f ? | 21:20 |
|
cbreak
| yes | 21:20 |
|
| kapowaz tries that | 21:20 |
| ← ntus1017 left | 21:20 |
| ← gasbakid_ left | 21:21 |
| ← zacts left | 21:21 |
| → FreezingCold joined | 21:21 |
|
kapowaz
| no good. It's a heroku app, so I think there's some other bollocks it needs. | 21:22 |
|
| kapowaz cries | 21:22 |
|
kapowaz
| okay, thanks anyway | 21:22 |
| ← system64 left | 21:22 |
| → guampa joined | 21:22 |
| Guest67291 → DrBenway | 21:23 |
| ← nicedice left | 21:23 |
| ← LuxuryMode left | 21:23 |
| → nicedice joined | 21:24 |
| ← jgh left | 21:24 |
| → ej joined | 21:25 |
| flo`_ → flo` | 21:26 |
|
thiago
| kapowaz: configure the remote server to allow remote pushes | 21:26 |
|
kapowaz
| it does. | 21:26 |
|
thiago
| kapowaz: do you have shell access to the remote repository? | 21:26 |
|
kapowaz
| nope | 21:26 |
|
thiago
| kapowaz: !repro the full output from the push -f | 21:26 |
|
gitinfo
| kapowaz: Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session -- or, even better for complex issues, design a minimal case in which your problem can be reproduced, and share it with us. This will help immensely with troubleshooting. | 21:26 |
|
kapowaz
| it's okay, I've decided to nuke it and sort it out by restoring the app | 21:26 |
| → zacts joined | 21:26 |
|
kapowaz
| since the only purpose for the remote is to deploy (it's a heroku app) | 21:26 |
|
thiago
| I don't know what a heroku app is | 21:27 |
|
kapowaz
| heroku.com | 21:27 |
|
| it uses git for deployment | 21:27 |
|
| i.e. git push will deploy your code | 21:27 |
|
thiago
| sounds like a bad idea | 21:27 |
|
| git is not a deployment tool | 21:27 |
| ← FreezingCold left | 21:28 |
| ← sq-one left | 21:28 |
| ← ntus1017_ left | 21:28 |
|
kapowaz
| it works very well, provided you have good git discipline, which I didn't around the time I started using it for this app. | 21:28 |
| ← kfogel left | 21:28 |
| → ntus1017 joined | 21:29 |
| ← mechanicalduck left | 21:29 |
| ← danicampa901 left | 21:30 |
| ← ej left | 21:30 |
| ← mribeirodantas left | 21:30 |
| → noxd joined | 21:31 |
| ← barq left | 21:31 |
| → barq joined | 21:32 |
| ← mckendricks left | 21:32 |
| → LuxuryMode joined | 21:33 |
| → toky joined | 21:34 |
| ← phipes left | 21:36 |
| ← barq left | 21:37 |
| → barq joined | 21:37 |
| ← R1KRDO left | 21:37 |
| → rgb247 joined | 21:38 |
|
rgb247
| how can I reverse a git stash? | 21:38 |
|
thiago
| reverse? | 21:39 |
|
osse
| rgb247: probably 'git stash pop' but I'm not quite sure what you mean | 21:39 |
|
thiago
| do you mean re-apply the changes that you stashed away? | 21:39 |
| → FreezingCold joined | 21:40 |
| → russellw joined | 21:42 |
| → Balliad joined | 21:43 |
| ← raisen left | 21:44 |
| ← uidzer0 left | 21:44 |
| → diegoviola joined | 21:45 |
| → BSaboia joined | 21:48 |
| ← Sajaki left | 21:48 |
| ← barq left | 21:49 |
| ← jaequery left | 21:52 |
| → jkubecki joined | 21:54 |
| ← ColoradoPods2 left | 21:54 |
| ← Bosox20051 left | 21:57 |
| → lresende joined | 21:57 |
| → braisarias joined | 21:57 |
| ← jkubecki left | 21:59 |
| → epta joined | 22:00 |
| ← DrBenway left | 22:00 |
| → nbouscal joined | 22:00 |
| → asteros joined | 22:01 |
| ← asteros left | 22:03 |
| → Mamoru_ joined | 22:03 |
| → amcsi_ joined | 22:03 |
| ← Mamoru left | 22:03 |
| Mamoru_ → Mamoru | 22:03 |
| → mixel joined | 22:05 |
| ← noxd left | 22:05 |
| ← crustie left | 22:06 |
| ← amcsi left | 22:06 |
| ← fluxdude left | 22:06 |
| ← stamina left | 22:06 |
| ← banzoune1 left | 22:07 |
| ← s0x_ left | 22:07 |
| ← myme1 left | 22:07 |
| → s0x joined | 22:07 |
| → banzounet joined | 22:07 |
| → stamina joined | 22:07 |
| → myme1 joined | 22:07 |
| → asteros joined | 22:07 |
| ← Adlai left | 22:08 |
| ← rednaks left | 22:09 |
| ← drizzd left | 22:10 |
| ← pantsman left | 22:10 |
| ← Dougie187 left | 22:11 |
| ← asteros left | 22:14 |
| ← shruggar left | 22:15 |
| → itatitat joined | 22:17 |
| → system64 joined | 22:17 |
| ← chrob left | 22:18 |
| → bigkm joined | 22:18 |
| ← Cykey left | 22:19 |
| → asteros joined | 22:20 |
| ← worblehat left | 22:20 |
| ← doener left | 22:20 |
| ← SeptDePique left | 22:26 |
| → ej joined | 22:26 |
| ← Tronic left | 22:28 |
| → aendrew joined | 22:29 |
| → dsdeiz joined | 22:30 |
| ← ncd|leeN left | 22:30 |
| → Tronic joined | 22:31 |
| ← ej left | 22:31 |
| ← Nicholas_Rishel left | 22:33 |
| ← zz_pinage404 left | 22:34 |
| ← itatitat left | 22:35 |
| ← aendrew left | 22:41 |
| ← Davey left | 22:41 |
|
[-jon-]
| I'm a bit confused -- how do people handle an IDE and git? it seems like switching branches really would wreak havoc on your IDE because modules appear and disappear, and compiled code is likely wrong, etc | 22:41 |
| → mklappstuhl joined | 22:41 |
| ← aard_ left | 22:43 |
| → salimfadhley joined | 22:43 |
| → noxd joined | 22:43 |
|
osse
| [-jon-]: why does the compiled code matter? | 22:43 |
|
[-jon-]
| it'll be out of sync with the actual code, osse | 22:44 |
|
| youll have to recompile or be in a funky state | 22:44 |
|
salimfadhley
| Question: I've been working on something, committing locally (but not pushing) - is there a way to push all my changes to a new branch? | 22:44 |
| → aendrew joined | 22:44 |
|
osse
| [-jon-]: th | 22:45 |
|
[-jon-]
| I'm mainly concerned about modules, etc | 22:45 |
|
osse
| [-jon-]: it's true that it will be out of sync. i just don't see how it's a problem. | 22:45 |
|
[-jon-]
| it seems like I would WANT untracked files to stay with branches, just not be committed..? | 22:45 |
|
| osse: it makes switching of branches significantly more heavyweight | 22:46 |
| → Davey joined | 22:46 |
| → w0ng joined | 22:46 |
|
osse
| are the two branches very different? | 22:46 |
|
[-jon-]
| and if you dont clean before switching, youll have compiled code which the actual code is no longer in your branch | 22:46 |
|
| not terribly difficult | 22:47 |
|
cmn
| this is no different from removing or changing a file w/o switching branches | 22:48 |
|
osse
| when you switch branches git only touches the files it needs to, so you only need to recompile the changed files | 22:48 |
|
cmn
| if a compiled object is out of date, the build system should rebuild it | 22:48 |
|
osse
| no need to clean | 22:48 |
|
russellw
| Visual C++ handles it fine, it automatically notices changes | 22:48 |
|
[-jon-]
| unless thats a new module | 22:48 |
| ← Mystus left | 22:48 |
|
[-jon-]
| in that case its not even part of your build plan anymore | 22:48 |
|
russellw
| And from what I remember of when I was using Netbeans, I don't think it had any difficulty either | 22:48 |
|
[-jon-]
| it just seems awkward | 22:48 |
|
cmn
| but that's not an issue that comes from git | 22:48 |
|
[-jon-]
| its an issue that comes from using git | 22:49 |
|
cmn
| if your build system can't handle that, then have your IDE do it | 22:49 |
|
osse
| [-jon-]: usually the building stuff is versiond alongside the code itself, so thst shouldn't be a problem | 22:49 |
|
cmn
| but this is exacty the same as if you remove a file, no different when using it | 22:49 |
| ← Balliad left | 22:50 |
|
[-jon-]
| it seems like switching branches will take like 5 minutes | 22:50 |
|
| having to fully build, reindex, etc | 22:50 |
| ← ntus1017 left | 22:50 |
|
cmn
| then don't | 22:50 |
|
| move to a different directory if it's so unconfortable | 22:50 |
|
osse
| if the build system gets confused from stray object files i'd say that's a flaw in the build system | 22:51 |
|
[-jon-]
| osse: its not that it gets confused | 22:51 |
|
| its that youll just have a ton of shit hanging around | 22:51 |
| ← Tronic left | 22:51 |
|
osse
| you shouldn't need to rebuild everything. | 22:51 |
| ← russellw left | 22:51 |
| ← lresende left | 22:51 |
|
osse
| does that matter? | 22:51 |
| ← FreezingCold left | 22:51 |
|
[-jon-]
| it just seems like there should be a way to have untracked files stay with the branch | 22:52 |
|
cmn
| that goes against what a branch ish | 22:52 |
|
| if you need that, then switch directories | 22:52 |
|
[-jon-]
| when I checkout a new branch, I would at least expect to be at that branch's state, not some weird state with old untracked files | 22:52 |
| → Cykey joined | 22:53 |
| ← theshadow left | 22:53 |
|
[-jon-]
| there's no way to just locally track files, but not push them, is there? (at least a non-awkward way) | 22:53 |
|
EugeneKay
| [-jon-] - "no" | 22:53 |
|
osse
| git cannot know the proper state of untracked files. for that you would need to track them | 22:53 |
|
EugeneKay
| You can maintain a Public and a Private branch, and cherry-pick stuff from Private over to Public, then only pus hthat. | 22:54 |
|
[-jon-]
| seems like more trouble than what its worth | 22:54 |
|
osse
| [-jon-]: maybe you want to follow each git checkout with a cit clean? | 22:54 |
|
| but then you *definitely* need to rebuild everyhing | 22:54 |
|
[-jon-]
| heh, and hope I didn't forget to track something important | 22:55 |
| → jkubecki joined | 22:55 |
|
milki
| if you arent tracking it, its not important | 22:55 |
|
| ! | 22:55 |
| → OliverJAsh joined | 22:55 |
|
[-jon-]
| I was hoping to use git-svn for feature branches, but it just seems like a lot of headache | 22:55 |
|
osse
| even if git could magically keep an d | 22:56 |
| adhawkins-away → adhawkins | 22:56 |
| ← ferdev left | 22:56 |
|
osse
| even if git could magically keep an eye on untracked files the modification times would still change so you would still need to rebuild | 22:56 |
| → ferdev joined | 22:56 |
|
osse
| heh, and i still don't see the meed for rebuilding in the first place | 22:57 |
|
[-jon-]
| modification times dont matter with maven | 22:57 |
| → ellio joined | 22:57 |
|
osse
| oh | 22:58 |
|
cmn
| what do you mean they don't matter? | 22:58 |
| → babilen_ joined | 22:58 |
|
[-jon-]
| maven is generally poor about detecting changes in other modules and determing what to rebuild | 22:58 |
|
osse
| maybe it uses checksums instead. some build systems do that e.g. scons | 22:58 |
|
[-jon-]
| doing a clean install isn't THAT slow, just somewhat inconvenient | 22:59 |
|
| I'm more concerned about IDE-specific files and modules | 23:00 |
| → Joshi3s` joined | 23:00 |
| ← jkubecki left | 23:00 |
| ← Jahm left | 23:00 |
| ← babilen left | 23:00 |
|
osse
| if you are concerned i suppose there is *aomething* that gets confused about this messy state | 23:00 |
| ← noxd left | 23:01 |
| ← lindenle left | 23:01 |
|
[-jon-]
| heh, doing a clean would probably screw up an IDE | 23:01 |
| ← mklappstuhl left | 23:02 |
| adhawkins → adhawkins-away | 23:02 |
| ← rudak left | 23:03 |
|
osse
| what doesn't? :p | 23:03 |
|
EugeneKay
| SATA is better | 23:03 |
| ← asteros left | 23:06 |
| ← gittish left | 23:07 |
| ← stamina left | 23:09 |
| → lindenle joined | 23:11 |
| → cagedwisdom joined | 23:12 |
|
osse
| EugeneKay: "I'm gonna make him a pull request he can't refuse" | 23:13 |
| → mckendricks joined | 23:14 |
|
milki
| gah, /me kicks git smart protocol | 23:16 |
|
| linux is sending me a RST packet instead of trying to FIN, ACK -.- | 23:16 |
| ← thiago left | 23:17 |
| → mmlac joined | 23:17 |
| → rlubke joined | 23:18 |
| → noxd joined | 23:19 |
| → devoldmx joined | 23:20 |
|
cmn
| that wouldn't be the protocols fault, most likely | 23:21 |
| ← rlubke left | 23:21 |
| → SexyGirlG joined | 23:21 |
|
cmn
| I've seen that when you hit the remote end's connection time limit | 23:21 |
| ← nbouscal left | 23:22 |
| ← amcsi_ left | 23:23 |
| → Blahhh joined | 23:25 |
| → natechan joined | 23:26 |
| ← Blahhh left | 23:26 |
| ← Ingmar left | 23:26 |
| → ej joined | 23:26 |
| → Blahhh joined | 23:27 |
| ← Blahhh left | 23:27 |
| ← penk left | 23:27 |
| ← LuxuryMode left | 23:27 |
| → Etheco- joined | 23:27 |
| → Blahhh joined | 23:28 |
| ← SirCmpwn left | 23:28 |
| → OMGOMG_ joined | 23:28 |
| ← Blahhh left | 23:28 |
| → relipse joined | 23:29 |
| ← Etheco left | 23:30 |
| → LuxuryMode joined | 23:30 |
|
milki
| its localhost though | 23:30 |
|
| and its tcp | 23:30 |
| → Jahm joined | 23:30 |
|
milki
| well, i need to post these caps and have someone else look at them -.- | 23:31 |
| → SirCmpwn joined | 23:31 |
|
milki
| hm | 23:31 |
|
| i dont know where to ask >.< | 23:31 |
| ← ej left | 23:31 |
| → wbill joined | 23:32 |
| unreal_ → unreal | 23:32 |
|
cmn
| hm, interesting | 23:32 |
| ← wbill left | 23:32 |
|
cmn
| did git-daemon complain? | 23:32 |
| ← Goplat left | 23:32 |
|
milki
| hmm, im not sure actually | 23:33 |
|
| i wonder where the code is calling git-daemon... | 23:33 |
| ← DonRichie left | 23:33 |
| → wbill joined | 23:34 |
| ← wbill left | 23:34 |
|
cmn
| this is in some app wrapping git-daemon or do you mean client-side? | 23:35 |
| → wbill joined | 23:35 |
| → R1KRDO joined | 23:35 |
|
milki
| this is dulwich | 23:35 |
| ← system64 left | 23:36 |
|
milki
| so the client side is definitely pure-python | 23:36 |
|
| im not sure what the "server" side is during the test | 23:36 |
| ← wbill left | 23:36 |
|
milki
| posted my traces here: https://bugs.launchpad.net/dulwich/+bug/1063087 | 23:36 |
|
| i know the temp repo is created with git init | 23:36 |
|
| milki looks for the server side invocation | 23:36 |
| ← aendrew left | 23:37 |
|
milki
| it might be calling git-receive-pack directly | 23:37 |
| → wbill joined | 23:37 |
| → Dougie187 joined | 23:37 |
| ← wbill left | 23:37 |
| ← R1KRDO left | 23:38 |
|
cmn
| hm, wouldn't dulwhich test against its own server? | 23:38 |
| → wbill joined | 23:38 |
|
milki
| this is the compatibility tests | 23:38 |
| dean → dean|away | 23:38 |
|
milki
| so it should be testing against git | 23:38 |
| → aendrew joined | 23:39 |
|
milki
| ah yes, it pulls up a git-daemon | 23:39 |
| → phipes joined | 23:39 |
| ← ozette left | 23:39 |
|
milki
| i should try latching on to its stderr then | 23:40 |
|
cmn
| run it with --verbose, then it will tell you (more or less) why it's killing the connection | 23:40 |
| ← sajan left | 23:40 |
|
milki
| its already run with --verbose | 23:41 |
|
| but probably the test framework is hiding some of the output | 23:41 |
|
| hm...maybe i manually run the git-daemon instead | 23:43 |
|
cmn
| that run_git_or_fail doesn't sound like a chatty function | 23:44 |
|
| the way I'm reading the test code, it's going to skip it if it's already running | 23:44 |
|
| in https://github.com/milki/dulwich/blob/send_pack/dulwich/tests/compat/test_client.py#L226 | 23:45 |
| ← donmichelangelo left | 23:45 |
| → donmichelangelo joined | 23:46 |
| → Fandekasp joined | 23:47 |
| ← kukks left | 23:47 |
| ← FalsAlarm left | 23:48 |
| → FalsAlarm joined | 23:49 |
| ← nafg left | 23:49 |
| → kukks joined | 23:49 |
| ← kukks left | 23:49 |
| → kukks joined | 23:49 |
| ← FalsAlarm left | 23:49 |
| ← Chillance left | 23:51 |
| → Internet13 joined | 23:52 |
| → R1KRDO joined | 23:52 |
| ← R1KRDO left | 23:52 |
|
[-jon-]
| if you use --depth for a clone, why can't you pull/push it o_O | 23:54 |
| → jkubecki joined | 23:56 |
| ← dsdeiz left | 23:56 |
|
Dougie187
| [-jon-]: http://stackoverflow.com/questions/6941889/is-git-clone-depth-1-shallow-clone-more-useful-than-it-makes-out | 23:56 |
|
| specifically --- http://stackoverflow.com/questions/6900103/why-cant-i-push-from-a-shallow-clone | 23:56 |
| ← SirCmpwn left | 23:57 |
| → SirCmpwn joined | 23:58 |
| → Tronic joined | 23:58 |
| ← freestyl3r left | 23:58 |
| → CodeShark joined | 23:58 |
| → freestyl3r joined | 23:59 |
|
[-jon-]
| Dougie187: so it works if you have sufficient history? | 23:59 |