| 2018-04-02 |
| ← weez17 left | 00:00 |
| ← moldy left | 00:00 |
| → weez17 joined | 00:00 |
| ← weijin left | 00:02 |
| ← shinnya left | 00:04 |
| → johnnyb joined | 00:05 |
| ← coco left | 00:06 |
| ← SwiftMatt left | 00:06 |
| → Mattiaslndstrm joined | 00:08 |
| ← joshbright left | 00:09 |
| → ecuanaso joined | 00:09 |
| → Karyon joined | 00:13 |
| → _ADN_ joined | 00:13 |
| ← sim590 left | 00:13 |
| → sim590 joined | 00:14 |
| → Nizumzen joined | 00:16 |
| → joshbright joined | 00:16 |
| ← Gurkenglas left | 00:17 |
| ← drodger left | 00:18 |
| → drodger joined | 00:19 |
| → widp joined | 00:21 |
| → andyhuzhill joined | 00:23 |
| → zulutango joined | 00:25 |
| ← joshbright left | 00:27 |
| → sz0 joined | 00:30 |
| ← ecuanaso left | 00:34 |
| → weijin joined | 00:35 |
| → HoierM joined | 00:36 |
| ← rafasc left | 00:36 |
| → mrBen2k2k2k joined | 00:37 |
| → khisanth_ joined | 00:39 |
| ← johnnyb left | 00:39 |
| ← Nizumzen left | 00:40 |
| ← weijin left | 00:40 |
| ← Karyon left | 00:42 |
| ← Guest21 left | 00:42 |
| ← khisanth__ left | 00:42 |
| → joshbright joined | 00:44 |
| ← joshbright left | 00:45 |
| ← ThatOtherGuy left | 00:45 |
| → ThatOtherGuy joined | 00:46 |
| → joshbright joined | 00:47 |
| ← joshbright left | 00:49 |
| ← VoradorPT left | 00:51 |
| ← doug16k left | 00:52 |
|
agio
| hi, I just learned how to run `git diff' using different algorithms, patience, minimal, histogram etc . My question is: the `git diff` command only prints diffs, how do I use those same algorithm when actually staging? | 00:52 |
|
| If I try and use the `--diff-algorithm' option when staging, e.g. `git add --diff-algorithm patience .' git throws : error: unknown option `diff-algorithm' | 00:53 |
|
| % git --version | 00:54 |
|
| git version 2.7.4 | 00:54 |
| → ecuanaso joined | 00:55 |
| → weijin joined | 00:57 |
| ← Mattiaslndstrm left | 01:00 |
|
rewt
| agio, git add adds the whole file, not just the diff | 01:01 |
|
| git does not store the diff; it re-creates it every time you run git diff | 01:01 |
| ← weijin left | 01:01 |
| ← ecuanaso left | 01:04 |
|
agio
| rewt: yes, so eventually once I can get the "add the whole file" staging command to work - I would then want to "upgrade" that to something like the `git add --patch' option - but Im just trying to get the most simple case working first | 01:05 |
| ← flying_sausages left | 01:06 |
|
rewt
| git add doesn't add the patch... what are you trying to do exactly? what problem are you trying to solve? | 01:06 |
|
agio
| rewt: yes, thats the problem: I run `git diff --diff-algorithm=patience <file>' and its exactly how I want the commit to capture the change - but then, as you say, `git diff' doesn't save that diff does it? | 01:07 |
|
rewt
| no, the diff is not saved anywhere; when you run `git diff` is when it is generated | 01:08 |
|
| which is why i don't get what `git add` has to do with any of that | 01:08 |
|
| once the file is added, you can run `git diff` with any options you want to get any kind of diff you want from it | 01:08 |
| → flying_sausages joined | 01:08 |
| → armin_ joined | 01:11 |
|
agio
| oh, so you're saying - say I download a remote branch and start viewing the branch say with `git log --patch' that I could say use `git log --patch --diff-algorithm=patience' to display - an already captured diff - in an alternative way? | 01:11 |
|
| rewt: ^ | 01:11 |
| ← armin left | 01:12 |
|
rewt
| sure, if `git log` has that; it will generate all the diffs when you run that command | 01:12 |
| ← LiftLeft left | 01:12 |
|
rewt
| the repo only has full complete versions of files | 01:13 |
|
| there is no "captured diff" | 01:13 |
| → sourcream joined | 01:13 |
|
rewt
| if you add & commit a file, then change it, then add & commit again, git stores both complete full versions of it, NOT the first one and the diff to the 2nd one | 01:14 |
| ← taoqy left | 01:14 |
|
agio
| ah, you're right `git log --patch --diff-algorithm=...' does work! | 01:14 |
|
| rewt: repo only has full compleete versions of files? that would mean in a repo with say 2500 commits - there are 2500 full versions of every file? the repo would be huge? | 01:16 |
|
rewt
| yes | 01:17 |
| ← armin_ left | 01:17 |
|
rewt
| after a while git does store compressed versions (using diffs or w/e), but that's completely invisible to the user | 01:17 |
| → armin joined | 01:17 |
| → Karyon joined | 01:17 |
|
agio
| I thought by only having commits - which contain only the minimum number of line changes necessary to modify an existing file to achieve the next commit - you can have a repo which is only a bit larger than say the working tree + index tree + commits? | 01:18 |
| → weijin joined | 01:19 |
| ← phluks left | 01:19 |
|
rewt
| that's not how git works -- imagine storing 2500 diffs for a file... git would need to process them all to arrive at the latest version | 01:20 |
|
| and if the repo has 1000s of files... | 01:20 |
|
| that's a lot of diffs | 01:20 |
|
agio
| rewt: ah so say if I only changed 3 files in a commit - 3 entirely new files would be checked in and the repo would increase by the size of those files (uncompressed or not) but actually - we're not duplicating the entire repo, we're only increasing by 3 files worth of data...? | 01:21 |
|
rewt
| yes, only changed files are stored | 01:22 |
|
agio
| wow.. ok | 01:22 |
| → jleclanche joined | 01:22 |
|
rewt
| the way it works is a commit points to a tree (directory), which in turn can point to other trees or files... every commit, tree, and file has an id (hash based on content and some metadata)... if a file doesn't change, its hash doesn't change, so the new tree points to that same version | 01:24 |
|
| if a file does change, it gets a new id, and the new tree points to the new file | 01:24 |
| → LiftLeft joined | 01:25 |
| → finalbeta joined | 01:25 |
|
rewt
| also, if no files change in a directory (tree), that tree's id does not change (because its content did not change), so the tree (or commit) pointing to it can point to that same old tree | 01:25 |
|
agio
| oh wow. right . jeez I thought a commit pointed to a literal patch... | 01:26 |
|
rewt
| and a branch is nothing more than a pointer to a commit | 01:26 |
|
| when you "commit to a branch" git does not record what branch was "active" at the time of the commit | 01:26 |
|
agio
| right so to envisage what you are describing - one would use the `git ls-files' or `git ls-tree' commands ? | 01:26 |
|
rewt
| yes, those look up the contents of the referenced id, regardless of which commit(s) it's in | 01:28 |
| ← sourcream left | 01:30 |
|
agio
| so this arrangement is similar to linux/unix file systems where a directory inode can point to another sub-directory inode which could point to file inodes - which pooint to the hard data block. but in git you can swap out the pointers - based on on the tree which some commit points to? | 01:31 |
| → rchavik joined | 01:31 |
| ← m0viefreak left | 01:32 |
|
agio
| and couple that with many different copies of the underlying data/files - you get a basis for version control? | 01:32 |
|
rewt
| something like that, yes | 01:33 |
| ← YuGiOhJCJ left | 01:34 |
| → ecuanaso joined | 01:34 |
| ← Tobbi left | 01:35 |
|
agio
| rewt: wow. thanks. yeah, in the the past I never got the ls-tree commands, but now they definitely make more sense | 01:35 |
| ← endiruna left | 01:36 |
| ← cybrNaut left | 01:39 |
| → GeekTheAlien joined | 01:40 |
| ← drodger left | 01:41 |
| → cybrNaut joined | 01:41 |
| → crtcji joined | 01:44 |
| ← LiftLeft left | 01:44 |
| ← igemnace left | 01:44 |
| ← GeekTheAlien left | 01:44 |
| → drodger joined | 01:47 |
| ← ilbot3 left | 01:48 |
| ← ecuanaso left | 01:48 |
| → ArcaTech joined | 01:50 |
| ← Fissure left | 01:51 |
| ← pfleck left | 01:53 |
| ← Karyon left | 01:57 |
| → ilbot3 joined | 01:57 |
| → LiftLeft joined | 01:57 |
| ← \void left | 01:58 |
| ← _ADN_ left | 01:58 |
| → igemnace joined | 01:58 |
| ← hooksie1 left | 01:59 |
| → xiaohui joined | 01:59 |
| → doug16k joined | 02:00 |
| ← crtcji left | 02:00 |
| → supernovah joined | 02:00 |
|
supernovah
| whats the command to checkout a specific commit and set all the files to the state at that commit | 02:01 |
| → sucks_ joined | 02:01 |
|
supernovah
| is it just git reset --hard <hash> | 02:02 |
| → fr33domlover joined | 02:03 |
|
supernovah
| because I still have a bunch of untracked files showing in git status | 02:03 |
|
| oh I was in a subdirectory | 02:04 |
| → Raed|Laptop joined | 02:04 |
| → hooksie1 joined | 02:05 |
| ← HoierM left | 02:06 |
|
agio
| just do `git checkout <commit>' | 02:08 |
| ← xiaohui left | 02:08 |
|
agio
| you will be in a headless state but thats cool. | 02:08 |
| ← supernovah left | 02:09 |
|
agio
| if you run `git reset --hard <hash>' you will lose all the recent history/commits + index + working tree all the way back to the commit | 02:09 |
| → IndianArya joined | 02:10 |
| ← RougeR left | 02:12 |
| dmc → cmd | 02:17 |
| ← john-34 left | 02:18 |
| ← UniFreak left | 02:19 |
| → SwiftMatt joined | 02:19 |
| → __rob2 joined | 02:19 |
| → john-34 joined | 02:20 |
| ← felixsanz left | 02:21 |
| ← __rob left | 02:21 |
| → testnick123 joined | 02:22 |
| → felixsanz joined | 02:22 |
| ← moei left | 02:23 |
| ← ArcaTech left | 02:26 |
| ← john-34 left | 02:26 |
| → john-34 joined | 02:27 |
| ← john-34 left | 02:28 |
| → john-34 joined | 02:28 |
| → liyou joined | 02:29 |
| ← sentriz left | 02:30 |
| ← igemnace left | 02:30 |
| → ArcaTech joined | 02:37 |
| → supernovah joined | 02:37 |
| → oojacoboo joined | 02:39 |
| → Mattiaslndstrm joined | 02:40 |
| → g00s joined | 02:40 |
| → akushner_ joined | 02:42 |
| → crtcji joined | 02:42 |
| ← crtcji left | 02:43 |
| ← weijin left | 02:46 |
| ← akushner left | 02:46 |
| → weijin joined | 02:46 |
| → fly_ joined | 02:47 |
| ← fly_ left | 02:48 |
| → fly_ joined | 02:48 |
|
fly_
| hi. I have a second remote that is like, very different. how can I make a branch from that remote without needing to deal with merges? | 02:48 |
| ← piggah left | 02:48 |
| ← Mattiaslndstrm left | 02:52 |
| ← IndianArya left | 02:52 |
| ← weijin left | 02:53 |
| ← akushner_ left | 02:53 |
| → IndianArya joined | 02:53 |
| ← testnick123 left | 02:54 |
| → weijin joined | 02:54 |
|
fly_
| hmm, git pull -f -Xtheirs mostly works, I guess. | 02:55 |
|
agio
| git fetch <second_remote> <branch> | 02:55 |
|
| fly_: you want a local branch you can checkout to and work on? | 02:55 |
|
fly_
| Yes | 02:56 |
| ← IndianArya left | 02:56 |
| → IndianArya joined | 02:57 |
|
agio
| ah ok the command above wont really help - will only give you read only remote tracknig branch | 02:57 |
| ← zumba_addict left | 02:58 |
| ← MaekSo left | 03:00 |
| → MaekSo joined | 03:00 |
| ← MaekSo left | 03:01 |
| → MaekSo joined | 03:01 |
| ← Olipro left | 03:03 |
| → Olipro joined | 03:03 |
| Olipro → Guest53405 | 03:03 |
| ← Crypt0x left | 03:05 |
| ← supernovah left | 03:05 |
| ← doug16k left | 03:06 |
| ← sucks_ left | 03:08 |
| → sucks joined | 03:08 |
| ← sucks left | 03:08 |
| → sucks joined | 03:10 |
| → supernovah joined | 03:12 |
| ← IndianArya left | 03:15 |
| ← Guest53405 left | 03:18 |
| → IndianArya joined | 03:19 |
| → shinnya joined | 03:19 |
| → dre_ joined | 03:21 |
| → doug16k joined | 03:22 |
| ← MACscr_ left | 03:23 |
| → Raed|Laptop_ joined | 03:23 |
| → testnick123 joined | 03:23 |
| ← Raed|Laptop left | 03:25 |
| ← noobineer left | 03:26 |
| ← sucks left | 03:27 |
| ← thebope left | 03:28 |
| → thebope joined | 03:29 |
| → canvon_ joined | 03:29 |
| ← canvon left | 03:30 |
| ← tt left | 03:31 |
| ← zulutango left | 03:31 |
| ← fr33domlover left | 03:32 |
| ← thebope left | 03:33 |
| ← supernovah left | 03:34 |
| → zulutango joined | 03:36 |
| ← diogenese left | 03:37 |
| ← IndianArya left | 03:37 |
| → Wulf4 joined | 03:38 |
| ← mud left | 03:41 |
| ← Wulf left | 03:41 |
| Wulf4 → Wulf | 03:41 |
| → supernovah joined | 03:42 |
| ← Nokurn left | 03:44 |
| → diogenese joined | 03:44 |
| → Nokurn joined | 03:46 |
| → Lyqyd joined | 03:48 |
| → IndianArya joined | 03:49 |
| ← IndianArya left | 03:51 |
| → IndianArya joined | 03:51 |
| → piggah joined | 03:51 |
| ← sweatsuit left | 03:55 |
| → Olipro joined | 03:56 |
| Olipro → Guest60104 | 03:56 |
| ← piggah left | 03:57 |
| → sweatsuit joined | 03:58 |
| → xiaohui joined | 03:58 |
| → czart_ joined | 03:58 |
| ← xiaohui left | 03:59 |
| → ferdna joined | 04:01 |
| ← Raed|Laptop_ left | 04:02 |
| ← czart left | 04:02 |
| → kgrimes joined | 04:04 |
| ← supernovah left | 04:08 |
| ← kgrimes left | 04:09 |
| ← fly_ left | 04:10 |
| → mrBen2k2k2k_ joined | 04:10 |
| → re1 joined | 04:15 |
| ← Guest60104 left | 04:15 |
| → Guest60104 joined | 04:15 |
| Guest60104 → Olipro | 04:15 |
| ← sz0 left | 04:18 |
| ← Olipro left | 04:22 |
| ← weijin left | 04:26 |
| ← linuxmodder left | 04:28 |
| → weijin joined | 04:29 |
| ← weijin left | 04:33 |
| ← alhariel left | 04:39 |
| ← sanscoeur left | 04:44 |
| → alhariel joined | 04:45 |
| ← alhariel left | 04:45 |
| → igemnace joined | 04:45 |
| ← IndianArya left | 04:46 |
| ← Lyqyd left | 04:48 |
| → weijin joined | 04:49 |
| ← dpyro left | 04:53 |
| → ecuanaso joined | 04:53 |
| ← g00s left | 04:53 |
| → Olipro joined | 04:53 |
| → dpyro joined | 04:54 |
| Olipro → Guest79033 | 04:54 |
| ← testnick123 left | 04:56 |
| → govg joined | 05:00 |
| ← BillyCrook left | 05:00 |
| → jstimm joined | 05:01 |
| ← fletom left | 05:02 |
| → pfleck joined | 05:03 |
| → energizer joined | 05:03 |
| ← pks left | 05:03 |
| ← ecuanaso left | 05:04 |
| ← igemnace left | 05:04 |
| → pks joined | 05:04 |
| → duderonomy joined | 05:06 |
| ← dre_ left | 05:10 |
| ← jstimm left | 05:11 |
| ← pfleck left | 05:15 |
| ← orbyt_ left | 05:16 |
| ProfMac_ → ProfMac | 05:16 |
| ProfMac → ProfMac_ | 05:17 |
| ← asphyxia left | 05:17 |
| ← ferdna left | 05:27 |
| → xiaohui joined | 05:32 |
| ← xiaohui left | 05:33 |
| ← menip left | 05:35 |
| → supernovah joined | 05:40 |
| ← sunrunner20 left | 05:40 |
| → ocds joined | 05:41 |
| ← drodger left | 05:44 |
| → drodger joined | 05:46 |
| → nephyrin joined | 05:46 |
| ← weijin left | 05:47 |
| ← bartman left | 05:47 |
| → subhojit777 joined | 05:47 |
| → igemnace joined | 05:48 |
| → fletom joined | 05:50 |
| ← basiclaser left | 05:52 |
| ← ocds left | 05:55 |
| ← energizer left | 05:56 |
| → igemnace_ joined | 05:56 |
| ← igemnace left | 05:56 |
| → weijin joined | 05:57 |
| → sat-aton joined | 05:57 |
| ← sat-aton left | 05:57 |
| → sat-aton joined | 05:57 |
| ← re1 left | 05:58 |
| ← sat-aton__ left | 06:00 |
| ← SwiftMatt left | 06:02 |
| → __rob joined | 06:10 |
| ← __rob2 left | 06:12 |
| → borkr joined | 06:19 |
| → muricantrump joined | 06:21 |
| → tt joined | 06:23 |
| → dre_ joined | 06:26 |
| → tkore joined | 06:27 |
| ← tkore left | 06:27 |
| → tkore joined | 06:27 |
| ← Random832 left | 06:31 |
| ← cmd left | 06:38 |
| → mms_ joined | 06:41 |
|
mms_
| any one using gerrit ? in notify email when I use internal group names it does not send out notifications but placing email addresses works | 06:42 |
| → energizer joined | 06:42 |
| → dmc joined | 06:44 |
| → pfleck joined | 06:45 |
| ← ShapeShifter499 left | 06:46 |
| ← madewokherd left | 06:48 |
| → ShapeShifter499 joined | 06:48 |
| ← thiago left | 06:54 |
| ← subhojit777 left | 06:58 |
| → oxymoron93 joined | 07:07 |
| → Random832 joined | 07:07 |
| → phinxy joined | 07:09 |
| → muelleme_ joined | 07:09 |
| → sanscoeur joined | 07:12 |
| → King_Hual joined | 07:14 |
| ← King_Hual left | 07:14 |
| → King_Hual joined | 07:14 |
| ← thallada left | 07:14 |
| → dmone joined | 07:19 |
| → Puffball_ joined | 07:20 |
| → lalitmee joined | 07:23 |
| ← mms_ left | 07:23 |
| ← Puffball left | 07:23 |
| → lalit joined | 07:24 |
| ← lalitmee left | 07:27 |
| → xiaohui joined | 07:33 |
| → jay-m joined | 07:34 |
| ← xiaohui left | 07:35 |
| → xiaohui joined | 07:36 |
| ← xiaohui left | 07:36 |
| → xiaohui joined | 07:37 |
| ← xiaohui left | 07:37 |
| → xiaohui joined | 07:38 |
| ← xiaohui left | 07:38 |
| → thallada joined | 07:40 |
| ← jay-m left | 07:41 |
| → drbean joined | 07:43 |
| ← liyou left | 07:44 |
| → coderkun joined | 07:44 |
| ← doug16k left | 07:45 |
| → xiaohui joined | 07:45 |
| ← xiaohui left | 07:45 |
| ← d^sh left | 07:46 |
| → xiaohui joined | 07:46 |
| → d^sh joined | 07:46 |
| ← xiaohui left | 07:47 |
| → pfleck1 joined | 07:47 |
| → mms_ joined | 07:49 |
| → marcovanest joined | 07:50 |
| lalit → lalitmee | 07:50 |
| ← staafl_ left | 07:51 |
| ← n0body left | 07:51 |
| → xiaohui joined | 07:52 |
| → venmx joined | 07:54 |
| ← muelleme_ left | 07:55 |
| → ocds joined | 07:59 |
| ← xiaohui left | 08:01 |
| ← venmx left | 08:02 |
| ← marcovanest left | 08:03 |
| → n0body joined | 08:04 |
| → nowhere_man joined | 08:04 |
| ← nowhereman_ left | 08:05 |
| → muelleme_ joined | 08:06 |
| → __rob2 joined | 08:08 |
| → jonpetermatt joined | 08:10 |
| ← __rob left | 08:10 |
| ← Bobdude left | 08:14 |
| ← pfleck left | 08:16 |
| pfleck1 → pfleck | 08:16 |
| → Tobbi joined | 08:21 |
| ← ArcaTech left | 08:21 |
| → ArcaTech joined | 08:22 |
| ← ArcaTech left | 08:22 |
| ← energizer left | 08:24 |
| ← ocds left | 08:26 |
| ← d^sh left | 08:26 |
| → d^sh joined | 08:27 |
| ← archer121 left | 08:29 |
| → tvale joined | 08:35 |
| → mar77i_ joined | 08:35 |
| ← mar77i left | 08:36 |
| ← reorder_ left | 08:36 |
| → schleppel joined | 08:39 |
| → jonpetermatt_ joined | 08:42 |
| → pfleck1 joined | 08:43 |
| ← jonpetermatt left | 08:44 |
| ← nowhere_man left | 08:44 |
| ← tvale left | 08:45 |
| → tvale joined | 08:49 |
| igemnace_ → igemnace | 08:52 |
| → KeyJoo joined | 08:54 |
| → MACscr joined | 08:58 |
| → venmx joined | 09:00 |
| → escproxy joined | 09:02 |
| ← mms_ left | 09:04 |
| → sentriz joined | 09:05 |
| → ocds joined | 09:08 |
| → staafl_ joined | 09:08 |
| → dege joined | 09:08 |
| → mms_ joined | 09:08 |
| → re1 joined | 09:09 |
| → __rob joined | 09:10 |
| → hari_ joined | 09:10 |
| → wandering_vagran joined | 09:10 |
| ← __rob2 left | 09:10 |
| ← jonpetermatt_ left | 09:10 |
| ← dreiss left | 09:10 |
| ← supernovah left | 09:10 |
| ← hari_ left | 09:14 |
| ← muricantrump left | 09:15 |
| ← thxffo left | 09:16 |
|
mms_
| ldap auth gerrit does it have issue with notify email to internal groups in gerrit code review ? | 09:17 |
| ← catsup left | 09:18 |
| → catsup joined | 09:18 |
| ← hunterlabs left | 09:18 |
| ← Wulf left | 09:19 |
| ← catsup left | 09:19 |
| ← rkta left | 09:19 |
| → catsup joined | 09:20 |
| ← stevenbenner left | 09:23 |
| ← venmx left | 09:24 |
| ← n0body left | 09:24 |
| → Fernando-Basso joined | 09:24 |
| → math-alpha joined | 09:24 |
| ← goweol left | 09:24 |
| → hunterlabs joined | 09:25 |
| → Gurkenglas joined | 09:25 |
| → amatas joined | 09:25 |
| → supernovah joined | 09:25 |
| → thxffo joined | 09:25 |
| ← dege left | 09:26 |
| → lalit joined | 09:27 |
| ← lalitmee left | 09:28 |
| → howdoi joined | 09:28 |
| ← math-alpha left | 09:29 |
| → lalitmee joined | 09:31 |
| ← lalit left | 09:33 |
| ← weijin left | 09:35 |
| ← pfleck1 left | 09:37 |
| ← mms_ left | 09:38 |
| → doug16k joined | 09:41 |
| ← ocds left | 09:41 |
| → YuGiOhJCJ joined | 09:42 |
| → zefferno joined | 09:42 |
| → jstein_ joined | 09:48 |
| jstein_ → jstein | 09:49 |
| → mms_ joined | 09:50 |
| ← drodger left | 09:50 |
| → MarioBranco joined | 09:50 |
| → drodger joined | 09:55 |
| ← tvale left | 09:58 |
| → jay-m joined | 09:58 |
| → jnavila joined | 09:59 |
| ← Ram-Z left | 10:00 |
| → endiruna joined | 10:00 |
| → weijin joined | 10:01 |
| ← dre_ left | 10:01 |
| ← MarioBranco left | 10:02 |
| ← muelleme_ left | 10:03 |
| ← KeyJoo left | 10:04 |
| → math-alpha joined | 10:04 |
|
mms_
| any one using notify group NAME syntax ? | 10:06 |
|
| with gerrit | 10:06 |
| → MarioBranco joined | 10:07 |
| ← MarioBranco left | 10:07 |
| → jacekbogdanski joined | 10:08 |
| ← math-alpha left | 10:08 |
| ← supernovah left | 10:10 |
| → chris_wot joined | 10:11 |
| ← King_Hual left | 10:11 |
| → tvale joined | 10:12 |
| → leeN joined | 10:13 |
| ← mms_ left | 10:13 |
| → venmx joined | 10:17 |
| → Ram-Z joined | 10:18 |
| → manuelschneid3r joined | 10:18 |
| ← doug16k left | 10:18 |
| → mms_ joined | 10:20 |
| → supernovah joined | 10:23 |
| → nowhere_man joined | 10:23 |
| ← venmx left | 10:29 |
| → venmx joined | 10:30 |
| → doug16k joined | 10:30 |
| ← mms_ left | 10:30 |
| → MutantMahesh joined | 10:34 |
| ← kanzure left | 10:34 |
| → kanzure joined | 10:34 |
| gitinfo set mode: +v | 10:34 |
| → mms_ joined | 10:34 |
| ← mms_ left | 10:37 |
| → rkta joined | 10:37 |
| ← MutantMahesh left | 10:38 |
| → mms_ joined | 10:39 |
| ← jnavila left | 10:41 |
| ← andyhuzhill left | 10:41 |
| → \void joined | 10:42 |
| ← jast left | 10:44 |
| → kostur86 joined | 10:45 |
| → Karyon joined | 10:46 |
| ← widp left | 10:46 |
| ← lalitmee left | 10:46 |
| → mostlybadfly joined | 10:47 |
| ← justanotheruser left | 10:47 |
| ← thinkpad left | 10:48 |
| ← endiruna left | 10:49 |
| → jast joined | 10:49 |
| ← mms_ left | 10:50 |
| ← NerdyPepper left | 10:50 |
| → MutantMahesh joined | 10:51 |
| ← tunekey left | 10:53 |
| ← jast left | 10:53 |
| → MarioBranco joined | 10:54 |
| ← rkta left | 10:55 |
| → endiruna joined | 10:56 |
| mar77i_ → mar77i | 10:57 |
| ← chris_wot left | 10:57 |
| → chris_wot joined | 10:58 |
| ← tvale left | 11:00 |
| → coco joined | 11:02 |
| ← jstein left | 11:03 |
| ← supernovah left | 11:04 |
| ← gitinfo left | 11:05 |
| ← chris_wot left | 11:06 |
| → chris_wot joined | 11:07 |
| ← venmx left | 11:07 |
| ← chris_wot left | 11:07 |
| ← zulutango left | 11:07 |
| → chris_wot joined | 11:08 |
| → zulutango joined | 11:08 |
| → thinkpad joined | 11:09 |
| ← chris_wot left | 11:10 |
| → jast joined | 11:12 |
| → supernovah joined | 11:14 |
| → _ADN_ joined | 11:15 |
| ← jast left | 11:16 |
| ← _aeris_ left | 11:17 |
| → n0body joined | 11:18 |
| → bartman joined | 11:19 |
| ← APic left | 11:22 |
| ← supernovah left | 11:23 |
| → CodeSlingerPaul joined | 11:24 |
| ← thinkpad left | 11:26 |
| → thinkpad joined | 11:29 |
| → noobineer joined | 11:29 |
| → toydestroyer_ joined | 11:30 |
| → VeeEm joined | 11:30 |
| → ams__ joined | 11:30 |
| ← toydestroyer left | 11:31 |
| ← VeeEm left | 11:31 |
| → volkomeister joined | 11:33 |
| ← volkomeister left | 11:33 |
| → bsanford joined | 11:35 |
| → jost joined | 11:35 |
| → tymczenko joined | 11:35 |
| ← pgupta left | 11:36 |
| → Wulf joined | 11:39 |
| → jast joined | 11:40 |
| → Nizumzen joined | 11:40 |
| → gitinfo joined | 11:41 |
| ChanServ set mode: +o | 11:41 |
| → Cavallari joined | 11:41 |
| → pfleck1 joined | 11:42 |
| ← pfleck left | 11:43 |
| pfleck1 → pfleck | 11:43 |
| → Singmyr joined | 11:43 |
| ← jacekbogdanski left | 11:44 |
| ← dpyro left | 11:45 |
| → NerdyPepper joined | 11:46 |
| ← thinkpad left | 11:46 |
| → fr33domlover joined | 11:47 |
| → mms_ joined | 11:47 |
| → thinkpad joined | 11:48 |
| → supernovah joined | 11:50 |
| ← YuGiOhJCJ left | 11:51 |
| → _aeris_ joined | 11:53 |
| ← _aeris_ left | 11:53 |
| ← noobineer left | 11:55 |
|
mms_
| any one using gerrit and configured notify group NAME syntax ? | 11:55 |
| → _aeris_ joined | 11:55 |
| ← thinkpad left | 11:55 |
| ← peepsalot left | 11:56 |
| ← speedmann left | 11:56 |
| → lalitmee joined | 11:59 |
| → acidjnk joined | 11:59 |
|
acidjnk
| hello | 12:00 |
|
| When I'm developing on a 1.3 branch and a 1.2 branch. And then I need a quick fix on the 1.2-branch, but that totally doesn't apply to 1.3 which handles the situation completely differently. Can I merge 99 % of 1.2-changes to 1.3, but skip that kind of quick fix? | 12:01 |
| ← markmarkmark left | 12:02 |
| → markmarkmark joined | 12:02 |
| → widp joined | 12:03 |
| ← igemnace left | 12:03 |
| ← NerdyPepper left | 12:08 |
| → n0b0dy joined | 12:08 |
| → NerdyPepper joined | 12:08 |
| ← CodeSlingerPaul left | 12:09 |
| → synthroid joined | 12:09 |
| ← supernovah left | 12:10 |
| → peepsalot joined | 12:10 |
| → CodeSlingerPaul joined | 12:11 |
| ← n0body left | 12:12 |
| ← NerdyPepper left | 12:12 |
| ← fr33domlover left | 12:13 |
| → NerdyPepper joined | 12:13 |
| → thinkpad joined | 12:15 |
| ← Nizumzen left | 12:17 |
| ← CodeSlingerPaul left | 12:17 |
| → tvale joined | 12:17 |
| → CodeSlingerPaul joined | 12:19 |
| → Nizumzen joined | 12:20 |
| → reprazent joined | 12:22 |
| → Karyon_ joined | 12:23 |
| ← zulutango left | 12:23 |
| → duderono_ joined | 12:25 |
| ← Trieste left | 12:25 |
| ← reprazent left | 12:26 |
| ← Karyon left | 12:27 |
| ← CodeSlingerPaul left | 12:27 |
| → speedmann joined | 12:28 |
| → Trieste joined | 12:28 |
| ← duderonomy left | 12:28 |
| ← Wulf left | 12:29 |
| → CodeSlingerPaul joined | 12:29 |
| → Wulf joined | 12:30 |
| ← duderono_ left | 12:30 |
| ← mms_ left | 12:31 |
| ← speedmann left | 12:31 |
| → reprazent joined | 12:34 |
| → jacekbogdanski joined | 12:35 |
| ← plasticboy left | 12:37 |
| → plasticboy joined | 12:39 |
| ← yn left | 12:39 |
| ← thinkpad left | 12:40 |
| ← manuelschneid3r left | 12:42 |
| → yn joined | 12:43 |
| ← reprazent left | 12:44 |
| → thinkpad joined | 12:44 |
| ← MutantMahesh left | 12:44 |
| → ecuanaso joined | 12:44 |
| ← felixsanz left | 12:45 |
| → felixsanz_ joined | 12:45 |
| → jacekbog1 joined | 12:46 |
| ← jacekbogdanski left | 12:46 |
| → SwiftMatt joined | 12:47 |
| ← SwiftMatt left | 12:48 |
| ← weijin left | 12:49 |
| → kes joined | 12:52 |
| → pp5mgt joined | 12:53 |
| → reprazent joined | 12:54 |
| ← jay-m left | 12:54 |
| ← bsanford left | 12:57 |
| → jay-m joined | 12:58 |
| → RougeR joined | 12:59 |
| ← RougeR left | 12:59 |
| → RougeR joined | 12:59 |
| ← jacekbog1 left | 12:59 |
| → jstein_ joined | 13:00 |
| jstein_ → jstein | 13:00 |
| → paxri01 joined | 13:00 |
| ← _aeris_ left | 13:01 |
| ← tvale left | 13:01 |
| → _aeris_ joined | 13:01 |
| ← lalitmee left | 13:02 |
| ← TSS_ left | 13:02 |
| → speedmann joined | 13:04 |
| → venmx joined | 13:10 |
|
coderkun
| Maybe cherry-pick a range | 13:10 |
|
| https://git-scm.com/docs/git-cherry-pick | 13:10 |
| ← armin left | 13:10 |
| → armin joined | 13:11 |
| → muelleme_ joined | 13:11 |
| → kuka joined | 13:12 |
|
oxymoron93
| acidjnk: ^ | 13:13 |
| ← khisanth_ left | 13:15 |
| → tvale joined | 13:15 |
| ← widp left | 13:16 |
| → SwiftMatt joined | 13:16 |
| ← acidjnk left | 13:18 |
| → chalupajack joined | 13:18 |
| → APic joined | 13:18 |
| → weijin joined | 13:20 |
| ← rchavik left | 13:21 |
| ← endiruna left | 13:21 |
| → sleepingforest joined | 13:22 |
| → duderonomy joined | 13:23 |
| → linuxmodder joined | 13:23 |
| ← weijin left | 13:24 |
| → thebope joined | 13:25 |
| ← kuka left | 13:27 |
| → khisanth_ joined | 13:28 |
| ← howdoi left | 13:28 |
| → weijin joined | 13:28 |
| ← SwiftMatt left | 13:29 |
| ← gusnan left | 13:30 |
| ← naoey left | 13:32 |
| ← weijin left | 13:33 |
| → naoey joined | 13:34 |
| ← jcarpenter2 left | 13:34 |
| → reorder_ joined | 13:35 |
| ← raynold left | 13:36 |
| ← lightstalker left | 13:40 |
| ← ecuanaso left | 13:41 |
| → ocds joined | 13:42 |
| ← LichtMacher left | 13:42 |
| → lightstalker joined | 13:43 |
| ← ocds left | 13:44 |
| → sepher joined | 13:44 |
| → ecuanaso joined | 13:45 |
| ← duderonomy left | 13:45 |
| ← thebope left | 13:46 |
| → thebope joined | 13:47 |
| → duderonomy joined | 13:47 |
| ← kanzure left | 13:47 |
| ← oxymoron93 left | 13:48 |
| → griffindy joined | 13:48 |
| ← jay-m left | 13:49 |
| ← shinnya left | 13:49 |
| ← griffindy left | 13:49 |
| → chris_wot joined | 13:49 |
| → Dougie187 joined | 13:50 |
| ← _ADN_ left | 13:51 |
| ← thebope left | 13:51 |
| → griffindy joined | 13:52 |
| ← griffindy left | 13:53 |
| → _ADN_ joined | 13:53 |
| → d10n-work joined | 13:54 |
| ← _ADN_ left | 13:55 |
| → _ADN_ joined | 13:56 |
| ← reprazent left | 13:57 |
|
d10n-work
| When running `git gui`, I frequently get a notice "This repo has ~5500 loose objects. [...] Compress the database now?" - even shortly after running git gc. What are big causes of loose objects? | 13:58 |
|
plexigras
| is there a nice way to display what files are tracked, modified, cached, and untracked? | 13:59 |
| → griffindy joined | 14:00 |
|
plexigras
| i know i can do git ls-files | 14:00 |
|
d10n-work
| plexigras: `git status -u` | 14:00 |
| → weijin joined | 14:00 |
|
d10n-work
| you may not need the -u flag. `git status` should show all that by default I think | 14:01 |
| → kanzure joined | 14:01 |
| ← _ADN_ left | 14:01 |
|
plexigras
| yes thanks | 14:01 |
|
d10n-work
| oh, reading your question again, maybe I misunderstood what you want - do you want to include unmodified files in the output? | 14:02 |
| ← griffindy left | 14:02 |
|
plexigras
| it would be cool but its not highly necessary | 14:02 |
| → testnick123 joined | 14:04 |
| ← dsdeiz left | 14:06 |
| ← duderonomy left | 14:06 |
| → _ADN_ joined | 14:07 |
|
d10n-work
| looks like `git ls-files -tcdmo` includes unmodified files | 14:08 |
| ← testnick123 left | 14:08 |
| → YuGiOhJCJ joined | 14:08 |
| ← weijin left | 14:09 |
| → dsdeiz joined | 14:10 |
| ← dsdeiz left | 14:10 |
| → dsdeiz joined | 14:10 |
|
plexigras
| but its not honoring .gitignore? | 14:11 |
| → thiago joined | 14:11 |
|
d10n-work
| it looks like you can add the `--exclude-standard` flag to honor .gitignore | 14:12 |
| → muricantrump joined | 14:17 |
| ← YuGiOhJCJ left | 14:17 |
| ← Gurkenglas left | 14:18 |
| ← Wulf left | 14:21 |
| ← synthroid left | 14:24 |
| → acidjnk joined | 14:24 |
| → rafasc joined | 14:25 |
| ← tvale left | 14:26 |
| → howdoi joined | 14:26 |
| → LichtMacher joined | 14:27 |
| ← escproxy left | 14:27 |
| → testnick123 joined | 14:28 |
| → synthroid joined | 14:28 |
| → Wulf joined | 14:28 |
| → supernovah joined | 14:29 |
| → weijin joined | 14:31 |
| ← muelleme_ left | 14:32 |
| ← ShapeShifter499 left | 14:36 |
| ← weijin left | 14:36 |
| → Whiskey joined | 14:37 |
| → weijin joined | 14:37 |
| → kuka joined | 14:38 |
| → ShapeShifter499 joined | 14:39 |
| ← testnick123 left | 14:39 |
| ← ShapeShifter499 left | 14:40 |
| → moei joined | 14:40 |
| → jready joined | 14:40 |
| → ShapeShifter499 joined | 14:41 |
| → al-damiri joined | 14:41 |
| → tvale joined | 14:41 |
| ← weijin left | 14:41 |
| → kn-928 joined | 14:42 |
| ← kuka left | 14:43 |
| → Phylock joined | 14:46 |
| ← kostur86 left | 14:48 |
| → UTAN_dev joined | 14:48 |
| → crose joined | 14:48 |
| ← msp301 left | 14:49 |
| ← linuxmodder left | 14:50 |
| → Mike11 joined | 14:50 |
| → msp301 joined | 14:50 |
| ← Case_Of left | 14:51 |
| → Case_Of joined | 14:52 |
| → mrom joined | 14:53 |
| → mniip joined | 14:53 |
| ← Singmyr left | 14:54 |
| ← tkore left | 14:56 |
| ← mrom left | 14:59 |
| ← venmx left | 15:01 |
| → Es0teric joined | 15:01 |
| → fahadash joined | 15:03 |
| → YuGiOhJCJ joined | 15:04 |
| ← Cavallari left | 15:04 |
| → FrostCandy joined | 15:05 |
| → raynold joined | 15:07 |
| ← govg left | 15:08 |
| → duderonomy joined | 15:08 |
| → greggerz joined | 15:09 |
| ← sanscoeur left | 15:10 |
| ← kanzure left | 15:10 |
| → escproxy joined | 15:11 |
| → morenoh149 joined | 15:11 |
|
morenoh149
| is there anyway to tell git not to attempt to merge a file when doing git merge <branch> ? | 15:12 |
|
| it's doing a pretty bad job in this particular instance and I'd like to handle it myself | 15:12 |
| ← synthroid left | 15:13 |
|
canton7
| morenoh149, you can merge with --no-commit, fix it up, then complete the merge | 15:13 |
| ← zefferno left | 15:15 |
| ← duderonomy left | 15:15 |
|
canton7
| (using checkout --ours/--theirs/--merge as you want) | 15:15 |
| → jimmyrcom joined | 15:17 |
| → madewokherd joined | 15:18 |
| → sammyg joined | 15:19 |
| ← supernovah left | 15:20 |
| ← ghormoon left | 15:22 |
| → synthroid joined | 15:23 |
| ← msp301 left | 15:23 |
| → msp301 joined | 15:24 |
| → synthroi_ joined | 15:24 |
| ← synthroid left | 15:24 |
| → weijin joined | 15:25 |
| → dreiss joined | 15:27 |
| → ghormoon joined | 15:28 |
| ← weijin left | 15:30 |
| → kanzure joined | 15:31 |
| → govg joined | 15:32 |
| ← hunterlabs left | 15:33 |
| → goodafternoon joined | 15:34 |
|
plexigras
| is there a way to have git ls-files not be recursive? | 15:35 |
|
| so only the folder names are shown | 15:35 |
| ← msp301 left | 15:36 |
|
_ikke_
| plexigras: depending on what you want, git ls-tree might be suitable | 15:36 |
| → hunterlabs joined | 15:36 |
|
plexigras
| nvm its a bad idea anyway | 15:36 |
| ← Karyon_ left | 15:36 |
| → msp301 joined | 15:36 |
| ← govg left | 15:37 |
| → govg joined | 15:38 |
| ← crose left | 15:38 |
| ← nielsk left | 15:39 |
| ← jready left | 15:41 |
| → nd joined | 15:42 |
| → kuka joined | 15:43 |
| → cagomez joined | 15:43 |
| ← msp301 left | 15:43 |
| ← nd_ left | 15:44 |
| → msp301 joined | 15:45 |
| → weijin joined | 15:46 |
| → nielsk joined | 15:48 |
| → noobineer joined | 15:48 |
| ← weijin left | 15:51 |
| → wreed joined | 15:53 |
| → ferdna joined | 15:55 |
| → jnavila joined | 15:55 |
| ← kes left | 15:56 |
| → dendazen joined | 15:56 |
| ← nielsk left | 15:56 |
| → paul424 joined | 15:56 |
| → jnewt_ joined | 16:01 |
| → sat-aton__ joined | 16:02 |
| ← jimmyrcom left | 16:03 |
| ← sat-aton left | 16:05 |
|
jnewt_
| i have a local copy of a github repo. the repo has a pull request that is not merged. i want to merge that into my local copy. | 16:05 |
| ← sammyg left | 16:06 |
| ← _ADN_ left | 16:06 |
| → flippedouttt joined | 16:06 |
| → _ADN_ joined | 16:06 |
|
rafasc
| jnewt_: github stores pull requests under refs/pull/ID/head | 16:07 |
| → SwiftMatt joined | 16:07 |
|
rafasc
| https://help.github.com/articles/checking-out-pull-requests-locally/ | 16:07 |
|
jnewt_
| https://gist.github.com/piscisaureus/3342247 i found that, seems overly complicated. do i really need to modify my local .git/config? | 16:07 |
| → nielsk joined | 16:08 |
| ← ecuanaso left | 16:08 |
| ← tt left | 16:08 |
|
rafasc
| if it's a one time thing, you can follow the github documentation url. | 16:09 |
| → ecuanaso joined | 16:10 |
|
rafasc
| that approach you linked is for when you're interested in all PRs and want to make things more permanent. | 16:11 |
| ← ecuanaso left | 16:11 |
| ← tvale left | 16:12 |
| ← Kaisyu left | 16:15 |
| → nohop joined | 16:16 |
|
nohop
| I have made a bunch of changes in a branch called "develop" that i haven't pushed yet. What's a safe way to temporarily 'switch' to the remote branch 'develop', and later switch back to my local one ? | 16:17 |
| → Karyon_ joined | 16:18 |
| → justanotheruser joined | 16:19 |
| ← kn-928 left | 16:20 |
| → weijin joined | 16:20 |
| → phluks joined | 16:20 |
| → UTAN_dev_ joined | 16:22 |
| → menip joined | 16:23 |
| ← menip left | 16:23 |
| → muelleme_ joined | 16:25 |
| ← weijin left | 16:25 |
| ← UTAN_dev left | 16:25 |
| ← dendazen left | 16:26 |
| ← ejsf left | 16:26 |
| → tt joined | 16:27 |
| ← NerdyPepper left | 16:27 |
| → ejsf joined | 16:27 |
| → eche779 joined | 16:28 |
| ← eche779 left | 16:30 |
| ← justanotheruser left | 16:32 |
| → eche779 joined | 16:33 |
| → weijin joined | 16:33 |
| → dendazen joined | 16:33 |
| ← finalbeta left | 16:33 |
| ← eche779 left | 16:33 |
|
rafasc
| nohop: create a branch out of the remote branch develop and switch to it. | 16:33 |
| → finalbeta joined | 16:34 |
|
rafasc
| smoothing like $git checkout -b newbranch origin/develop; | 16:34 |
|
| something* | 16:35 |
| ← muelleme_ left | 16:35 |
| ← kuka left | 16:36 |
| ← weijin left | 16:38 |
| ← beerdrop left | 16:39 |
| → synthroid joined | 16:39 |
| ← fletom left | 16:41 |
| ← tymczenko left | 16:43 |
| ← synthroi_ left | 16:43 |
| → ecuanaso joined | 16:43 |
| ← howdoi left | 16:45 |
| ← acidjnk left | 16:45 |
| ← Mike11 left | 16:47 |
| ← ecuanaso left | 16:47 |
| ← kanzure left | 16:48 |
| → kanzure joined | 16:48 |
| ← rafasc left | 16:49 |
| → hmoreno joined | 16:49 |
| ← jnavila left | 16:49 |
| → rafasc joined | 16:50 |
| → fr33domlover joined | 16:50 |
| ← dendazen left | 16:50 |
| → sanscoeur joined | 16:50 |
| ← sanscoeur left | 16:51 |
| → kuka joined | 16:51 |
| ← morenoh149 left | 16:51 |
| ← kuka left | 16:55 |
| → sanscoeur joined | 16:55 |
| ← dreiss left | 16:57 |
| ← goodafternoon left | 16:58 |
| → durham joined | 16:58 |
| → akushner joined | 16:58 |
| → dreiss joined | 16:59 |
| → dpyro joined | 17:00 |
| → weijin joined | 17:01 |
| → reprazent joined | 17:01 |
| ← cagomez left | 17:03 |
| → cagomez joined | 17:04 |
| ← cagomez left | 17:05 |
| ← weijin left | 17:05 |
| → NerdyPepper joined | 17:05 |
| ← dpyro left | 17:06 |
| ← wreed left | 17:07 |
| → dpyro joined | 17:07 |
| ← dreiss left | 17:08 |
| → Gurkenglas joined | 17:08 |
| → m0viefreak joined | 17:08 |
| ← jstein left | 17:09 |
| → tymczenko joined | 17:14 |
| → kgrimes joined | 17:15 |
| ← tt left | 17:17 |
| → hbautista joined | 17:18 |
| → energizer joined | 17:19 |
| → palmtree joined | 17:20 |
| → UTAN_dev joined | 17:20 |
| → tt joined | 17:21 |
| → sammyg joined | 17:21 |
| → TSS_ joined | 17:21 |
| ← UTAN_dev_ left | 17:23 |
| ← tymczenko left | 17:28 |
| → linuxmodder joined | 17:29 |
| → SJr joined | 17:30 |
| → muelleme_ joined | 17:31 |
| → Cavallari joined | 17:32 |
| → g00s joined | 17:35 |
| → stutter_ joined | 17:36 |
| ← muelleme_ left | 17:36 |
| → weijin joined | 17:36 |
| ← wandering_vagran left | 17:38 |
| ← SwiftMatt left | 17:38 |
| ← LiftLeft left | 17:39 |
| → cagomez joined | 17:40 |
| ← weijin left | 17:41 |
| \void → Time-Warp | 17:43 |
| → weijin joined | 17:44 |
| ← re1 left | 17:44 |
| Time-Warp → \void | 17:44 |
| → jready joined | 17:45 |
| → rkta joined | 17:46 |
| ← ams__ left | 17:47 |
| ← weijin left | 17:48 |
| → star_prone joined | 17:49 |
| ← mmattice left | 17:50 |
| → kn-928 joined | 17:50 |
| ← Wulf left | 17:50 |
| → LiftLeft joined | 17:51 |
| ← amatas left | 17:52 |
| ← surfist left | 17:53 |
| → muelleme_ joined | 17:55 |
| ← MarioBranco left | 17:55 |
| → UTAN_dev_ joined | 17:56 |
| ← theskillwithin left | 17:56 |
| → theskillwithin joined | 17:57 |
| → sunrunner20 joined | 17:58 |
| ← UTAN_dev left | 17:58 |
|
JJonah
| Is there a difftool like vimdiff that will output directly into the terminal the way default diff output does rather than launching a gui program? you can assume a sufficiently wide terminal. | 17:59 |
|
tang^
| use vimdiff? | 18:00 |
| ← star_prone left | 18:00 |
|
JJonah
| tang^: when i use vimdiff it opens vim | 18:01 |
| → acidjnk joined | 18:01 |
| → surfist joined | 18:01 |
| → akushner_ joined | 18:01 |
|
tang^
| oh, straight drop to terminal | 18:02 |
| → cdleonard joined | 18:02 |
| → jmenbo joined | 18:02 |
|
canton7
| JJonah, like diff -y ? | 18:02 |
|
Pennth
| having trouble with github since they disallowed TLS1.0. I've recompiled openssl and curl for a Red Hat 5 box that I can't just get rid of. curl to github is fine, but git fails over https and just hangs with git:// | 18:03 |
|
JJonah
| tang^: yes | 18:03 |
| ← vdamewood left | 18:03 |
|
Pennth
| Is there anything I can add to .git/config or /etc/profile.d that can fix this? | 18:04 |
| ← akushner left | 18:04 |
|
JJonah
| canton7: can you elaborate? what command are suggesting? | 18:04 |
|
canton7
| JJonah, diff -y ? | 18:05 |
|
| the `diff` command with the `y` flag | 18:05 |
|
tang^
| Pennth: if it's RHEL5, they'll tell you to upgrade to a supported version | 18:05 |
|
| github removed git:// access a while ago | 18:06 |
| ← reprazent left | 18:06 |
|
| JJonah canton7: i'm still not following how that answers my question. this is what i see with that: | 18:06 |
|
JJonah
| $ g diff -y master | 18:06 |
|
| usage: git diff [<options>] [<commit> [<commit>]] [--] [<path>...] | 18:06 |
| ← energizer left | 18:07 |
|
tang^
| set diff as your difftool | 18:07 |
|
| man git-config | 18:07 |
|
gitinfo
| the git-config manpage is available at https://gitirc.eu/git-config.html | 18:07 |
| → Singmyr joined | 18:08 |
| → kneeki joined | 18:08 |
| → dimi1947 joined | 18:08 |
| ← kanzure left | 18:09 |
|
JJonah
| tang^: sorry, i get it now. but it still asks to launch when i do that: | 18:09 |
|
| $ g difftool -t "diff -y" master | 18:09 |
|
| Viewing (1/69): 'Dockerfile' | 18:09 |
|
| Launch 'diff -y' [Y/n]? Y | 18:09 |
|
Pennth
| tang^, What should I change the URL protocol to in .git/config? | 18:09 |
|
tang^
| Pennth: personally, I use SSH everywhere | 18:10 |
|
canton7
| JJonah, you'll want diff.externel, not difftool, iirc | 18:11 |
|
| *diff.external | 18:11 |
|
| JJonah, e.g. https://stackoverflow.com/questions/7669963/how-can-i-get-a-side-by-side-diff-when-i-do-git-diff | 18:11 |
|
| (and other links from https://www.google.co.uk/search?q=git+diff+side+by+side) | 18:11 |
| → Sasazuka joined | 18:13 |
| → weijin joined | 18:14 |
| ← rafasc left | 18:16 |
| → testnick123 joined | 18:16 |
| ← coderkun left | 18:16 |
| → rafasc joined | 18:17 |
| ← felixsanz_ left | 18:17 |
| ← paul424 left | 18:17 |
| ← hmoreno left | 18:17 |
| ← minionofgozer left | 18:18 |
| ← weijin left | 18:19 |
| → minionofgozer joined | 18:19 |
| → Guest21 joined | 18:20 |
| ← jnewt_ left | 18:20 |
| → tunekey joined | 18:21 |
| ← sauvin left | 18:24 |
| ← i7c left | 18:25 |
| → nioncode_ joined | 18:25 |
| ← nioncode left | 18:25 |
| ← akushner_ left | 18:26 |
| → nixjdm joined | 18:26 |
| → akushner joined | 18:27 |
| → boombatower joined | 18:27 |
| → durham_ joined | 18:27 |
| ← opalepatrick left | 18:28 |
| ← kgrimes left | 18:29 |
| ← ferdna left | 18:29 |
| ← chalupajack left | 18:30 |
| ← jleclanche left | 18:30 |
| ← durham left | 18:31 |
| ← minionofgozer left | 18:32 |
| → joekeilty joined | 18:32 |
| ← akushner left | 18:32 |
| → SwiftMatt joined | 18:32 |
| → minionofgozer joined | 18:32 |
| ← durham_ left | 18:32 |
| ← joekeilty left | 18:34 |
|
JJonah
| canton7: ty | 18:35 |
| → cpr joined | 18:37 |
| → hmoreno joined | 18:38 |
| ← cpr left | 18:39 |
| ← nielsk left | 18:40 |
| → nowhereman_ joined | 18:40 |
| ← minionofgozer left | 18:41 |
| → kanzure joined | 18:41 |
| → minionofgozer joined | 18:42 |
| → cpr joined | 18:42 |
| ← linuxmodder left | 18:42 |
| ← hmoreno left | 18:42 |
| ← nowhere_man left | 18:44 |
| ← Karyon_ left | 18:45 |
| ← drodger left | 18:46 |
| → weijin joined | 18:46 |
| → hmoreno joined | 18:46 |
| → crose joined | 18:47 |
| → nielsk joined | 18:47 |
| → drodger joined | 18:47 |
| ← drodger left | 18:47 |
| ← cpr left | 18:48 |
| → user__ joined | 18:49 |
| ← minionofgozer left | 18:51 |
| ← weijin left | 18:51 |
| ← muelleme_ left | 18:51 |
| → minionofgozer joined | 18:52 |
| → drodger joined | 18:52 |
| ← SCHAPiE left | 18:52 |
| → wreed joined | 18:53 |
| ← kn-928 left | 18:54 |
| → bemo joined | 18:57 |
| ← FrostCandy left | 18:57 |
| → ocds joined | 18:58 |
| ← wreed left | 18:58 |
| → SCHAPiE joined | 19:00 |
| → xeno joined | 19:01 |
| ← RougeR left | 19:02 |
| → FrostCandy joined | 19:02 |
| ← bemo left | 19:03 |
| → hmoreno1 joined | 19:04 |
| → ecuanaso joined | 19:04 |
| ← hmoreno left | 19:05 |
| → weijin joined | 19:06 |
| ← palmtree left | 19:07 |
| ← YuGiOhJCJ left | 19:08 |
| → beerdrop joined | 19:08 |
| ← crose left | 19:08 |
| ← fr33domlover left | 19:09 |
| → fr33domlover joined | 19:10 |
| → jottr_ joined | 19:10 |
| ← weijin left | 19:10 |
| → IndianArya joined | 19:11 |
| → chaosruler joined | 19:12 |
| → Sonderblade joined | 19:12 |
| → palmtree joined | 19:12 |
| → Bobdude joined | 19:13 |
| ← ocds left | 19:13 |
| ← finalbeta left | 19:13 |
| → finalbeta joined | 19:14 |
| ← testnick123 left | 19:15 |
| ← jottr_ left | 19:16 |
| → tymczenko joined | 19:17 |
| → hanna` joined | 19:18 |
| → jottr_ joined | 19:20 |
| → manuelschneid3r joined | 19:20 |
| → crmne joined | 19:20 |
| ← hanna left | 19:21 |
| → gunix joined | 19:21 |
|
gunix
| hello | 19:21 |
|
gitinfo
| gunix: 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. | 19:21 |
| → weijin joined | 19:21 |
| ← arecaceae left | 19:21 |
|
gunix
| i am following this tutorial: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ | 19:22 |
| → arecaceae joined | 19:22 |
|
gunix
| and i am getting this errors: https://bpaste.net/show/a0ae90806710 | 19:22 |
|
| *these | 19:22 |
| ← kanzure left | 19:23 |
|
gunix
| nevermind, this fixed it: git pull origin master --allow-unrelated-histories | 19:24 |
| ← jottr_ left | 19:24 |
|
gunix
| however, --allow-unrelated-histories is not part of autocomplete and that is confusing | 19:24 |
| → chaosruler_ joined | 19:24 |
| ← cagomez left | 19:24 |
| → star_prone joined | 19:25 |
| → cagomez joined | 19:25 |
| ← dimi1947 left | 19:26 |
| ← chaosruler left | 19:26 |
| ← weijin left | 19:26 |
| hanna` → hanna | 19:29 |
| → Karyon_ joined | 19:29 |
| ← star_prone left | 19:29 |
| ← cagomez left | 19:30 |
| → cfoch__ joined | 19:32 |
| → i7c joined | 19:32 |
| → VoradorPT joined | 19:33 |
| ← palmtree left | 19:34 |
| ← Nokurn left | 19:34 |
| → cpr joined | 19:34 |
| → Nokurn joined | 19:35 |
| ← cpr left | 19:36 |
| → dege joined | 19:37 |
| ← Karyon_ left | 19:37 |
| → Karyon_ joined | 19:38 |
| sammyg → torvalds | 19:39 |
| → fletom joined | 19:39 |
| → jungsubk joined | 19:39 |
| torvalds → sammyg | 19:40 |
| → cagomez joined | 19:41 |
| ← cagomez left | 19:46 |
| ← jungsubk left | 19:46 |
| ← borkr left | 19:46 |
| → jungsubk joined | 19:47 |
|
rafasc
| gunix: --allow-unrelated-histories is no a part of autocompletion because usually is not what people want. | 19:47 |
|
| https://ptpb.pw/sVE2 | 19:47 |
|
| your repository now has two root commits. | 19:47 |
| → Raed|Laptop_ joined | 19:49 |
| ← LichtMacher left | 19:49 |
| ← nikheizen left | 19:51 |
| ← Raed|Laptop_ left | 19:53 |
| → joekeilty joined | 19:54 |
| → weijin joined | 19:55 |
| → cagomez joined | 19:57 |
|
gunix
| rafasc: how did you see that? | 19:58 |
|
rafasc
| !lol | 19:58 |
|
gitinfo
| A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all | 19:58 |
| → Raed|Laptop joined | 19:58 |
| ← weijin left | 20:00 |
| ← IndianArya left | 20:00 |
| → kuka joined | 20:00 |
|
nohop
| rafasc> nohop: create a branch out of the remote branch develop and switch to it. | 20:01 |
| ← cagomez left | 20:02 |
|
nohop
| Yeah, that's actually what I ended up doing. I was wondering if there was a simpler thing like git somethingsomething origin/develop :) | 20:02 |
| → sanscoeu_ joined | 20:02 |
| xcm → Guest80730 | 20:03 |
| ← Guest80730 left | 20:03 |
| → xcm joined | 20:03 |
|
rafasc
| nohop: you can checkout origin/develop directly, that will leave in the detached head state. | 20:04 |
| → star_prone joined | 20:04 |
| → kgrimes joined | 20:04 |
|
rafasc
| not sure what you wanted to do, so I suggested the safe way to do it. | 20:05 |
| ← muricantrump left | 20:05 |
| ← sanscoeur left | 20:06 |
|
rafasc
| but you could do something like: git checkout origin/develop; do something; git commit; git merge develop; | 20:06 |
|
| if happy with the result, git branch -f develop HEAD; | 20:07 |
| → palmtree joined | 20:08 |
| → mmattice joined | 20:09 |
| → unreal joined | 20:09 |
|
rafasc
| you avoid creating the temporary branch, but you're using more things that could potentially be a pain in the ass. | 20:10 |
| → weijin joined | 20:11 |
| → cagomez joined | 20:12 |
| ← hmoreno1 left | 20:15 |
| ← Guest9757 left | 20:15 |
| ← kuka left | 20:16 |
| ← Puffball_ left | 20:16 |
| ← weijin left | 20:16 |
| ← cagomez left | 20:16 |
| → kuka joined | 20:16 |
| → cagomez joined | 20:17 |
| ← Raed|Laptop left | 20:17 |
| → csaba2 joined | 20:19 |
| ← Nokurn left | 20:19 |
| ← beerdrop left | 20:19 |
| → Nokurn joined | 20:20 |
| ← Nokurn left | 20:21 |
|
csaba2
| hello, I've created a git repo on my windows 7 machine... then on my win10 laptop I cloned the repo and made some changes... now I want to push the changes back to the original repo, but I get error message | 20:22 |
| ← joekeilty left | 20:22 |
| → Nokurn joined | 20:22 |
|
csaba2
| "unable to write sha1 filename ./objects/pack/pack-6c530e1" | 20:22 |
|
| why isn't it working? | 20:23 |
| ← user__ left | 20:23 |
| ← jungsubk left | 20:23 |
|
rafasc
| csaba2: seems like a permission issue. | 20:24 |
| ← drodger left | 20:24 |
| → Anthaas joined | 20:24 |
|
csaba2
| yes :) but what needs to be fixed? I could clone it without any issues, so technically the push should work too | 20:24 |
|
| the directory on the original repo is shared with read/write permission | 20:25 |
| → drodger joined | 20:26 |
|
rafasc
| did you trim the path? or is it truncated to "./objects/pack/pack-6c530e1" ? | 20:26 |
|
csaba2
| ah ok I found the solution: https://stackoverflow.com/questions/6551441/git-error-unable-to-write-sha1-filename-permission-denied/6553594#6553594 | 20:26 |
|
| needed to run this config: | 20:26 |
|
| git config core.sharedRepository true | 20:26 |
|
rafasc
| !rubberducking | 20:28 |
|
gitinfo
| We love being your rubber ducks! Just tell us what your problem is, and maybe you'll find the solution yourself! Our favorite questions are the ones we don't need to answer. (Don't forget to mention your solution for posterity's benefit!) | 20:28 |
|
rafasc
| :) | 20:28 |
| ← peepsalot left | 20:29 |
| ← sanscoeu_ left | 20:29 |
| → sanscoeur joined | 20:30 |
|
rafasc
| csaba2: when working with non-bare repos it's usually preferred to pull from the other side over pushing to it. | 20:30 |
| → hmoreno1 joined | 20:32 |
| ← kuka left | 20:32 |
| ← palmtree left | 20:32 |
| → weijin joined | 20:32 |
| → beerdrop joined | 20:34 |
| → wootehfoot joined | 20:34 |
| → palmtree joined | 20:35 |
| ← Karyon_ left | 20:35 |
| ← weijin left | 20:37 |
| → Mattiaslndstrm joined | 20:38 |
| ← crmne left | 20:39 |
| ← star_prone left | 20:39 |
| → crmne joined | 20:39 |
| ← crmne left | 20:40 |
| → crmne joined | 20:41 |
| ← ecuanaso left | 20:41 |
| → peepsalot joined | 20:41 |
| → endiruna joined | 20:42 |
| ← guideline left | 20:42 |
| → Masterphi joined | 20:42 |
| → raedah joined | 20:43 |
| → justanotheruser joined | 20:43 |
| ← palmtree left | 20:45 |
| ← watsonjar2 left | 20:45 |
| → LichtMacher joined | 20:46 |
| ← brwoods_ left | 20:47 |
| ← synthroid left | 20:47 |
| ← Phylock left | 20:51 |
|
raedah
| Is there a suggested alternative to github that has free private repos and good issue tracking? | 20:54 |
|
j416
| raedah: bitbucket | 20:54 |
| ← kneeki left | 20:54 |
|
_ikke_
| gitlab | 20:54 |
| ← Sonderblade left | 20:55 |
|
_ikke_
| bitbucket is free up to 5 collaborators | 20:55 |
|
barteks2x
| https://help.github.com/articles/splitting-a-subfolder-out-into-a-new-repository/ how will this interact with history of some files in that directory being together with all the other files? (as i, it only recently became a separate directory) | 20:56 |
|
rafasc
| git daemon and a notepad :D | 20:57 |
| ← Cavallari left | 20:58 |
| ← Mattiaslndstrm left | 20:58 |
| → Anthaas_ joined | 20:58 |
| → Mattiasl_ joined | 20:58 |
|
rafasc
| barteks2x: the files outside the directory are not included in the commit. | 20:59 |
|
barteks2x
| which commit? | 20:59 |
|
rafasc
| any. | 21:00 |
|
barteks2x
| ... And I specically tried to ensure that git sees my file moves to ensure I keep history | 21:00 |
| → palmtree joined | 21:00 |
|
rafasc
| filterbranch will process each commit and will change the associated tree. | 21:00 |
| ← Anthaas left | 21:01 |
|
rafasc
| after filterbranch you won't have the same history. | 21:01 |
|
barteks2x
| how will it interact with giut blame then which seems to know about movign files | 21:01 |
| ← phluks left | 21:02 |
|
rafasc
| filterbranch doesn't keep history, the whole repo will look like that outer folder never existed. | 21:02 |
| ← csaba2 left | 21:02 |
|
barteks2x
| on one hand I would like to split my project into separate repositories after splitting it into modules,but I also don't want to lose years of commit history | 21:03 |
| ← manuelschneid3r left | 21:03 |
|
rafasc
| you could use git subtrees | 21:03 |
|
barteks2x
| how does that work? | 21:04 |
|
rafasc
| !subtree | 21:04 |
|
gitinfo
| The subtree merge method is great for incorporating a subsidiary git repo into your current one with "unified" history. Read http://git-scm.com/book/en/v2/Git-Tools-Advanced-Merging#_subtree_merge for more info, see also !git-subtree and !git-stitch-repo. | 21:04 |
| hmoreno1 → morenoh149 | 21:04 |
|
barteks2x
| doesn't seem relevant for doing the opposite | 21:04 |
| ← crmne left | 21:04 |
|
barteks2x
| unless I'm missing something | 21:04 |
| → crmne joined | 21:04 |
| → johnnyb joined | 21:05 |
|
rafasc
| it can be done with git subtree. subtree has mechanisms for importing and exporting. | 21:06 |
|
| !git-subtree | 21:06 |
|
gitinfo
| git-subtree allows a subproject repository to be incorporated into a subdirectory of a main repository, and for the history of a subdirectory to be (re-)exported with reproducible results, making it possible to synchronise a repository with a subdirectory of another repo, see https://github.com/git/git/blob/master/contrib/subtree/git-subtree.txt for more info. | 21:06 |
| ← madewokherd left | 21:06 |
| → paultreny joined | 21:06 |
| → weijin joined | 21:07 |
|
rafasc
| barteks2x: ^ | 21:07 |
| paultreny → Guest8664 | 21:07 |
|
barteks2x
| from the description that looks like exactly the kind of magic I would need | 21:08 |
| → Karyon_ joined | 21:08 |
| ← minionofgozer left | 21:09 |
|
rafasc
| barteks2x: are these sub-projects meant to be included in other git repos? | 21:09 |
| ← nanga left | 21:09 |
| → minionofgozer joined | 21:10 |
| → nanga joined | 21:10 |
| ← nanga left | 21:10 |
| → nanga joined | 21:10 |
| ← chaosruler_ left | 21:10 |
|
barteks2x
| not really, unless someone is masochistic enough to deal with gradle and trying to hack into the internals of my project and at the same time make a modified version of it. But I use version numbers based on output of git describe, and separating them would make it possible to have the version numbers actually independent | 21:11 |
| ← Fysicus left | 21:11 |
| ← weijin left | 21:11 |
|
rafasc
| what I am trying to ask is, will you need to re-import this repo into your folder as a git submodule? or something similar? | 21:11 |
|
barteks2x
| I probably could make it so I won't need to but that would be another few hours of fighting with gradle | 21:12 |
| → jungsubk joined | 21:12 |
| → Karyon joined | 21:13 |
| ← justanotheruser left | 21:13 |
| → justanotheruser joined | 21:13 |
|
barteks2x
| so what if I need to, and what if I don't? | 21:13 |
| ← minionofgozer left | 21:14 |
| → minionofgozer joined | 21:14 |
| → xaxxon joined | 21:15 |
|
rafasc
| both options have pros and cons. Filterbranch strips everything that doesn't touch the directory you specified. | 21:15 |
| ← nul left | 21:15 |
| → linuxmodder joined | 21:15 |
|
rafasc
| but the result is a different repo all together. | 21:15 |
| → weijin joined | 21:16 |
| ← Karyon_ left | 21:16 |
|
rafasc
| subtrees are slow for big histories. | 21:16 |
|
barteks2x
| is ~1200 commits big? | 21:17 |
|
rafasc
| there's an option --rejoin that will speed things a bit, but it will also create duplicate commits. (its a trade-off) | 21:17 |
| ← palmtree left | 21:17 |
| ← rodarmor left | 21:18 |
| → rodarmor joined | 21:18 |
| ← torshido left | 21:18 |
| → torshido joined | 21:18 |
|
barteks2x
| unless it takes days, I can deal with that one time waiting. I also still have a bit fuzzy idea about what it will actually look like at the end. I guess the only way to know is to try | 21:19 |
| ← weijin left | 21:20 |
| ← mattcen left | 21:23 |
| → jstimm joined | 21:23 |
|
rafasc
| i think you need to think ahead and figure out how are you going to use this "exported repo" in the future. | 21:23 |
|
barteks2x
| In the future when things stabilize a bit (as in, my "API" is version 1.x and isn't changed almost every day) | 21:24 |
|
| I would like to have them as separate repositories | 21:24 |
|
rafasc
| and based on that choice, choose between subtrees/submodules/external dependency managment | 21:25 |
| → mattcen joined | 21:27 |
|
barteks2x
| how exactly is subtree that isn't actually a separate repository anywhere different from everything being together in one normal repsository? | 21:28 |
| ← Guest21 left | 21:29 |
|
barteks2x
| I think I will just keep everything in one repository for now | 21:30 |
|
| far less issues to worry about | 21:30 |
| ← sat-aton__ left | 21:31 |
| ← jungsubk left | 21:33 |
| ← hbautista left | 21:34 |
| → hbautista joined | 21:34 |
| ← johnnyb left | 21:35 |
| → invisbl joined | 21:36 |
| → jnewt joined | 21:37 |
| → weijin joined | 21:37 |
| ← jnewt left | 21:38 |
| → bwn joined | 21:41 |
| ← weijin left | 21:42 |
| ← Mattiasl_ left | 21:43 |
| ← paxri01 left | 21:43 |
| → Mattiaslndstrm joined | 21:44 |
| → [Brain] joined | 21:44 |
| ← crmne left | 21:45 |
| ← beerdrop left | 21:46 |
| → crmne joined | 21:46 |
| → weijin joined | 21:50 |
| → weaksauce joined | 21:50 |
| ← kgrimes left | 21:51 |
| → felixsanz joined | 21:51 |
|
weaksauce
| i am having a problem with line endings getting changed in ways that break things | 21:51 |
|
| any way to reset git to defaults? | 21:52 |
| ← FrostCandy left | 21:52 |
|
weaksauce
| maybe not full defaults but resetting anything dealing with line endings? | 21:52 |
| ← d10n-work left | 21:53 |
| → chaosruler joined | 21:54 |
| → Sound joined | 21:54 |
| ← weijin left | 21:54 |
| → Fysicus joined | 21:54 |
| ← Fysicus left | 21:56 |
| → Fysicus joined | 21:56 |
| → kgrimes joined | 21:57 |
| ← invisbl left | 21:59 |
| → invisbl joined | 22:00 |
| → beerdrop joined | 22:01 |
| → kneeki joined | 22:01 |
| ← jready left | 22:04 |
| ← kgrimes left | 22:04 |
| → palmtree joined | 22:04 |
|
DelTree
| bonjo31 | 22:05 |
|
| oops... | 22:05 |
| → jready joined | 22:05 |
| ← Dougie187 left | 22:05 |
|
tang^
| scratch that password | 22:05 |
|
_ikke_
| What password, I only see ****** | 22:06 |
| ← morenoh149 left | 22:06 |
| ← Karyon left | 22:06 |
|
rafasc
| _ikke_: number of * doesn't match. :( | 22:08 |
|
tang^
| it's one of those readers that randomizes the actual number of characters in the password | 22:09 |
|
rafasc
| oh we have the advanced version I see. | 22:09 |
| ← jready left | 22:09 |
| ← Thominus left | 22:10 |
| → Thominus joined | 22:11 |
| ← palmtree left | 22:11 |
| → kgrimes joined | 22:11 |
| ← drodger left | 22:12 |
|
rafasc
| barteks2x: not that different. The subtree tool just allows you to import and export with reproducible results. | 22:14 |
| ← \void left | 22:14 |
| → ferdna joined | 22:14 |
| → star_prone joined | 22:15 |
| ← kgrimes left | 22:16 |
| → nowhere_man joined | 22:18 |
| → weijin joined | 22:18 |
| ← stutter_ left | 22:18 |
| ← weaksauce left | 22:18 |
| → drodger joined | 22:18 |
| → xaxxon_ joined | 22:18 |
| ← xaxxon left | 22:19 |
| ← star_prone left | 22:19 |
| xaxxon_ → xaxxon | 22:19 |
| → invisbl_ joined | 22:19 |
| → madewokherd joined | 22:20 |
| ← doug16k left | 22:21 |
| → kn-928 joined | 22:22 |
| ← nowhereman_ left | 22:22 |
| ← Coop left | 22:22 |
| → shinnya joined | 22:22 |
| ← invisbl left | 22:23 |
| ← weijin left | 22:23 |
| → supernov1h joined | 22:25 |
| → joeyy joined | 22:26 |
| → nullspoon joined | 22:27 |
| ← sammyg left | 22:27 |
| → FrostCandy joined | 22:27 |
| → Karyon joined | 22:27 |
| ← dege left | 22:28 |
| ← supernov1h left | 22:30 |
| ← greggerz left | 22:30 |
| → kerrick joined | 22:31 |
| ← Fernando-Basso left | 22:31 |
|
kerrick
| How do I run a specific file through a sed command before staging it? I think I want to use a clean filter in my .gitattributes, but I'm not sure what the correct syntax is. | 22:31 |
|
| Specifically, I have path/to/my/file clean=sed 's/foo/bar/', but I get the error 's/foo/bar/' is not a valid attribute name: .gitattributes:1 | 22:32 |
|
| wait, do I need to define my sed command as a filter first with `git config filter.my_command.clean`? | 22:33 |
| ← chaosruler left | 22:35 |
|
kerrick
| I figured it out, I was misreading the docs | 22:35 |
|
| New question: how can I check in a clean filter? | 22:36 |
| → jready joined | 22:36 |
| ← averell left | 22:37 |
| ← kn-928 left | 22:40 |
| → kn-928 joined | 22:40 |
| ← g00s left | 22:41 |
| ← jready left | 22:41 |
| → guideline joined | 22:41 |
| → averell joined | 22:42 |
| → supernov1h joined | 22:42 |
|
rafasc
| kerrick: you'll need to instruct people how to do it. | 22:42 |
|
kerrick
| :/ | 22:43 |
|
rafasc
| git doesn't allow automatic edit of configuration for security reasons. | 22:43 |
| ← peepsalot left | 22:43 |
| ← beerdrop left | 22:43 |
|
rafasc
| imagine if your usptream could alias git log to rm -rf / ; | 22:44 |
| → watsonjar joined | 22:44 |
|
rafasc
| git pull, nice, somecommits... let's see what they did.. git log and you're done.. | 22:45 |
| → Coop joined | 22:45 |
| → wreed joined | 22:45 |
|
rafasc
| you can include it on something like a makefile if your project has one. | 22:45 |
| → RougeR joined | 22:46 |
| → orbyt_ joined | 22:46 |
| ← Gurkenglas left | 22:46 |
| → weijin joined | 22:47 |
| → doug16k joined | 22:47 |
| ← wootehfoot left | 22:47 |
| → morenoh149 joined | 22:47 |
| ← weijin left | 22:51 |
| ← Karyon left | 22:51 |
| → weijin joined | 22:52 |
| ← fahadash left | 22:52 |
| ← thxffo left | 22:52 |
|
kerrick
| OK, thanks for the tips | 22:53 |
| ← nullspoon left | 22:53 |
| ← hunterlabs left | 22:53 |
| → Raed|Laptop joined | 22:53 |
| → durham joined | 22:54 |
| → peepsalot joined | 22:57 |
| ← weijin left | 22:57 |
| → Es0teric_ joined | 22:58 |
| → beerdrop joined | 22:58 |
| ← blunaxela left | 22:59 |
| ← dalias left | 23:00 |
| ← SwiftMatt left | 23:01 |
| → blunaxela joined | 23:01 |
| ← drodger left | 23:02 |
| → Fissure joined | 23:02 |
| → hunterlabs joined | 23:02 |
| → thxffo joined | 23:03 |
| ← finalbeta left | 23:04 |
| ← FrostCandy left | 23:05 |
| → drodger joined | 23:07 |
| ← _ikke_ left | 23:09 |
| → sourcream joined | 23:10 |
| → _ikke_ joined | 23:13 |
| ← hbautista left | 23:14 |
| → hbautista joined | 23:15 |
| ← Singmyr left | 23:18 |
| ← Neo left | 23:19 |
| → alhariel joined | 23:22 |
| → kgrimes joined | 23:23 |
| → devbaka joined | 23:24 |
| → duderonomy joined | 23:26 |
| ← devbaka left | 23:26 |
| → venmx joined | 23:26 |
| ← _ikke_ left | 23:26 |
| ← Tobbi left | 23:28 |
| → kuka joined | 23:28 |
| → Karyon joined | 23:30 |
| ← sourcream left | 23:31 |
| ← kuka left | 23:33 |
| → weijin joined | 23:34 |
| ← uptime left | 23:35 |
| ← kent\n left | 23:35 |
| → kent\n joined | 23:36 |
| → MacWinner joined | 23:37 |
| → Kaisyu joined | 23:37 |
| → uptime joined | 23:38 |
| ← xaxxon left | 23:38 |
| → _ikke_ joined | 23:39 |
| ← hooksie1 left | 23:41 |
|
madduck
| how do I ask Git "is <commitish1> a parent of <committish2>" such that the result is false if the two are the same? | 23:42 |
|
| ah git-related | 23:43 |
| ← Masterphi left | 23:43 |
|
madduck
| uh, no. that doesn't exist of course | 23:43 |
|
| git merge-base --is-ancestor unfortunately thinks c1 is an ancestor of c2 if the two are the same | 23:45 |
|
bremner
| can't you just pass them both to rev-parse and check for string equality? | 23:46 |
|
| (as well as some merge-base thing) | 23:46 |
|
madduck
| yeah, two checks | 23:46 |
| ← venmx left | 23:46 |
|
madduck
| i'd of course prefer if "is-ancestor" did the right thing | 23:46 |
|
bremner
| watch out for tag dereferencing if you go that wa | 23:46 |
|
madduck
| or are you an ancestor of yourself? ;) | 23:46 |
| ← crmne left | 23:47 |
| → crmne joined | 23:48 |
| ← weijin left | 23:48 |
| ← m0viefreak left | 23:49 |
| ← tymczenko left | 23:49 |
| ← duderonomy left | 23:49 |
| → dave0x6d joined | 23:50 |
| → Lyqyd joined | 23:51 |
| → Gurkenglas joined | 23:52 |
| → weijin joined | 23:55 |
| ← ferdna left | 23:56 |
| ← Sound left | 23:57 |
| → palmtree joined | 23:58 |
| ← orbyt_ left | 23:59 |
| → xaxxon joined | 23:59 |