IRCloggy #git 2013-12-03

Logs Search ←Prev date Next date→ Channels Documentation

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

2013-12-03

Kayra joined00:01
SocalNick joined00:04
richwestcoast left00:04
Kayra left00:05
dort left00:07
calamari left00:08
jkremser left00:09
BlaDe^ so our flow is typically to work in a dev branch and merge into master00:09
we never rebase in this direction, and now a developer just merged master into devel and it's ruined the history tree: http://i.imgur.com/9UJvhEP.png00:09
hochmeister left00:09
BlaDe^ is tehre a way to fix this or should I just revert it and have him cherrypick the hotfixes in?00:10
rlubke left00:10
atomx joined00:11
Imagineer joined00:11
primitive left00:12
hyperair left00:13
threesome joined00:13
PaulCapestany joined00:14
masak left00:15
masak joined00:15
aspiers left00:16
BlaDe^ revert doesn't fix it (duh)00:17
pbrobst left00:19
pbrobst joined00:19
snql|badinternet left00:19
woollyams joined00:20
tjbiddle left00:22
jkremser joined00:22
jkremser left00:22
jkremser joined00:22
Orbitrix joined00:22
Orbitrix left00:22
Orbitrix joined00:23
freestyl3r left00:23
aspiers joined00:24
fahadash How do I undo my local changes for only one file ?00:25
jrnieder fahadash: git checkout HEAD -- <file>00:25
fahadash checkout or reset ?00:25
jrnieder fahadash: I assume you want to overwrite the file in your working directory, right?00:25
fahadash: then checkout00:25
fahadash yes00:25
It worked. Thanks00:26
VictorCL left00:26
jrnieder sure thing00:27
mitz joined00:27
Error_998 left00:28
threesome left00:29
Zarthus left00:29
boombatower left00:31
nwertman joined00:31
petey joined00:32
treaki_ left00:32
Kayra joined00:32
JohnRobert joined00:32
eletuchy joined00:32
pbrobst left00:34
pbrobst joined00:34
pbrobst left00:35
dyng joined00:35
Cassiel left00:36
JohnRobert left00:37
nephyrin joined00:38
RaceCondition joined00:38
DolphinDream joined00:39
zumba_addict joined00:40
gordian left00:41
marhaban1 joined00:41
Starcraftmazter joined00:42
Starcraftmazter hi i keep getting this error00:42
error: bad index file sha1 signature00:42
fatal: index file corrupt00:42
fatal: git status --porcelain failed00:42
RaceCondition left00:42
teran left00:42
marhaban left00:42
pbrobst joined00:43
Starcraftmazter i tried this stuff http://holarails.wordpress.com/2013/07/02/git-error-bad-index-file-sha1-signature-fatal-index-file-corrupt/00:43
but it didnt resolve the error00:44
RaceCondition joined00:44
rafaqueque left00:44
jrnieder Starcraftmazter: what does "ls -l .git/index" say?00:45
pbrobst left00:45
hochmeister joined00:45
gitinfo set mode: +v00:45
hochmeister what is the best way to remove a file from my local branch and the same branch on a remote? I have a binary file that was added two commits ago and pushed to a remote. I'd like to remove the file from my local repo and the remote one.00:45
jrnieder hochmeister: remove = avoid wasting disk space on?00:45
hochmeister: or just not have it show up in the checkout?00:46
valgrind left00:46
Starcraftmazter jrnieder: -rw-r--r-- 1 stgcontainaway stgcontainaway 263104 Dec 3 11:45 .git/index00:46
00:46
jrnieder Starcraftmazter: ok, that's good00:46
Starcraftmazter: I was worried that it might be a zero-length file00:46
hochmeister jrnieder: the first I guess. I'm less concerned with others seeing my "error".00:46
treaki_ joined00:47
tjbiddle joined00:47
jrnieder Starcraftmazter: which was irrational of me now that I think a little more00:47
hochmeister I found this http://stackoverflow.com/a/1186549 but I'm not sure if that's the best approach.00:47
jrnieder Starcraftmazter: anyway, my advice is to run "git reset"00:47
Kayra left00:47
jrnieder Starcraftmazter: it will forget what changes you had staged for the next commit00:47
Starcraftmazter jrnieder: yeh still00:47
still happens00:47
jrnieder Starcraftmazter: but that's kind of unavoidable since the index file is corrupt00:47
Starcraftmazter ive ran git reset like 10 times now00:48
jrnieder Starcraftmazter: mm00:48
Starcraftmazter: is this repo something you can share?00:48
Starcraftmazter not really00:48
RaceCondition left00:48
jrnieder Starcraftmazter: drat. "rm .git/index" and then "git reset"?00:49
Starcraftmazter: if that produces the same result, then the corruption is probably deeper :/00:49
Starcraftmazter: if on the other hand it works, it's a sign of something that could be improved in git00:49
Starcraftmazter: oh, an !backup00:50
gitinfo Starcraftmazter: Worried about your data while trying out stuff in your repo? To back up commit history on all branches/tags: `git clone --mirror`. To backup everything, including work tree and staging area: `tar cf repo-backup.tar repodir`. Or do your experiment in a throwaway clone instead. See also http://sethrobertson.github.com/GitBestPractices/#backups00:50
jrnieder *and00:50
that automated response is less helpful than I would like. I meant that "cp -a" or tar is a good thing to do before experimenting, especially with a corrupt repo00:51
since once you've found a possible cause, having a backup means it's possible to check whether the guess was right00:51
codeman joined00:51
hochmeister jrnieder: would it be better to just remove the file, commit, then push? Or to use git ammend/rebase? Consider, there is a pull request pending...00:52
jrnieder hochmeister: depends on the nature of the project and your relationship to it :)00:53
hochmeister: if no one else is building on this branch, then the rebase/amend method is good00:53
hochmeister: if other people are building on top of your work, then they would be disrupted: see 'Recovering from upstream rebase' in man git-rebase00:53
gitinfo hochmeister: the git-rebase manpage is available at http://jk.gs/git-rebase.html00:53
endiruna left00:53
Starcraftmazter jrnieder: ive just commited that data to git actually00:54
like a new import00:54
all i did since them is git rm .htaccess.backup00:54
hyperair joined00:54
decotii left00:54
Noldorin left00:55
hochmeister jrnieder: it's a puppet module for a java project, the file in question is a jar. Others will be building upon this branch once the pull request is approved and merged into master.00:55
jrnieder hochmeister: then yeah, I'd rebase00:55
iamjarvo joined00:55
jrnieder hochmeister: since no one is building on it yet00:56
Starcraftmazter: weird?00:56
Starcraftmazter: if you can reproduce it with an artificial repo that you can share, I'd be interested00:56
iamjarvo left00:56
jrnieder Starcraftmazter: did you try the "rm .git/index && git reset" thing?00:57
hochmeister jrnieder: ok. How would I propagate that rebasing to the remote branch?00:57
jrnieder hochmeister: 'git push origin +<branchname>'00:58
hochmeister: the "+" means "yes, I mean it"00:58
hochmeister: you can try without the "+" first if you want00:58
hochmeister ahh ok. Thanks jrnieder00:58
jrnieder sure thing00:58
harish left00:59
Geo ok, I've gotten rebase to 'start' working, but it gave me an error that said 'could not apply XXXXX' ...01:01
what is my next step on that? Does that imply there is a conflict?01:01
imachuchu Geo: what's the whole output, does it say that there was a conflict?01:01
Geo no01:01
l0cust left01:02
Geo hang on01:02
ah, didnt read up01:02
ok, it holds my hand on this :)01:02
thanks01:03
imachuchu Geo: np ;)01:04
akiva left01:08
marlboromoo joined01:08
SocalNick left01:09
MetalMatze left01:10
michael_lee joined01:10
SocalNick joined01:10
Noldorin joined01:11
maqr left01:11
nwertman left01:12
bwreilly left01:13
AaronMT left01:13
Starcraftmazter jrnieder: like 100 times01:14
i just checked out the repo clean01:14
Dougie187 joined01:14
Starcraftmazter destroyed entire directory for it01:14
kirin` left01:14
CheckDavid left01:18
atomx left01:18
jrnieder Starcraftmazter: 100 times is not interesting01:18
Starcraftmazter: one time is interesting01:18
weiyang joined01:18
kirin` joined01:19
jrnieder Starcraftmazter: a way to make people happy when they give suggestions on IRC is to make a pastebin with what happened when you tried the suggestion01:19
Starcraftmazter: oh well01:19
jaseem joined01:19
ezio joined01:19
dhruvasagar joined01:20
Starcraftmazter jrnieder: the very first thing i did when describing the issue, is link to a page saying the same thing you suggested, and said ive done that01:21
anyway, i gotta go to lunch01:21
jaseem left01:22
michael_lee left01:22
root_empire joined01:23
jaseemabid_ joined01:24
root_empire left01:24
erichynds joined01:25
Gamecubic left01:25
root_empire joined01:28
sohail left01:29
hochmeister left01:29
root_empire left01:29
kermit left01:29
varlog left01:29
esto joined01:30
varlog joined01:30
kermit joined01:32
imachuchu left01:32
trusktr left01:34
redrocket left01:35
mizu_no_oto joined01:35
FortySix2 joined01:37
joshbetz left01:37
delasteve left01:37
delasteve joined01:38
johndundu joined01:38
nnyk left01:41
dhruvasagar left01:41
FortySix2 left01:42
tjbiddle left01:42
johndundu left01:43
teran joined01:43
Sylario left01:43
skorgon left01:43
Pyrogerg joined01:44
zumba_addict left01:46
petey left01:46
r00tWearsRedHats joined01:46
petey joined01:46
Geo and now the common, horrible, dumb sounding question... whats the best way to detect conflicts? "Automatic cherry-pick failed. After resolving the conflicts,..."01:48
l0cust joined01:49
root_empire joined01:49
tatka_1094 joined01:49
teran left01:49
dsdeiz left01:50
root_empire left01:51
petey left01:51
tatka_1094 can someone look at my terminal history and help me figure out what is going on? Basically, I git status which returned clean HEAD, but then did a git pull origin master and am now ahead of the master repo by 41 commits. I definitely am not ahead.01:52
marhaban1 left01:52
erichynds left01:53
tatka_1094 Here is a gist listing my history https://gist.github.com/anonymous/776260801:53
varlog left01:53
joaoh82 left01:53
joaoh82 joined01:54
varlog joined01:54
root_empire joined01:54
raonyguimaraes left01:55
Watabou joined01:55
ErKa left01:57
Kayra joined01:58
Pyrogerg left01:58
Dougie2187 joined01:59
tjbiddle joined01:59
angelsl left02:01
varlog left02:02
PaulCapestany left02:03
Kayra left02:03
luc_ joined02:04
joaoh82 left02:05
dsdeiz joined02:05
joaoh82 joined02:05
saorge_ joined02:06
jayrobot left02:06
root_empire left02:06
michael_lee joined02:06
harish joined02:07
yuwang joined02:08
ianmcorvidae left02:09
zumba_addict joined02:09
saorge left02:09
michael_lee left02:10
ianmcorvidae joined02:11
tatka_1094 I "git reset --hard master@{1}" and then did a "git pull" whereas before I did "git pull origin master" which said something about Fetch_Head. I think I fixed my own issue.02:11
psyl0n left02:12
michael_lee joined02:13
therealGent joined02:13
apipkin_ joined02:13
gnoel left02:14
pbrobst joined02:14
michael_lee left02:15
apipkin_ left02:15
PaulCapestany joined02:16
dharrigan joined02:17
codeman left02:17
tjbiddle left02:18
michael_lee joined02:18
CKyle joined02:19
Matt_R joined02:20
michael_lee left02:20
yhager_ left02:21
yhager joined02:23
Goplat joined02:23
teran joined02:23
AWinterman left02:24
matanya left02:26
michael_lee joined02:27
Gamecubic joined02:30
hwrd|work left02:30
arosenberg left02:31
Mars__ left02:33
Mars__ joined02:33
undecim joined02:33
WaReZ left02:34
Matt_R left02:35
ojacobson left02:35
dyng left02:36
dyng joined02:36
PeterBooker left02:37
skorgon joined02:37
Mars__ left02:38
Vampire0 joined02:38
SocalNick left02:39
michael_lee left02:39
JohnRobert joined02:40
Vampire0_ left02:41
michael_lee joined02:42
Georg3 left02:42
hahuang61 left02:45
JohnRobert left02:46
BiggFREE left02:46
ewnd9 joined02:48
john2x_ joined02:49
carbon2 left02:50
john2x left02:50
dhruvasagar joined02:50
tatka_1094 left02:50
nnyk_ joined02:50
liamkeily left02:51
h0bbit_ joined02:54
jkremser left02:54
john2x_ left02:54
pbrobst left02:56
daito joined02:57
mitz left02:57
ewnd9 left02:58
Geo my file has lots of >>>>>>>HEAD notations in it, along with commit numbers... I assume this is from a conflict- how do I pick the 'version' of the file I want?02:58
mitz joined02:58
Hello71 use the edit commands.02:58
sgambino joined02:58
zophy joined02:58
alvaro_o left03:00
imMute Geo: edit the file to how you want it to look, the >>>>>, <<<<<<, and ===== delineate different parents03:00
cjsarette left03:00
imMute sometimes you pick one or the other, sometimes you have to use a little from both - it all depends on what is being merged.03:00
cjsarette joined03:01
coldie left03:01
Noldorin left03:01
mitz left03:01
silviof1 joined03:02
mitz joined03:02
geomyidae_ left03:03
silviof left03:03
maslowbeer_ joined03:04
cenuij left03:05
bdav|away left03:05
danmackay left03:05
acharlieh left03:06
danmackay joined03:06
Geo ok03:07
there's no command to select everything from one parent?03:07
bdav|away joined03:08
mitz left03:10
geomyidae joined03:10
tatka_1094 joined03:12
tatka_1094 left03:13
hwrd|work joined03:15
Hello71 man git-mergetool03:15
gitinfo the git-mergetool manpage is available at http://jk.gs/git-mergetool.html03:15
mdhopkins joined03:15
mdhopkins left03:16
Geo I don't see an answer to my question in that03:16
am I missing something?03:16
maslowbeer_ left03:17
l0cust left03:17
mmcdaris left03:17
h0bbit_ left03:17
jkremser joined03:20
jkremser left03:20
jkremser joined03:20
el3ctron4 joined03:20
el3ctron2 left03:21
el3ctron left03:21
el3ctron joined03:22
undecim left03:24
hobodave joined03:24
pbrobst joined03:25
PaulCapestany left03:25
el3ctron4 left03:27
groglogic left03:27
el3ctron left03:27
sohail joined03:28
sohail left03:28
sohail joined03:28
dkpi left03:28
dhruvasagar left03:28
matanya joined03:28
dyng left03:29
dhruvasagar joined03:30
maslowbeer_ joined03:30
el3ctron joined03:31
mizu_no_oto left03:35
skorgon left03:35
dsdeiz left03:35
skorgon joined03:36
gnoel joined03:36
gnoel_ joined03:36
roscius joined03:37
cjsarette left03:37
mdiers left03:37
mdiers joined03:38
tatka_1094 joined03:39
milki hm, theres no git native way to "mark" a tag as 'bad"03:40
tatka_1094 left03:40
michael_lee left03:41
pr0ton left03:41
Droolio left03:41
rurufufuss joined03:42
Mars__ joined03:44
jhulten left03:45
CKyle left03:47
nnyk_ left03:48
Mars___ joined03:48
Mars__ left03:48
mattcen milki: Delete it?03:49
Or use a heavyweight tag and put that in the description; or just put it in the name03:49
milki tags arent supposed to be modified03:50
!03:50
ochoZero9 joined03:50
petey joined03:50
tmcmahon joined03:52
johnkevi_ joined03:53
mattcen milki: delete it and create a new one03:53
MrMonkey31 joined03:53
johnkevinmbasco left03:54
pbrobst left03:59
Pullphinger joined03:59
milki thats the same thing as modifying if its published already03:59
-.-03:59
ezio left04:00
Wulf left04:00
ezio joined04:01
pbrobst joined04:01
hwrd|work left04:02
Wulf joined04:02
marlboromoo left04:04
john2x joined04:04
PaddyPatPat joined04:04
hahuang61 joined04:05
dhruvasagar left04:05
tatka_1094 joined04:06
tatka_1094 left04:07
kukks left04:07
Kabaka joined04:08
Dougie2187 left04:09
sword joined04:12
g0bl1n left04:12
tmcmahon left04:15
pbrobst left04:16
yacks left04:17
jhulten joined04:20
r00tWearsRedHats left04:20
bdav|awaybdavenport04:21
yacks joined04:21
Mars___ left04:23
johnkevi_ left04:24
dyng joined04:24
jaseemabid joined04:24
CKyle joined04:24
SleePy left04:24
daito left04:25
SleePy joined04:27
MrMonkey31 left04:27
CKyle left04:28
Dougie187 left04:28
danmackay left04:30
danmackay joined04:31
kukks joined04:32
tatka_1094 joined04:33
el3ctron ey04:33
tatka_1094 left04:34
yhager left04:36
Geo left04:37
dyng left04:38
katterstrophe joined04:41
therealGent left04:43
sgambino left04:44
katterstrophe left04:45
purpleidea left04:45
bwreilly joined04:45
JohnRobert joined04:47
dyng joined04:47
purpleidea joined04:47
thiago left04:48
bwreilly left04:48
asparagui joined04:48
Starcraftmazter left04:49
mdiers left04:49
jerius joined04:50
Skrypter left04:50
johnkevinmbasco joined04:51
liamkeily joined04:51
preflex_ joined04:52
JohnRobert left04:52
sohail left04:52
preflex left04:53
mitz joined04:53
preflex_preflex04:53
PaulCapestany joined04:57
CKyle joined04:58
jerius left04:59
donmichelangelo left05:00
tatka_1094 joined05:00
donmichelangelo joined05:00
jaseemabid left05:01
jazz264 joined05:01
kukks left05:02
tatka_1094 left05:02
Mars__ joined05:02
jayawant joined05:02
LBV_User left05:03
woollyams left05:03
Soliton left05:03
Soliton joined05:04
yuwang left05:07
hobodave left05:09
PaulCapestany left05:10
hahuang65 joined05:12
Sadeukko left05:13
hwrd|work joined05:13
matanya left05:14
hahuang61 left05:14
teran left05:14
gnoel_ left05:15
gnoel left05:15
m0viefreak left05:15
diget left05:17
sabgenton joined05:17
ewnd9 joined05:18
JustinMac joined05:19
Mars__ left05:19
sabgenton Is there any way I can apply a smudge filter I just made on my history with git filter-branch?05:19
p3lim joined05:19
dhruvasagar joined05:19
Mars__ joined05:20
p3lim Is it possible to use submodules to only get a specific directory within the repository?05:20
milki p3lim: no05:20
p3lim Can I do it with clone?05:20
milki p3lim: nope05:20
Mars___ joined05:20
p3lim Gah05:20
milki sabgenton: that sounds like somethign that would confuse git when it tries to redo history05:21
SamB milki: what makes you think that?05:21
lunarjar left05:21
cjwelborn left05:21
milki smudging tends to be things that are only for the working dir rather than something that gets into history05:22
p3lim Basically I want to have some libraries within my repo, and I'd prefer them to be referenced to their source05:22
milki p3lim: does that _need_ to be in the repo as source when you check something out?05:22
p3lim But as with many libraries' repos they are filled with documents and tests and different versions etc05:22
kerrick joined05:22
p3lim Preferably, yes05:23
milki preferably why?05:23
nicedice left05:23
p3lim Actually, no05:23
milki exactly!05:24
p3lim Just the reference is what I want05:24
Mars__ left05:24
dhruvasagar left05:24
p3lim But on my local dir the source has to be there05:24
milki why?05:24
diget joined05:24
p3lim Because I'm actually using it? :p05:24
Tommy[D] joined05:24
milki "using it"? in your _source_ directory?05:24
dhruvasagar joined05:25
p3lim Ok, let me explain it better05:25
milki these sound like "dependencies"05:25
SamB needz moar Debian?05:25
milki you never really _need_ to include actual dependencies in your _source_05:25
Mars___ left05:25
p3lim I have a dev environment for a php project, a blog. I have libraries, or as most would call them, dependencies/includes within that project05:26
milki it is often the case that you use scripts to build an environment suitable for running/testing outside of your source05:26
p3lim Repo only needs to know the reference05:26
Mars__ joined05:26
milki which is what im trying to push you towards05:26
p3lim But the actual files has to be there, because I'm using it in my env05:26
jhulten left05:26
Tommy[D]_ left05:27
p3lim Probably not for web development, as there is no compiling or something05:27
milki that doesnt matter05:27
tatka_1094 joined05:27
RaceCondition joined05:27
milki compiling is only one way to prepare files05:27
just copying them somewhere else is fine05:28
p3lim Well I don't build anything05:28
calmdev bower + composer configs for php projects; avoid storing the actual "libraries" in the repo. that's what i'd do05:28
matanya joined05:28
p3lim Haven't touched composer or anything like it yet05:28
Just haven't had time05:28
milki dont ever think your git repo is going to be where you will run your project05:28
beautifulmind joined05:29
calmdev conforms to what milki is suggesting05:29
tatka_1094 left05:29
p3lim I know05:29
jrib left05:29
milki a simple script could copy your working direction to say, a build dir. and then pull in your dependencies and place them however you like in your build dir05:29
bandroidx joined05:30
alezost joined05:30
daito joined05:31
Mars__ left05:31
milki these other tools calmdev mentioned probably give you a framework for this and make it easy05:31
milki shrugs05:31
RaceCondition left05:32
bandroidx hi, is there a way to include part of a git repo in another git repo? from my research symlinks wont work but neither will submodules since i only want to include part of the other git repo into it05:32
lunarjar joined05:32
milki bandroidx: no, you cant include just a part of a repo05:32
calmdev not the build part....grunt tasks are all of that for. I'm suggestion just storing the config files which specify the dependencies (ie, like node's package.json); have your build script trigger the dependency installs.05:32
thiago joined05:33
bandroidx milki: there is no work around?05:33
milki bandroidx: not in git native. you would use scripts05:33
bandroidx i guess i could turn the part i want into a submodule of the main project its already in and then use that as sub module in the 2nd05:33
milki bandroidx: you should ask yourself _why_ you think you need a submodule first05:34
bandroidx well isnt this a classic need for a submodule?05:34
milki no, the classic case is you need the _entire_ repo05:34
gnoel joined05:34
p3lim calmdev: I'm gonna take a look into it, but why both bower and composer?05:34
Wouldn't composer be able to do it alone?05:35
bandroidx milki: but it seems the code i need should be in its own repo as its kind of a standalone system that needs reuse in other projects05:35
i dont want to maintain the code in 2 different projects05:35
cjwelborn joined05:36
enape_101 left05:36
milki your suggestion - split out the part into a repo and have it be a submodule in both projects - is fine though05:36
but you just have submodule include a part of a repo05:37
er05:37
you cant just*05:37
CKyle left05:37
the_cybersphinx left05:37
bandroidx milki: i was looking at this http://stackoverflow.com/questions/12514197/convert-a-git-folder-to-a-submodule-retrospectively05:37
jayawant_ joined05:37
milki ok?05:38
hwrd|work left05:38
alezost left05:38
bandroidx i guess easier would be to move the entire directory tree out of the project, commit the project with it removed, then make the tree i removed into its own new repo and then add that repo as a submodule05:38
i am not sure why they dont suggest that in this SO article05:38
jayawant left05:38
milki ya, thats fine if you dont need history05:38
bandroidx i can live without it05:39
milki sounds like a plan then05:39
bandroidx cool thanks05:39
Guest100 joined05:40
lindenle left05:40
alezost joined05:40
calmdev p3lim guess you don't need both. I tend to use bower for JS and composer for PHP.05:41
Hoksilato joined05:41
jayawant_ left05:42
Guest100 left05:42
L8D left05:43
revyd left05:44
revyd joined05:44
revyd left05:45
fairuz joined05:46
h0bbit_ joined05:47
nnyk_ joined05:48
Spyro left05:49
akiva joined05:49
Spyro joined05:51
jayawant joined05:51
beautifulmind left05:52
h0rrorvacui left05:52
gnoel left05:52
Imagineer2 joined05:53
Imagineer left05:54
tatka_1094 joined05:55
m0ltar joined05:55
tatka_1094 left05:56
h0rr0rvacui left05:56
h0rrorvacui joined05:57
ErKa joined05:57
chasep_work_ joined05:57
kpreid left05:59
kpreid joined05:59
chasep_work left05:59
chasep_work_chasep_work05:59
matanya left05:59
rjhunter joined06:01
Exdaix left06:01
hwrd|work joined06:03
matanya joined06:03
revyd joined06:03
Skrypter joined06:04
hwrd|work left06:04
ezio left06:05
petey left06:05
Exdaix joined06:05
petey joined06:06
rjhunter left06:06
rjhunter joined06:07
alezost left06:08
petey left06:10
rjhunter left06:11
bandroidx milki: everything worked perfectly but now i just commited some changes in the submodule from one of the projects and it let me but when i try to push it, it says everything is up to date. i dont see a solution here though: http://git-scm.com/book/en/git-tools-submodules06:12
mitz left06:12
mitz joined06:12
nnyk_ left06:13
milki bandroidx: !repro, i dont quite underestand what you did06:13
gitinfo bandroidx: 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.06:13
ezio joined06:13
beautifulmind joined06:16
roscius left06:16
bandroidx milki: https://gist.github.com/bandroidx/776468906:18
i think the problem is i didnt make those changes on the master branch06:19
seems i was on (no branch)06:19
alezost joined06:20
fairuz left06:20
bandroidx ive never worked with submodules before so i didnt expect the behavior of not being on the master branch06:20
tatka_1094 joined06:22
tatka_1094 left06:23
trusktr joined06:23
jceb_ joined06:23
maleknet joined06:24
JohnRobert joined06:24
jayawant left06:24
asparagui left06:26
rethus joined06:26
jargon joined06:26
bandroidx milki: ok it was because i was not on a branch, that threw me at first, i checked out master and now its working as expected, thanks much06:27
alezost left06:27
ErKa left06:29
JohnRobert left06:29
maroloccio joined06:31
teran joined06:31
arjun_ joined06:32
alezost joined06:32
potatoe joined06:33
Goplat left06:33
ezio left06:35
Gitzilla left06:35
jhulten joined06:35
Gitzilla joined06:35
sr105|away joined06:39
arvind_khadri joined06:40
jhulten left06:41
User458764 joined06:41
ThomasLocke joined06:42
Kartagis back to my problem yesterday06:43
Gamecubic left06:47
jayawant joined06:48
Rix joined06:48
L8D joined06:48
tpollard left06:48
tatka_1094 joined06:49
Norm_ left06:50
tatka_1094 left06:50
pantsman joined06:54
revyd left06:56
saurabh joined06:57
saurabhGuest2703206:57
revyd joined06:57
arjun_ left06:58
revyd left06:59
User458764 left06:59
alezost left07:01
rethus left07:01
marthinal joined07:02
rethus joined07:02
marlboromoo joined07:02
KeridosKeridos_off07:03
crocket joined07:03
silviof1silviof07:03
crocket How do I apply a stash, which ignores conflicts?07:04
I know what I'm doing, and conflicts annoy me.07:04
rath joined07:05
pheaver joined07:06
stodan joined07:06
rjhunter joined07:07
lite_ joined07:11
arjun_ joined07:11
soee joined07:12
rjhunter left07:12
user258467 joined07:13
cbreak-work joined07:14
h_kon joined07:15
yhager joined07:16
tatka_1094 joined07:16
hoschi joined07:16
tatka_1094 left07:17
Imagineer2 left07:19
TomyLobo joined07:20
h0rrorvacui left07:20
bwreilly joined07:20
thevishy left07:21
Kartagis if my origin url is like [email@hidden.address] , how can I make the http clone url similar, i.e. http://git.example.com/project/a.git ? I can currently clone using http://git.example.com/git/project/a.git07:21
pantsman left07:22
thiago Kartagis: there's no Git built-in way to do that07:23
your question is not related to Git07:23
just text and URL processing, making assumptions that are valid to your site only07:23
zapb joined07:23
thiago they cannot be generalised07:23
Kartagis thiago: wanna see my git.conf of httpd?07:24
thiago Kartagis: no07:24
SamB Kartagis: you can get even closer if you use ssh:// URLs though07:24
Kartagis SamB: pushing?07:24
thiago Kartagis: what are y ou trying to do?07:25
Raging_Hog joined07:25
jayawant left07:26
Kartagis thiago: I want to use similar URLs while pushing and cloning over http07:26
thiago Kartagis: ok07:26
I can't help you with that07:26
I do recommend you push and clone over SSH, though07:26
not HTTP07:26
Bosox20051 joined07:27
Bosox20051 left07:28
jrib joined07:28
Kartagis hrm07:29
it's not anonymous then07:29
thiago right07:29
anonymous pushing is a really bad idea07:30
kerrick left07:30
Bosox20051 joined07:30
Kartagis thiago: I mean anon clone07:32
thiago use the git-daemon07:33
easier07:33
it's simpler to set up and has less overhead07:33
jorj left07:33
thevishy joined07:34
GeertV joined07:34
SamB thiago: keep in mind that some annoying proxies don't allow that through07:35
threesome joined07:35
thiago I know07:35
my position is that IT should fix it07:35
SamB or, um, firewalls I mean07:35
kermit left07:36
thiago if you have to use Git for work and the service is available on port 9418 only, then IT should provide you with the access you need07:36
alezost joined07:38
FortySix2 joined07:38
bwreilly left07:39
jorj joined07:39
bwreilly joined07:39
akurilin left07:40
dsdeiz joined07:40
reydan joined07:40
daito left07:40
kalleth_ left07:40
FortySix2 left07:43
tatka_1094 joined07:43
tatka_1094 left07:44
kerrick joined07:45
kalleth joined07:45
Norm_ joined07:46
Norm_ left07:46
j0ran1 joined07:48
mf_ joined07:48
crocket left07:49
L8D left07:50
Raging_Hog left07:50
hwrd|work joined07:52
jnavila joined07:52
nbrosnahan joined07:53
pheaver left07:54
sabgenton milki: smuge and clean filters don't seem to have an affect on git filter-branch07:55
but I would like them to (for just one shot)07:55
alezost left07:56
TomyLobo left07:56
alezost joined07:57
kjellski joined07:58
Raccoon joined07:58
Raccoon how do I download these files?07:58
https://android.googlesource.com/platform/packages/inputmethods/LatinIME/+/master/dictionaries/07:58
daito joined07:58
Kartagis right click and save07:59
Raging_Hog joined08:00
koda joined08:01
Rix left08:01
fRAiLtY- joined08:01
yacks left08:01
blahdodo_ left08:02
blahdodo joined08:02
dr_lepper wget -r08:02
bwreilly left08:03
j0ran1 left08:04
gua_ould joined08:04
rob_w joined08:06
beautifulmind left08:07
j0ran1 joined08:07
eijk joined08:08
rjhunter joined08:08
Rix joined08:08
hwrd|work left08:09
juril joined08:10
tatka_1094 joined08:10
nemesit|znc joined08:10
cebor joined08:11
tatka_1094 left08:11
j0ran1 left08:12
rjhunter left08:13
harish left08:13
calmdev left08:14
reydan left08:14
alexander__b is there a way to setup send-email to cooperate with thunderbird somehow08:16
dr_lepper in what way should it cooperate?08:16
dhruvasagar left08:17
alexander__b dr_lepper: making it open the msg compose window would be useful08:18
dhruvasagar joined08:18
dr_lepper no, I don't think so08:19
send-email just sends e-mail08:19
joaoh82 left08:19
alexander__b dr_lepper: so can it at least use my thunderbird email settings?08:19
joaoh82 joined08:19
maslowbeer_ left08:19
alexander__b for smtp etc08:19
maestrojed left08:20
dr_lepper no, you'll have to configure it separately08:20
if you want, you can use git-format-patch to create the messages08:20
alexander__b ugh08:20
dr_lepper and then mail them manually with thunderbird08:20
alexander__b dr_lepper: I use that 99% of the time, but someone whined about it on a project08:20
dr_lepper well, I personally can't see any reason why you would want to use thunderbird08:20
instead of just sending the patches08:21
alorence joined08:21
alexander__b I have *a lot* of email addresses and stuff, so thunderbird is nice because it deals with everything in a quite pleasant manner.08:21
Kayra joined08:21
dr_lepper if you send mail to a lot of people at the same time often, you should set up a mailing list08:22
alexander__b dr_lepper: what?08:23
I'm not sure how what you just said relates to anything I have said at all.08:23
thevishy left08:23
ecube left08:23
dr_lepper <alexander__b> I have *a lot* of email addresses <...>08:24
osse I wouldn't be surprised if Thunderbird has the possibility of taking a file as a mail end send it. So git format-patch and then right-click on it and "open in thunderbird" or something to that effect08:24
thierryp joined08:24
alexander__b dr_lepper: and this relates to what you suggested how?08:24
arjun_ left08:24
alexander__b osse: right click? right clicking in my terminal doesn't do terribly much useful for this. :-P I'll try opening it in thunderbird as a "saved message" though08:25
dr_lepper it would be better if you described the problems you are solving with thunderbird08:25
I can't see any08:26
alexander__b having 5+ email addresses, and using different ones for different projects. I see no way of handling this gracefully in git.08:26
ptmahent left08:26
echo-area joined08:26
osse alexander__b: yeah I just meant opening it in thunderbird. But since you use it I supposed you had a file manager too08:26
michael_lee joined08:26
dr_lepper you can configure each project to use different from address and smtp server08:26
alexander__b osse: implying BASH isn't a file manager? ;-)08:27
arjun_ joined08:27
jast it's not. it's a shell. :}08:27
dr_lepper alexander__b: implying thunderbird isn't a mail client, I guess :)08:27
alexander__b dr_lepper: having to set up the damn servers in the first place is a hassle, compared to just having one application do all email stuff. if I had to set up email in git and darcs and whatnot separately, I'd go mad. it's annoying enough to set it up that one place. and thunderbird even does it 99% automatically.08:28
michael_lee left08:28
dr_lepper you can set up msmtp (once)08:28
and just specify a 'from' address for each project08:29
alexander__b what if I need to use a different smtp per project?08:29
dr_lepper msmtp handles that08:30
osse anyway, using git-format-patch and then NOT use git-send-email but use thunderbird to send it seems to be reasonable08:30
j0ran1 joined08:30
tSvendsen joined08:30
dr_lepper alternatively, you could patch thunderbird and have it provide an SMTP-server of its own08:30
alexander__b osse: yes. I usually attach it though, and I think that was the main complaint, so they couldn't just download the email itself.08:30
dr_lepper or sendmail interface08:31
seems reasonable, if you want one application to do _all_ "email stuff"08:31
sebhoss joined08:31
JohnRobert joined08:31
michael_lee joined08:32
osse alexander__b: just remember to turn off line wrapping and then sending it as text should work just fine08:32
alexander__b ouch forgot about autowrapping08:32
jceb_ left08:32
osse man git-format-patch08:33
gitinfo the git-format-patch manpage is available at http://jk.gs/git-format-patch.html08:33
osse Search for thunderbird08:33
alexander__b osse: thanks08:34
osse alexander__b: maybe git-imap-send is interesting too08:34
dr_lepper oh my08:34
rfree left08:35
j0ran1 left08:35
osse oh your08:35
trusktr left08:35
alexander__b osse: if I'm reading this manpage correctly, there still exists a way to use vim for writing messages? if so, that will make me very happy. the addon I used for that has been depracated since thunderbird 3 or so, lol08:36
thevishy joined08:36
nnyk_ joined08:36
nnyk_ left08:36
nnyk_ joined08:36
MattMake_MattMaker08:36
mlechner joined08:37
tatka_1094 joined08:37
JohnRobert left08:37
Plummer joined08:37
TN_Jonesboro left08:38
liamkeily left08:38
noyb joined08:38
michael_lee left08:38
jazz264 left08:38
tatka_1094 left08:38
gasbakid joined08:39
jaseemabid joined08:39
alexander__b osse: oh right. the described process relies on thunderbird 1.5 at the newest, lol. might be time to get that out of the manpage.08:40
mishok13 joined08:41
denkr joined08:41
michael_lee joined08:41
acrocity joined08:42
acrocity left08:43
rfree joined08:44
cff joined08:44
Misan joined08:45
TomyWork joined08:47
jceb_ joined08:48
pmahent joined08:48
alexander__b osse: nope. thunderbird is too much of a pita. guess I'll have to set up send-email.08:48
LimeBlast joined08:49
dr_lepper ditch thunderbird08:49
eletuchy_ joined08:49
dr_lepper set up a decent email system08:50
JohnRobert joined08:50
alexander__b too much work tbh. I tried mutt probably ten times at least.08:50
dr_lepper well, you can invest in some work to save time later08:51
but it's up to you of course08:51
michael_lee left08:51
alexander__b thunderbird doesn't cost me any time08:51
osse just uses gmail because he's a n00b08:51
alexander__b I click "add server", type the addresses, and then it figures out 99% of the stuff automatically.08:52
dr_lepper you've been in this channel for 35 minutes now :)08:52
it costed you at least that08:52
eletuchy left08:52
alexander__b I have not spent 35 minutes on email. furthermore, it's not exactly thunderbirds fault that I need to set up git config08:52
jaseemabid left08:53
KK4MGV i've been looking for a decent mail system for some time now08:53
i started configuring mutt like two years ago and still don't have it how i want it, so i think it's not the solution for me08:53
alexander__b there is none. but thunderbird views and composes email correctly and is quick to set up, so it's good enough.08:53
KK4MGV anybody have any suggestions?08:53
johnkevinmbasco left08:53
moritz abandom email08:53
*abandon08:53
dr_lepper KK4MGV: it depends on what you want from it08:54
eletuchy_ left08:54
thierryp left08:54
dr_lepper has mutt for composing and reading, getmail for retrieving, and msmtp for sending08:54
KK4MGV my requirements are: efficient interface, doesn't crash, and doesn't hog resources08:54
slassh joined08:54
michael_lee joined08:54
thierryp joined08:54
KK4MGV and gnupg hooks08:55
j0ran joined08:55
dr_lepper mutt seems to satisfy all of them08:55
KK4MGV on paper i agree08:55
idk... i just can't seem to get used to it08:55
also i've had a ton of issues with it and imap08:55
it appears most people must just use something else to fetch the mail and then point mutt to their local mbox or something08:56
BiggFREE joined08:57
alexander__b oh right, if I use git send-email I won't send via my proxy... so I guess I have to figure out how to use a proxy with send-email too.08:57
konadr joined08:57
karavanjo left08:57
karavanjo joined08:57
boombatower joined08:58
lavong joined08:58
alexander__b also apparently something is worng, since Command unknown: 'AUTH' at /usr/libexec/git-core/git-send-email line 1231.08:58
boombatower left08:59
alexander__b is "starttls" supported, and is that the correct way to write it?08:59
tufflax joined09:00
alexander__b and I just assume that "git send-email -1 --to=<my email address>" is correct09:01
KamilionIncorrect09:02
IncorrectKamilion09:02
YoungFrog joined09:02
joaoh82 left09:02
alexander__b oh... ok, so I need to do "tls" not "starttls"09:03
joaoh82 joined09:03
CodeShar_ joined09:03
CodeShark left09:03
halu joined09:04
tatka_1094 joined09:04
alexander__b «Please set SSL_verify_mode to SSL_VERIFY_PEER together with SSL_ca_file|SSL_ca_path for verification.» -- ok, but where/how?09:05
moritz man git-config09:06
gitinfo the git-config manpage is available at http://jk.gs/git-config.html09:06
tatka_1094 left09:06
michael_lee left09:06
Norm_ joined09:06
moritz search for ssl09:06
hahuang65 left09:06
Kartagis isn't it strange not receiving messages like http://paste.debian.net/69036/ ?09:06
hahuang65 joined09:06
alexander__b oh OK it's just the http.sslverify?09:06
Kartagis because I don't for my repos09:06
grep0r left09:07
michael_lee joined09:09
CodeShark joined09:09
rjhunter joined09:09
j0ran left09:09
j0ran2 joined09:09
CodeShar_ left09:10
lb1a joined09:10
j0ran2 left09:11
j0ran joined09:11
j0ran left09:12
SADPGZR joined09:12
alexander__b moritz: I set it now but I still get the error -- do I need to set something else than http.sslVerify and http.sslCAPath?09:14
moritz alexander__b: I have no idea.09:14
rjhunter left09:14
lavong left09:15
dfanjul joined09:15
michael_lee left09:15
lavong joined09:16
m0ltar left09:17
beautifulmind joined09:17
eletuchy joined09:17
Curtisbeef left09:17
dsdeiz left09:17
nilg left09:18
daito left09:18
michael_lee joined09:18
dhruvasagar left09:19
m0ltar joined09:19
kjellski_ joined09:19
j0ran1 joined09:19
enape_101 joined09:19
fairuz1 joined09:19
donmichelangelo left09:20
thiago left09:20
liamkeily joined09:20
anli__ left09:20
djh joined09:21
kjellski left09:21
kjellski_kjellski09:21
ollo joined09:22
enape_101 left09:24
j0ran3 joined09:24
j0ran1 left09:24
dhruvasagar joined09:25
grep0r joined09:25
nilg joined09:25
joel_falcou joined09:25
robbyoconnor joined09:26
noyb left09:27
michael_lee left09:28
jooools joined09:28
abelsiqueira joined09:30
hvbh83tht987 joined09:31
m0ltar left09:31
michael_lee joined09:31
Kayra left09:31
tatka_1094 joined09:31
blinkdesign joined09:32
tatka_1094 left09:33
m0ltar joined09:33
Hoksilato left09:34
dyng left09:34
mdiers joined09:34
hvbh83tht987 left09:34
Sylario joined09:36
jceb_ left09:37
guest7777 left09:37
fairuz1 left09:39
michael_lee left09:43
jayawant joined09:43
fairuz joined09:43
WaReZ joined09:44
dsdeiz joined09:44
atm1 joined09:44
dhruvasagar left09:45
gitinfo set mode: +v09:45
atm1canton7-mac09:45
dhruvasagar joined09:45
liamkeily left09:45
michael_lee joined09:46
psyl0n joined09:47
daito joined09:48
veebers left09:49
jceb_ joined09:52
achadwick joined09:53
Watabou left09:54
joelrobichaud left09:55
harish joined09:56
DoniRS joined09:57
kodab joined09:57
michael_lee left09:58
kodabb joined09:58
tatka_1094 joined09:58
during joined09:59
during left09:59
during joined09:59
duringarmin_w09:59
wrp6 joined10:00
tatka_1094 left10:00
arjun_ left10:00
raonyguimaraes joined10:00
jarr0dsz joined10:01
michael_lee joined10:01
arjun_ joined10:01
koda left10:01
kodab left10:02
Skrypter left10:02
marhaban joined10:03
dyng joined10:04
beautifulmind left10:04
Skrypter joined10:04
Skrypter left10:05
beautifulmind joined10:05
mue left10:06
dyng left10:06
dyng joined10:06
mue joined10:07
Skrypter joined10:07
mklappstuhl joined10:09
dhilipsiva joined10:09
mdiers left10:10
michael_lee left10:13
MissionCritical left10:13
nilg left10:13
denkr left10:13
arjun_ left10:13
arjun_ joined10:14
liamkeily joined10:14
nilg joined10:14
Kayra joined10:14
ChrisAnn joined10:15
michael_lee joined10:16
LimeBlast left10:16
p3lim left10:16
snql joined10:17
rjc joined10:19
LimeBlast joined10:20
liamkeily left10:20
ericy joined10:20
dsdeiz left10:20
Mission-Critical joined10:22
jayawant left10:23
EgS joined10:24
PaddyPatPat left10:25
tatka_1094 joined10:26
manithree left10:26
wrouesnel1 joined10:27
michael_lee left10:27
tatka_1094 left10:27
rafeca joined10:29
michael_lee joined10:30
ericy left10:32
Mission-CriticalMissionCritical10:33
liamkeily joined10:33
weiyang left10:38
michael_lee left10:38
liamkeily left10:38
luc_ left10:40
michael_lee joined10:41
JohnRobert left10:41
michael_lee left10:41
dhruvasagar left10:41
dhruvasagar joined10:42
h_kon left10:44
Guest12540 joined10:44
papegaaij joined10:44
h_kon joined10:44
timthelion joined10:46
cilly joined10:48
yhager left10:48
pengunix joined10:48
nnyk_ left10:49
hyperair left10:50
cilly left10:50
Raging_Hog left10:52
tatka_1094 joined10:53
psyl0n left10:53
tatka_1094 left10:54
reydan joined10:55
liamkeily joined10:55
JustinMac left10:55
rudi_s left10:58
kerrick left11:00
rudi_s joined11:01
FerreusR joined11:01
reydan left11:04
reydan joined11:04
Skrypter left11:08
sebhoss left11:08
Kartagis isn't it strange not receiving messages like http://paste.debian.net/69036/ ?11:09
because I don't for my repos11:09
rjhunter joined11:12
dhruvasagar left11:13
dhruvasagar joined11:14
Pullphinger left11:15
ochoZero9 left11:16
canton7 Kartagis, not over dumb http, no. The remote isn't doing anything - you're just fetching whatever happens to be on the remote11:17
Kartagis canoon: hrm, I'm on dumb http then11:17
rjhunter left11:17
vtunka joined11:18
liamkeily left11:18
Kartagis canton7*11:19
tatka_1094 joined11:20
canton7 normally your git client and a git service on the remote have a little chat, see what needs to be transferred, then the remote creates a new custom packfile containing just that, and sends it over11:20
with dumb http, there's no service on the remote. so your client just has to fetch whatever packfiles are available. so you may well end up transferring the entire repo every time you need to get one tiny update11:20
Acidnerd1 joined11:21
tatka_1094 left11:21
Acidnerd left11:21
liamkeily joined11:22
dhilipsiva left11:23
dhilipsiva joined11:23
kcj left11:25
Devastator left11:27
oojacoboo left11:28
rwestphal joined11:28
liamkeily left11:30
dsdeiz joined11:30
Devastator joined11:30
fairuz left11:32
Kartagis http://git-scm.com/blog/2010/03/04/smart-http.html <--- I copied that LocationMatch but still no :S11:32
Layke joined11:32
cillybabe joined11:32
gwb3 left11:34
Layke avar, Hey. I don't know perl.. But wanted to install https://github.com/git-deploy/git-deploy If I clone the repo, locally, what's the next step?11:34
tma996 joined11:34
Layke I can't remember what I did the first time I installed it :)11:34
liamkeily joined11:34
gwb3 joined11:36
canoon Layke, seems more like a perl issue no?11:37
Raging_Hog joined11:37
grilix joined11:37
Layke canoon, avar wrote it. Don't want to PM him unless he's around :)11:37
cillybabecilly11:37
Layke And he only hangs out in this channel. I'll be patient anyway. :) I think I just need to update my PATH vars.11:38
gwb3 left11:38
gwb3 joined11:40
marhaban left11:40
reydan left11:40
lavong left11:41
liamkeily left11:42
tma996 left11:42
canton7-mac +1 for ssh.net - I've barely had any problems with it11:42
ops, wrong chan11:42
tma996 joined11:42
cilly left11:43
cilly joined11:43
dhilipsi_ joined11:43
Stygia joined11:44
canoon left11:44
dhilipsiva left11:44
dhruvasagar left11:45
nnyk_ joined11:45
sebhoss joined11:45
dhruvasagar joined11:46
tma996 left11:46
dyng left11:46
L8D joined11:46
rjhunter joined11:47
tatka_1094 joined11:47
avar Layke: Just symlink something to bin/git-deploy, it should find the lib directory in lib/ and be ready to go11:48
Layke: We should really have a "install" section...11:48
tma996 joined11:48
Layke avar, Ah thanks :) I just added the /home/layke/git-deploy to my PATH11:48
Wasn't sure if that would be enough, but it was :)11:48
tatka_1094 left11:48
gwb3 left11:49
gasbakid left11:49
gwb3 joined11:50
kiki67100 joined11:51
kiki67100 Hello11:51
everybody11:51
I would to know if possible to delete a remote commit ? A just enter my personnal password in plain text..11:51
iksik__ joined11:51
L8D left11:51
adhawkins-awayadhawkins11:52
Guest12540 i think u can delete the remote brach with the sha-1 id of the commit11:52
dr_lepper kiki67100: delete it from the branch locally and force-push the update11:52
dkpi joined11:52
kiki67100 how can i do delete from local?11:52
Guest12540 left11:53
gua_ould left11:53
kiki67100 git reset --hard d41617111:53
git push -f ?11:53
WaReZ left11:53
JohnBat26 joined11:54
iksik_ left11:54
moritz or simply change your password :-)11:54
note that even if you remove the commit from the branch, it'll be kept in the server's object store for a few weeks11:55
dr_lepper if it is the latest commit, then git reset --hard HEAD^11:55
(warning, data loss possible)11:55
spaceonline joined11:55
denkr joined11:55
matanya left11:55
GT4066 joined11:55
kiki67100 moritz: Yes but it's very boring11:55
mklappstuhl left11:55
Kayra left11:56
moritz kiki67100: security is usually boring.11:56
getting hacked is exciting, kind of11:56
kiki67100 moritz: it sure!11:56
moritz prefers boring11:56
DolphinDream left11:56
kiki67100 moritz: That's is human... ;)11:57
cilly left11:57
cillybabe joined11:57
kiki67100 the French like me are more lazybones11:58
Kartagis http://git-scm.com/blog/2010/03/04/smart-http.html <--- I copied that LocationMatch but still no :S11:58
I'm trying to get smart http11:58
kiki67100 moritz: how can delete object store from remote branch ?11:58
I reset head but i think object is always in server no ?11:59
gua_ould joined11:59
moritz kiki67100: can you ssh into the server?12:00
paulweb515 left12:00
kiki67100 moritz: yes12:00
grilix left12:00
kiki67100 i am the root user12:00
moritz kiki67100: then once you've done the force push, git gc with appropriate options12:00
grilix joined12:01
kiki67100 moritz: git gc not delete files?12:01
cillybabecilly12:01
moritz kiki67100: sentence no verb!12:01
Kayra joined12:03
kiki67100 moritz: i use gc auto its work fine12:03
thansk12:03
thanks12:03
grilix left12:05
Sadeukko joined12:07
tma996 left12:08
johnkevinmbasco joined12:08
jarr0dsz left12:08
tma996 joined12:08
nnyk_ left12:08
iamtakingiteasy joined12:09
grilix joined12:09
compact left12:09
compact joined12:09
nnyk_ joined12:10
_goTAN joined12:10
iamtakin1iteasy left12:10
daito left12:10
denkr left12:11
sabgenton Is this a good way to allter all your files? git filter-branch --tree-filter 'git diff-tree --name-only --diff-filter=AM -r --no-commit-id $GIT_COMMIT | <do stuff to files here>' HEAD12:12
freestyl3r joined12:12
mwlang joined12:12
iokill joined12:13
ewnd9 left12:13
sabgenton I put a while read bash loop in there seemed work but not on the branch head commit12:13
mwlang I just ran "git merge master development" and nothing further. I want to undo this and restore my development branch back to where it was just before this command.12:13
is that simply "git reset HEAD" to do so?12:14
tatka_1094 joined12:14
cilly left12:14
osse mwlang: which branch were you on when you ran that command?12:14
mwlang development12:14
lb1a left12:14
osse mwlang: git reset --hard development@{1}12:15
rafeca left12:15
_goTANgoTAN66712:15
ohcibi do I have to bang .gitignore, when doing a whitelist-.gitignore (e.g. * followed by !.gitignore) or is * not ignoring .gitignore?12:15
tatka_1094 left12:15
goTAN667_goTAN12:15
mwlang osse: thanks -- gonna go look up that --hard flag, never used that one before.12:16
lunarjar left12:16
osse ohcibi: as long as you've commited the .gitignore it doesn't matter. Files already tracked are not ignored even when they match patterns in .gitignore12:16
_goTANgoTAN12:17
ohcibi osse: k.. thanks12:17
goTAN_goTAN12:17
liamkeily joined12:17
rafeca joined12:18
cilly joined12:18
mwlang speaking of .gitignore -- I was recently trying to set it up so that our project's config file with template info for how to configure is checked in and tracked, but local changes by developer are ignored going forward unless explicitly added and committed -- is that possible?12:18
lunarjar joined12:19
CheckDavid joined12:19
osse mwlang: no. it's best to rename your config to config.template then ask the devs to make a copy of it to edit12:20
mwlang that's what I figured.12:20
osse ohcibi: as for your actual question, I think the * in .gitignores also matches dotfiles12:21
dhruvasagar left12:21
osse mwlang: you can do something like git update-index --assume-unchanged or something, but it gets confusing fast (at least for me)12:21
preflex left12:21
preflex_ joined12:21
cilly left12:21
ohcibi osse: interesting point... this is the point where curiosity defeats lazyness12:21
osse curiosity++12:22
daito joined12:22
mwlang osse: interesting idea, but I think your right that its just best to give it an alternate name.12:22
DolphinDream joined12:22
preflex_preflex12:22
Xethron joined12:22
osse ohcibi: never mind, I was wrong. * doesn't match dotfiles12:22
ohcibi k, seems like .gitignore can ignore itself.. so gitignores * is more "powerful" then default shell's glob12:22
osse: no you were right... at least * in .gitignore12:23
osse ohcibi: ehh, never mind. It does :P12:23
ohcibi i knew that * doesnt match dotfiles in shell.. thats why I needed to try it out 8-)12:23
lunarjar left12:24
DolphinDream left12:24
_goTANgoTAN12:25
arjun_ left12:26
joaoh82 left12:26
joaoh82 joined12:27
User458764 joined12:27
robbyoconnor left12:28
mklappstuhl joined12:28
arjun_ joined12:31
piecu joined12:32
piecu hello everyone12:32
gitinfo piecu: 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.12:32
mklappstuhl left12:33
piecu how can I revert a locally added tag, not pushed yet?12:33
git reset --hard doesn't do that12:33
Silex piecu: git tad -d or smth12:34
moritz piecu: you have to delete the tag12:34
piecu: man git tag12:34
gitinfo piecu: the git-tag manpage is available at http://jk.gs/git-tag.html12:34
piecu but can I delete all not pushed tags?12:34
I don't know the tag name12:34
moritz how about finding the tag name? :-)12:34
tma996 left12:34
moritz 'git tag' lists them12:34
juliohm joined12:34
fdel joined12:34
tma996 joined12:35
shwaiil joined12:35
piecu but I'm trying to automate some process and want to delete all not pushed tags12:35
bremner piecu: you can use git ls-remote12:35
Raging_Hog left12:35
bremner (to find the pushed tags)12:35
jrib left12:36
tma996 left12:36
tma996 joined12:36
fdel Is there an easy way to use 'git grep' to search for multiline patterns (like 'foo\nbar')? "grep -Pzo" works, but I couldn't find the equivalent using "git grep"12:37
denkr joined12:37
denkr left12:37
piecu so there is now easy way to delete ALL not pushed tags? preferrably one command...12:37
zapb left12:37
moritz I'm not aware of one12:38
tma996_ joined12:38
john2x is it possible to "remove" a commit from history?12:39
fdel john2x: yes, using 'git rebase' for instance12:40
Pullphinger joined12:40
john2x fdel: how would that work? I tried rebase -i, but there's no option to remove a commit12:41
tatka_1094 joined12:41
moritz john2x: you can simply remove the line with that commit12:41
fdel just delete the commit line12:41
tma996 left12:41
User458764 left12:41
lvella joined12:42
zmansiv left12:42
sephii joined12:42
tatka_1094 left12:42
john2x oh, that part was just below the fold. thanks12:43
rafeca left12:43
zmansiv joined12:43
sephii hey there, I recently upgraded git and now each untracked file in the output of the "status" command starts with a tab character, which is very annoying when copy-pasting (by double-clicking it and then middle-click) because it pastes the tab character which gets interpreted by the shell and the final path is wrong12:44
htux joined12:44
erichynds joined12:44
lazers left12:44
snql left12:44
rafeca joined12:44
sephii any idea what's going on? I'm using git 1.8.4.3 on Debian12:45
cannonball joined12:46
htux I'm doing a school project and I want to version manage it with git. I want to share the project so I can work on it at home too. I don't have a server that I can use for it at the moment (but I could set one up if it's worth it) and I don't want to share my code with anyone else (github free won't suffice). What are my options in order of "ease"?12:46
snql joined12:46
moritz htux: bitbucket offers free, private git repos, iirc12:48
https://bitbucket.org/plans12:49
htux moritz: I know. Not sure if I want to put my code on there though. But maybe I should stop thinking like that. My project is not like a famous proprietary software12:49
piecu htux: check assembla.com12:49
htux piecu: Same principle, assembla and bitbucket12:50
moritz htux: well, if you don't trust some random organization on the internet, you'll have to carry it around on a USB stick12:50
htux: or find a random company on the internet you trust12:50
htux moritz: Oh well, maybe it's worth it setting up a server at home then12:50
moritz but do you trust yourself? :-)12:51
htux moritz: Good point :)12:51
lazers joined12:51
qsusOFFcsqsuscs12:51
htux moritz: Perhaps if I set up as simple of a system as possible and double check everything12:51
smashwilson joined12:51
hyperair joined12:52
moritz ... and write all the software from scratch, including OS and compiler12:52
y_nk joined12:52
sephii htux: what makes you reluctant of putting your project on bitbucket?12:52
moritz shuts up now.12:52
WaReZ joined12:52
y_nk left12:53
fairuz joined12:53
y_nk joined12:53
htux sephii: It's just that I'm giving code that is not open source to another company. I know I am probably not going to profit from my code and that I can probably trust BitBucket, but "the principle!!!"12:54
nevyn htux: do you have a server?12:54
htux: run gitolite on a vps12:55
moritz htux: do you have the same principles for emails? HTTP traffic?12:55
nevyn: then htux would have to trust the VPS provider. Why trust them, and not bitbucket?12:55
htux moritz: Hmm yeah, you're right12:55
m0ltar left12:55
nevyn right.12:55
beautifulmind left12:55
shwaiil Q: Can I create a hook, that executes a given script that I've created to deploy to staging, etc, that should be exec whenever I push to the master branch ? Thanks12:56
htux moritz: I don't know, some part of me wants to draw the line between emails/HTTP traffic and vps/version control12:56
moritz: Not even sure why12:56
snql left12:56
sephii htux: I don't think hosting your code on Bitbucket grants them the right to use it12:56
nevyn it's more directly work product.12:56
sephii htux: you should read the privacy policy and then decide if it's worth to use your own server12:56
nevyn we need an encrypted git hosting tor hidden service.12:56
moritz finds his emails more worthy of protection than his code12:56
htux nevyn: Wow, never thought of that!12:57
nevyn htux: I was kidding.12:57
ewnd9 joined12:58
htux nevyn: Seriously though12:58
nevyn no.12:58
m0ltar joined12:58
nevyn it's a terrible idea.12:58
htux nevyn: why?12:58
nevyn latency mostly12:58
and the fact that tor is based around dumb http12:59
karavanjo_ joined12:59
karavanjo left12:59
lvella left13:00
lvella joined13:00
y_nk left13:00
thierryp left13:00
_toordog joined13:00
Mapley left13:00
nnyk_ left13:02
fdel left13:03
snql joined13:03
snql left13:03
Mapley joined13:03
grilix_ joined13:03
thierryp_ joined13:04
Exio4 joined13:05
piecu left13:05
grilix left13:06
htux I think I will use bitbucket13:07
nnyk_ joined13:08
tatka_1094 joined13:08
echo-are` joined13:09
sabgenton left13:09
L8D joined13:09
tatka_1094 left13:10
mklappstuhl joined13:10
txomon|fon joined13:10
txomon|fon hi, I am having some doubts with git branching stuff13:10
PeterBooker joined13:10
txomon|fon I have been regularly merging some feature branches into a master branch, and now I would like to revert thos merges13:10
from an specific branch13:11
Sadeukko left13:11
echo-area left13:11
samskiter joined13:11
txomon|fon but they are tons of merges13:11
j0ran3 left13:11
txomon|fon s/they/there/13:11
samskiter hi, using git submodule add in my repo root will create a folder with the name of the repo i want to clone. how do i go the same in a subdirectory of my repo13:12
canton7 txomon|fon, so you're been working on branch foo, merging it into master, doing some more work on branch foo, merging it into master again?13:12
Sadeukko joined13:13
echo-are` left13:13
echo-area joined13:13
rjhunter left13:14
samskiter e.g. if the submodule I'm adding is called 'SubmLib', doing a git submodule add to my root yields ./SubmLib which contains the cloned files. but doing it to ./libs results in 'libs already in index' error message13:14
txomon|fon Something like the rever in here http://git-scm.com/blog/2010/03/02/undoing-merges.html13:14
but for several commits13:14
j0ran joined13:15
txomon|fon canton7, yeah13:15
that's my problem13:15
HicksD left13:15
canton7 txomon|fon, yeah, that's not a good branching strategy13:15
txomon|fon I have seen so ;(13:16
which would be better?13:16
canton7 git revert takes a --no-commit flag. do a ton of --no-commit reverts, one for each merge13:16
that should work13:16
branches normally represent features. when a feature is complete, merge it in, and delete its branch13:16
txomon|fon oh... pfff13:16
yeah the problem is that..13:17
yargy joined13:17
txomon|fon let me give you a image13:17
https://github.com/txomon/mopidy/network13:17
branch develop is mopidy's project master one13:17
for which I want to propose the PR13:17
and master is my master, where I work on features and have all my features merged in one branch13:18
in order to test stability between them etc.13:18
canton7 cool, makes sense so far13:18
txomon|fon yeah13:19
but now, I found that one of the features is breaking badly my branches13:19
see feature/audio-volume-and-mute-updates13:19
Fandekasp left13:20
txomon|fon so I did a git diff develop feature/audio-volume-and-mute-updates13:20
Sadeukko left13:20
txomon|fon and applied as reverted patch13:20
canton7 it does look like git-revert takes a range actually13:20
txomon|fon it does13:20
I will be switching to a method on rebasing my feature branches on develop13:21
for the feature branches13:21
but no idea on what to do with my master one13:21
harobed joined13:22
canton7 might be worth asking the !list for general solutions - I know quite a few of them do what you do13:23
gitinfo [!mailing_list] The mailing list can be reached via [email@hidden.address] You don't need to subscribe to the list, you will always be put in cc on reply. Read archives at http://j.mp/gitlist13:23
_Vi left13:23
txomon|fon canton7, ok,. I just wanted to know if that wasn't as crazy as it seemed to my colleages =) I will be mailing it now13:23
canton7 txomon|fon, my suspicious might be that a general strategy would be to merge the features into master, but revert the previous merge and re-merge if modifications are made to the feature?13:24
samskiter left13:24
freeed joined13:26
maleknet left13:26
jkremser left13:27
HicksD joined13:27
txomon|fon canton7, then I should be doing some sort of strange rebase/merge13:27
something smarter may exist13:27
canton7 personally I'd stave off the rebase until you create the pull request13:27
txomon|fon the problem is that i work with master13:28
and that I can't now re-merge the feature branch ;(13:28
Gavrisimo joined13:28
txomon|fon I am going afk, will come back when I arrive home13:29
fuzzybunny69y left13:31
fuzzybunny69y joined13:32
samskiter joined13:32
samskiter hi. i can't add a submodule to git without getting an error: already exists in index13:33
Sonderblade what do you do with old branches upstream has merged? can you archive them or something?13:33
moritz just delete them13:35
Devastator left13:35
Devastator joined13:35
tatka_1094 joined13:35
harobed left13:35
tatka_1094 left13:37
DaisyTheCow joined13:38
DaisyTheCow left13:38
lb1a joined13:38
FortySix2 joined13:39
hyperair left13:40
paulweb515 joined13:40
hyperair joined13:41
jonatasnona joined13:41
harobed joined13:43
FortySix2 left13:43
harobed left13:43
Grum left13:43
harobed joined13:44
Grum joined13:45
Sonderblade moritz: how can i verify that all commits in the branch has been merged?13:45
samskiter can anyone help out with the submodule issue i mentioned13:45
is there no way to add a submodule as another folder in an existing subdirectory13:45
sgambino joined13:45
lvella left13:46
samskiter ach. never mind. as usual git is inconsistent13:46
paulweb515 left13:46
Sendoushi joined13:47
canton7-mac samskiter, so submodule within a submodule? you have to cd into the first submodule, probably13:47
thierryp_ left13:47
samskiter no canton. submodule within root project. the command syntax confused me13:47
moritz Sonderblade: git automatically checks if a branch has been merged when you run 'git branch -d <branchname>'13:47
thierryp joined13:47
redrocket joined13:47
DaisyTheCow joined13:48
dfanjul left13:48
samskiter canton7-mac: git submodule add url/to/subm.git . will create a directory 'subj' to my repo root. BUT 'git submodule add url/to/subm.git libs' will complain that libs is already in the repo13:48
DaisyTheCow left13:48
samskiter so the correct command was 'git submodule add url/to/subm.git libs/subm'13:49
Sonderblade moritz: no. it deletes it anyway13:49
canton7-mac samskiter, yeah, looks sensible to me13:49
htux left13:49
moritz Sonderblade: it doesn't for me (git version 1.7.10.4)13:50
hyperair left13:50
Sonderblade moritz: 1.7.9: warning: deleting branch 'map-image-funcs' that has been merged to 'refs/remotes/origin/map-image-funcs', but not yet merged to HEAD. Deleted branch map-image-funcs (was e1f3faa).13:50
samskiter canton7-mac: it's confusing as I'm used to git creating the directory for me when i clone a new repo...13:51
canton7-mac: thanks13:51
_Vi joined13:51
canton7-mac if you had a dir called 'repo', and you said 'git clone ..../repo.git', git wouldn't complain13:52
ignore that. true but irrelevant13:52
s_e left13:52
nbrosnahan left13:52
canton7-mac if you had a dir called 'libs' and you said 'git clone ..../repo.git libs', git would complain iirc13:53
samskiter canton7-mac: i guess the difference is i would just cd into libs and do a git clone, but you can't do that with submodule add13:53
dort joined13:53
mwlang is there a difference between "get reset HEAD" and "git reset HEAD~1" ?13:54
lvella joined13:55
ni_ joined13:55
dsdeiz left13:55
canton7-mac mwlang, yes. one resets to HEAD, one resets to HEAD~113:55
dsdeiz_ joined13:55
canton7-mac samskiter, yeah, figures :P13:55
dort left13:55
breakingthings joined13:55
s_e joined13:56
hyperair joined13:56
bdavenportbdav|away13:57
flaguy48 left13:57
aChatir joined13:57
mwlang canton7-mac: reminds me of that engineering joke -- "A man is flying in a hot air balloon…."13:57
I guess the real question is what does the ~1 do?13:58
canton7-mac HEAD~1 is the first parent of HEAD13:58
Kayra left13:59
canton7-mac HEAD~2 is the first parent of the first parent of HEAD (i.e. HEAD's grandparent)13:59
similarly, HEAD^ is the first parent of HEAD, but HEAD^2 is the *second* parent of HEAD (only applicable with merge commits)13:59
so HEAD^^ is the same as HEAD~213:59
crash course :P make sense?13:59
j0ran2 joined13:59
Kayra joined14:00
j0ran left14:00
decotii joined14:00
j0ran2 left14:00
j0ran joined14:00
mwlang so basically walks backwards in the chain by X commits?14:00
nnyk_ left14:01
canton7-mac yup14:01
Sonderblade yes, except it's a tree :)14:01
canton7-mac following the first parent each time14:01
PaulCapestany joined14:01
cn28h joined14:02
nnyk_ joined14:02
nnyk_ left14:02
nnyk_ joined14:02
michael_lee joined14:02
arjun_ left14:02
tatka_1094 joined14:02
ezio joined14:02
ezio left14:02
ezio joined14:02
hellopat joined14:03
pasky left14:04
tatka_1094 left14:04
gregsmith joined14:04
Kayra left14:04
zumba_addict left14:05
lavong joined14:06
dsdeiz joined14:06
Layke left14:07
dsdeiz_ left14:07
Kayra joined14:08
troyt left14:09
[emmajane] joined14:09
paulweb515 joined14:10
Guest27032 left14:11
johnkevinmbasco left14:12
jerius joined14:12
troyt joined14:13
sohail joined14:13
sohail left14:13
sohail joined14:13
Matt_R joined14:14
hyperair left14:14
mmitchell joined14:14
hyperair joined14:15
adhawkinsadhawkins-away14:16
flaguy48 joined14:16
ni_ left14:16
ni_ joined14:17
jizanthapus left14:17
yargy left14:17
jizanthapus joined14:18
delasteve left14:18
jkremser joined14:18
jkremser left14:18
jkremser joined14:18
DaisyTheCow joined14:19
DaisyTheCow left14:19
the_cybersphinx joined14:19
dhruvasagar joined14:19
aartist joined14:19
Gavrisimo left14:20
Gavrisimo joined14:21
daito left14:21
gnoel joined14:21
gnoel_ joined14:21
nbrosnahan joined14:24
takamichi left14:24
scampbell joined14:25
scampbell left14:25
rjhunter joined14:25
Gavrisimo left14:25
dkpi left14:25
AaronMT joined14:25
takamichi joined14:26
pasky joined14:27
treaki_ left14:28
b3tamax left14:29
samskiter is it possible to 'check in' a remote that a repo should track (i.e. i'd like it to be that anyone who checks out this repo automatically has the github remote from which it was pulled)14:29
or maybe automatically configure git to set up that remote14:29
FortySix2 joined14:29
Dougie187 joined14:29
b3tamax joined14:29
el3ctron left14:29
hyperair left14:29
Zarthus joined14:29
rjhunter left14:29
tatka_1094 joined14:30
samskiter looks like it isn't: http://superuser.com/questions/383787/saving-git-remotes-inside-the-git-repository-itself14:30
hyperair joined14:30
hyperair left14:30
hyperair joined14:30
treaki_ joined14:30
tatka_1094 left14:31
v0n joined14:31
h_kon left14:32
ezio left14:32
jrib joined14:33
konadr left14:34
Destos joined14:34
chuckharmston joined14:35
Gamecubic joined14:37
meLon joined14:39
DaisyTheCow joined14:40
DaisyTheCow left14:40
davividal joined14:41
timthelion left14:41
kukks joined14:42
shadok joined14:43
shadok left14:43
shadok joined14:43
Stygia Hey.14:44
Anyone use vi(m) as their editor for git commits?14:44
dr_lepper sure14:44
Stygia I'm trying, but when I wq it says "error: There was a problem with the editor 'vi'" and does not add my message to log nor commit my changes.14:44
bdav|awaybdavenport14:45
dr_lepper there's something wrong with your setup14:45
hyperair left14:45
Stygia Hmm.14:47
matanya joined14:47
Stygia Weirdly enough, it worked when I set it to /usr/bin/vim instead of vim.14:47
Weird, but now it at least works.14:47
GODDOG joined14:47
Kayra left14:47
hyperair joined14:48
bastian_b joined14:50
cagedwisdom left14:50
phile joined14:50
gnoel__ joined14:51
bastian_b Hello, does "git push --mirror" also mirros reflogs please?14:51
dr_lepper no14:52
reflog is local14:52
manithree joined14:52
gnoel left14:52
gnoel_ left14:52
gnoel__ left14:52
LAANIW9 joined14:52
WABUJTX joined14:52
tma996_ left14:53
WaReZ left14:53
tma996 joined14:53
soee left14:54
angelsl joined14:54
rubatdub joined14:54
GODDOG left14:55
tma996 left14:55
tma996 joined14:55
Forkk13 left14:55
bar338 joined14:57
tatka_1094 joined14:57
whitby joined14:57
hyperair left14:57
tatka_1094 left14:58
armin_w left14:59
epta joined15:00
bar338 I recently migrated my git repo from one remote to another (replacing the old git server). I am now seeing some unexpected behavior I hope someone can help me understand. http://paste.laravel.com/1bJM specifically in the paste I am confused by "this is not the default configured remote15:00
for your current branch,"15:00
epta Is there a way to check that branch A have nothing that doesn't exist in branch B? In other words, that `git diff A B' has no `-'ses15:01
beepbeep_ joined15:01
PeterBooker left15:02
bar338 Here is the script I used to migrate the repo: http://paste.laravel.com/1bJP15:02
moritz epta: you can diff --shortstat and check that there are no deletions15:02
beepbeep_ I have a commit that was made about a year ago. I'd like to see a list of commits before and after that commit (let's say 20 commits after that commit and 20 commits before that commit), how do I approach that?15:02
lvella left15:02
hyperair joined15:03
bar338 left15:03
john2x left15:03
john2x joined15:04
amortimer_mbp joined15:04
moritz beepbeep_: before is easy, git log <commit>~20..<commit>15:04
omarek joined15:04
moritz beepbeep_: after is harder, because with branches, there can be many different after's15:04
mwlang left15:04
beepbeep_ moritz, only on current selected branch15:04
hholtmann joined15:05
moritz no idea how to do that, except parsing 'git log'15:06
liamkeily left15:06
beepbeep_ I could ofcourse just view all commits of that week, perhaps.15:07
angasulino joined15:07
john2x left15:08
griotspeak joined15:08
arand joined15:08
griotspeak left15:08
ErKa joined15:10
arand left15:12
epta moritz: it not actually what I want15:12
moritz epta: then describe what you want15:13
arand joined15:14
arand left15:14
Forkk joined15:15
gnoel joined15:16
thierryp left15:16
thierryp_ joined15:16
arand joined15:16
hholtmann_ joined15:17
hholtmann left15:17
hholtmann_hholtmann15:17
hyperair left15:18
hyperair joined15:19
Xethron left15:21
stodan left15:22
arvind_khadri left15:22
rouf joined15:22
kevwil joined15:23
ezio joined15:23
dhruvasagar left15:24
tatka_1094 joined15:24
rob_w left15:24
slassh left15:24
Noldorin joined15:24
[emmajane]emmajane15:24
takamichi left15:25
tatka_1094 left15:25
takamichi joined15:26
Forkk left15:27
ezio left15:28
johnnyfuchs joined15:28
mmattice left15:28
PeterBooker joined15:28
ni_ left15:28
ni__ joined15:28
emmajane[emmajane]15:28
epta moritz: it seems to be that git-diff shows diff between diffs, what I want is just diff between all files in two revisions15:28
ojacobson joined15:29
canton7-mac epta, so 'git diff commit1 commit2'?15:29
sohail left15:30
canton7-mac oops, bad syntax15:30
or not, no, that's fine15:30
moritz epta: what do you mean by 'diff between diffs'?15:30
canton7-mac I though for a minute you had to use range syntax there15:30
[emmajane]emmajane15:32
ehmatthes joined15:32
beepbeep_ left15:32
Gamecubic left15:32
sohail joined15:32
timthelion joined15:33
Forkk joined15:33
ewnd9 left15:33
delasteve joined15:33
delasteve left15:33
delasteve joined15:34
ezio joined15:34
wooy joined15:34
hyperair left15:35
vtunka left15:35
rurufufuss left15:36
hyperair joined15:36
iamjarvo joined15:37
Forkk left15:37
scampbell joined15:37
nnyk_ left15:38
bwreilly joined15:39
treaki__ joined15:40
Raging_Hog joined15:41
ezio left15:41
treaki_ left15:41
scampbell left15:41
acharlieh joined15:42
ezio joined15:43
Advocation joined15:43
marthinal left15:44
Gonzo89 joined15:45
Gamecubic joined15:45
jceb_ left15:46
joaoh82 left15:46
joaoh82 joined15:47
marthinal joined15:49
thiago joined15:50
cwillu_at_work joined15:51
tatka_1094 joined15:51
dhruvasagar joined15:51
emmajane[emmajane]15:52
mizu_no_oto joined15:52
tatka_1094 left15:52
Cromulent joined15:52
Forkk joined15:53
Norm_ left15:53
primitive joined15:54
lite_ left15:54
Krewie left15:54
hyperair left15:55
hyperair joined15:56
DolphinDream joined15:58
DolphinDream left15:58
jooools left15:58
jason237 left15:58
thierryp_ left15:59
jooools joined15:59
ezio left16:01
DoniRS left16:01
jason237 joined16:02
netiul left16:03
johnnyfuchs left16:04
omarek left16:04
jargon left16:05
hyperair left16:05
FortySix2 left16:05
cbreak-work left16:07
FortySix2 joined16:08
str joined16:09
DaisyTheCow joined16:10
tony_lechner joined16:10
tony_lechner Kind of an odd question, but I have a rather large repo (many binary assets to a game) that if I clone on Windows, it will actually cause my router to crash after awhile. Anyone seen anything like this?16:11
GeertV left16:11
tony_lechner Clones fine on my debian box16:11
nwertman joined16:12
arand left16:14
aChatir left16:14
TomyWork left16:15
arand joined16:15
WaReZ joined16:16
Gonzo89 left16:16
ThomasLocke left16:17
tma996 left16:18
iokill left16:18
tatka_1094 joined16:18
hwrd|work joined16:18
offby1 one would think that'd be a fault in the router16:19
Moo joined16:19
tatka_1094 left16:19
MooGuest5780016:20
snql joined16:20
CKyle joined16:20
dhruvasagar left16:21
PaulCapestany left16:21
rath left16:22
marlboromoo left16:23
nicedice joined16:23
zumba_addict joined16:24
papegaaij left16:24
Misan left16:24
shinnya joined16:24
mklappstuhl left16:24
[emmajane]emmajane16:24
snql left16:25
lavaman joined16:25
PaulCapestany joined16:26
zapb_ joined16:27
teran left16:27
emmajane[emmajane]16:28
konadr joined16:28
aartist left16:29
ni__ left16:29
timthelion left16:30
eletuchy left16:30
sebhoss left16:31
eletuchy joined16:31
enape_101 joined16:32
bastian_b When doing a git push and assuming I do it in a bash script, If push is rejected, is there a way to have an error code or exit code in order to know that there was an issue in the script?16:33
WaReZ left16:33
mklappstuhl joined16:33
Asenar Hi, I have that repository /main/subdir and I would like to extract the subdir to make it an other repository (and keeping the logs). Is that possible ?16:33
King_Hual joined16:34
delasteve left16:34
gua_ould left16:34
osse Asenar: man git-filter-branch, look for subtree16:35
gitinfo Asenar: the git-filter-branch manpage is available at http://jk.gs/git-filter-branch.html16:35
eletuchy left16:35
osse Asenar: oops, I mean subdir16:36
enape_101 left16:36
Asenar thanks you !16:36
dp joined16:36
dp is there a way to delete local branches that haven't been pushed to a remote?16:37
Asenar git branch -D16:37
Kayra joined16:37
SHyx0rmZ joined16:38
sebhoss joined16:38
ojacobson bastian_b: most git commands, including git-push, respect the usual exit status convention16:38
zero for success, non-zero for failure16:38
petey joined16:38
Pyrogerg joined16:38
bastian_b Great, thank you16:38
str left16:39
dp Asenar: I was thinking similar to git remote prune origin... something that doesn't require me to inspect every branch first16:39
lite_ joined16:39
bwreilly left16:40
mlechner left16:41
TomyLobo joined16:42
g3orge joined16:43
blinkdesign left16:45
amortimer_mbp left16:45
tatka_1094 joined16:45
[emmajane]emmajane16:45
matanya left16:46
Grant484 left16:46
tatka_1094 left16:47
amortimer_mbp joined16:47
tufflax left16:47
Grant484 joined16:48
Kayra left16:48
konadr left16:49
Pyrogerg I'm new to git. I've been using it locally for several projects and now I need to use one of those projects (a bunch of scripts) on a remote server. I'll keep developing the project locally and pushing to the remote, but in spite of having read the documentation I don't clearly understand how to start and push to that remote.16:49
tma996 joined16:49
Stygia left16:49
m8 joined16:49
petey_ joined16:50
Pyrogerg Do I just use 'git remote add servername serveraddress'?16:50
ehmatthes left16:50
petey left16:50
Pyrogerg 'git push servername master'?16:50
kodabb left16:50
enape_101 joined16:51
Pyrogerg I keep seeing the command 'git add origin address', but it's not clear to me what the name origin represents.16:51
royho joined16:51
matanya joined16:52
LBV_User joined16:52
tony_lechner Pyrogerg: origin is just the "default" name given if you clone a repo16:53
daito joined16:53
petey_ left16:54
tony_lechner typically you'll do git push -u remotename remotebranchname, this sets the "default", so you can just do "git push" to update that remote repo going forward16:54
petey joined16:54
maestrojed joined16:55
emmajane[emmajane]16:55
bwreilly joined16:55
jonatasnona left16:55
hwrd|work left16:55
jonatasnona joined16:56
SporkWitch left16:56
dp left16:56
VictorCL joined16:58
petey_ joined16:58
ngladitz joined16:58
daito left16:58
petey left16:58
m8 left16:58
tma996 left16:59
[emmajane]emmajane16:59
SHyx0rmZ left16:59
nico3 joined17:00
iamjarvo left17:00
str joined17:00
Pyrogerg tony_lechner: Thanks. That cleared it up for me.17:00
nico3 is NicoSa17:00
iamjarvo joined17:01
maestrojed left17:01
jnavila left17:01
nico3 left17:01
yhager joined17:01
eletuchy joined17:01
timthelion joined17:02
irqq joined17:03
sebhoss left17:03
h0rrorvacui joined17:04
SHyx0rmZ joined17:04
harobed left17:04
johnnyfuchs joined17:04
NicoSa joined17:04
rainbyte joined17:04
devbug joined17:05
iamjarvo left17:05
alorence left17:05
NicoSa left17:05
ShooterMG joined17:06
iamjarvo joined17:06
maestrojed joined17:07
Albania joined17:07
Albania AAA_awright17:07
ku je re ropqiro17:07
ca bone17:07
:D17:07
tatka_1094 joined17:07
Shqiperia joined17:07
Shqiperia Gitinfo17:07
O Moter Qir17:07
Ku Je Re17:07
Te Qifsha Robt17:07
Albaniahax0r17:08
Shqiperia Hax0r Lol17:08
hax0r lol17:08
hax0rGuest4042917:08
ni__ joined17:08
milki wat17:08
Guest40429Ic317:08
Shqiperia Milki17:09
Ku Je Mer17:09
Te17:09
Qifsha Fiset17:09
emmajane[emmajane]17:09
Ic3 [emmajane]17:09
ku je mi17:09
kurve17:09
mklappstuhl left17:09
Ic3 qe qihesh me lek17:09
Shqiperia Ic317:09
Shqiperia LoL17:09
Ic3R817:09
R8 o abelsiqueira17:10
o ropsho17:10
ca bohet mer17:10
lavong left17:10
ShqiperiaFeRRaRi17:10
SocalNick joined17:10
FeRRaRi SocalNick17:11
txomon|home joined17:11
FeRRaRi O Ropsho17:11
JesseC I have a user that's doing a pull on a repo and after the pull there are several files that show up as changed directly after the pull17:11
FeRRaRi Ku Je Mer17:11
Ta Qi 1 Her Fisin17:11
Fiqdekqir17:11
txomon|home canton7, I came back, I will be writting now the email17:12
Norm_ joined17:12
Imdsm left17:12
R8 JesseC17:12
o ropsho17:12
urt ti mer17:12
johnnyfuchs left17:13
b3tamax left17:13
dkpi joined17:14
sayd joined17:14
m0ltar left17:15
ngladitz left17:15
Gavrisimo joined17:15
Sendoushi left17:15
bastian_b left17:15
Imdsm joined17:16
lb1a left17:16
imachuchu joined17:16
FeRRaRi O Robqiraaaaaaaaaaaaa17:16
Ku Jeni17:16
Gitinfo Te Qifsha Motren17:17
FeRRaRi left17:17
hwrd|work joined17:17
Gavrisimo left17:17
R8 HaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHaHa17:17
yhager left17:17
snql joined17:17
R8 left17:17
Gavrisimo joined17:17
ChanServ set mode: +o17:17
dhruvasagar joined17:17
zumba_addict hey folks, I checked out a branch that I made a month ago. I forgot the files I updated. How do I display them? git log doesn't show17:18
snql left17:18
lestrb joined17:18
fRAiLtY- left17:18
Matrixiumn joined17:20
ToxicFrog zumba_addict: git diff <other-branch>... --stat ?17:20
(that's a literal '...' there)17:20
zumba_addict ok17:20
ToxicFrog E.g., git checkout feature; git diff master... --stat will show you what files are changed in feature relative to the point where feature diverged from master.17:20
joaoh82 left17:20
juliohm left17:20
zumba_addict I remember when I was using svn, I only had to type git log -v something17:21
joaoh82 joined17:21
zumba_addict then it would show the files that I updated17:21
i'll try git diff master... --stat17:21
ToxicFrog relative to what?17:21
I mean, do you want the files updated...since the branch divergence point? Since your last push? In the most recent commit?17:21
rfree left17:22
zumba_addict none, it will just show the files that have been commited17:22
maybe my question was misleading17:22
gnoel left17:22
zumba_addict i wanted to know what files have been committed for that push17:22
or what files have been pushed for that push17:23
JohnBat26 left17:23
b3tamax joined17:23
ToxicFrog zumba_addict: what is "that push"?17:23
hwrd|work left17:23
zumba_addict when you do a git log on a branch, you'll see all17:23
juril left17:24
ToxicFrog If you just want 'git log' but also showing what files were changed in each commit individually, try 'git log --stat'17:24
zumba_addict you'll see all hashes for that commit17:24
ah17:24
trying that now17:24
b3tamax_ joined17:24
Silmarilion joined17:24
rfree joined17:24
zumba_addict perfect! That's what I want :)17:24
petey_ left17:24
ToxicFrog Er...no, I see the hash for each commit in that branch's history. Commits only have one hash.17:24
gnoel joined17:24
zumba_addict Thanks17:24
ToxicFrog Awesome.17:24
zapb_ left17:24
ToxicFrog (more generally, git log can also take any options git diff does, to add/control diff output)17:25
zumba_addict got it17:25
tSvendsen left17:25
ToxicFrog For a super concise output: git log --pretty=oneline --stat17:25
Shows you sha + first line of commit message + diffstat for each commit.17:25
j416 or even git log --oneline --stat17:26
AWinterman joined17:26
ToxicFrog Even better.17:26
Replace --stat with --name-status for something easier to parse.17:26
Guest27988 joined17:27
goTAN left17:28
teran joined17:28
hyperair joined17:28
shuaib joined17:28
shuaib git rebase never seems to complete for me. I am stuck in an endless loop of rebase, where it tells me at some point that there is nothing to continue and whether I forgot to add, or I should skip. Since I just have added resolved files, I do git rebase --skip, and it starts to rebase older commits throwing older conflicts me again17:30
any ideas what am I doing wrong?17:30
osse shuaib: run git rebase --abort, relax for five minutes, then try again.17:31
tjj_lt joined17:31
trusktr joined17:31
Shusshu joined17:31
shuaib osse, I did17:31
osse shuaib: whiel you're relaxing can you explain what you're trying to do and how you did it?17:31
shuaib the second time, got trapped in same issues17:31
epta Is there a way to do `merge --squash' in --dry-run mode?17:31
shuaib epta, I guess so17:32
CKyle left17:32
Shusshu left17:32
thiago epta: git merge does not have a --dry-run mode17:32
ngladitz joined17:32
canton7-mac epta, you can't dry-run merges, for (hopefully) obvious reasons17:32
lite_ left17:32
epta ;_;17:33
osse epta: create a new branch identical to the one you want to merge into, and then actually merge into that and see how it goes17:33
lite_ joined17:33
canton7-mac or just try the merge. merge --abort if it conflicts17:33
canton7-mac isn't *entirely* sure that that works with --squash, come to think17:33
teran_ joined17:33
thiago epta: explain what you wanted to do17:33
osse epta: so assuming you're on the branch you want to run git merge in: git checkout -b test-throwaway-YOLO; git merge --squash17:33
petey joined17:34
hahuang65 left17:34
epta Okey, let me try from another end. I want to verify that some old branch X has nothing important that doesn't exist in master (automatically)17:34
canton7-mac osse, no point. you have to abort the merge if it fails anyway, to restore the working copy. which restores the branch17:34
epta "Doesn't exist" has kinda blurry definition here17:35
teran left17:35
epta But hope you're getting what I'm talking about17:35
JonnyNomad joined17:35
osse canton7-mac: yep, but it gives a *perceived* sense of safety :P17:35
thiago epta: git merge17:35
epta: if there's something important, you'll have it merged17:35
canton7-mac if you create a branch at some ancient commit, then try and merge it with a new commit, you're probably going to get a ton of conflicts17:35
thiago epta: if there's nothing important, then the merge will mark those commits as merged17:35
canton7-mac hmm not convinced I'm right17:35
Xethron joined17:35
Xethron left17:35
Xethron joined17:35
atrus shuaib: after adding the resolved files, don't you need to do git rebase --continue?17:36
Octalot left17:36
epta thiago: why should I merge that shit it current branch? I don't wanna do it. I just want to get like True or False - could I remove that branch or I should take a look at it.17:36
pandeiro joined17:37
trusktr left17:37
epta For some easy cases there are --merged or something flag of `git branch'17:37
shuaib atrus, I do that. And it works, but some steps forward, it throws this other message17:37
thiago epta: right17:37
epta But it doesn't work when time goes on17:37
shuaib where it says I should git rebase --skip17:37
osse epta: either it has already been merged which is easy to find out, or it hasn't been merged, in which case I think you have to look at the diff manualy17:37
thiago epta: if there are commits, you merge them17:37
tvw joined17:37
thiago epta: worst case scenario, you merge, look at what got merged, and then discard the merge17:37
shuaib atrus, and when I --skip, it throws older commits at me for merge, yet again17:37
thiago epta: if you want to *really* discard the merge and mark it, you'll re-do the merge with -s ours17:37
shuaib I must have resolved this one file like a gazzilion times17:38
zapb_ joined17:38
epta thiago: I think you miss `automatically' part of all that17:38
diegoviola joined17:38
Imagineer joined17:38
thiago epta: no, not really. Merges are never automatic.17:38
shuaib doesn't like rebase17:38
thiago epta: it's always manual.17:38
shuaib prefers the good ol' merge17:38
Beliq joined17:38
wald0 joined17:39
infynyxx joined17:39
osse shuaib: maybe git-rerere can help17:39
shuaib osse, what's that17:39
epta Suppose branch could be safely deleted if `merge --squash' goes without conflicts and there are nothing to merge. How it can be done without touching tree and index?17:39
Xethron left17:39
wald0 how i can "duplicate" a branch history to be created/included in another point of the master branch ?17:39
epta wald0: git checkout -b ?17:39
osse shuaib: a tool to help you o that you don't have to repeat yourself when resolving conflicts17:39
shuaib osse, hmmm, going to check it out17:40
thanks17:40
thiago epta: are all your merges done with --squash?17:40
osse *so that17:40
epta thiago: yep17:40
Last 2 years17:40
Xethron joined17:40
Xethron left17:40
Xethron joined17:40
thiago epta: ok, then git merge --squash, delete the branch. No further action is necessary.17:40
wald0 sorry, by duplicating i mean to copy another branch history, lets say i have a branch with 3 commits made 1 month ago, and i want to open a new (different) branch on master including this branch again17:41
thiago epta: either merge --squash produced something, or there was nothing to be produced. Either way, the branch's contents are now merged.17:41
epta: you may want to keep all the branches around though. This will blow up in your face some time in the future.17:41
epta thiago: question was about "decide could this particular branch could be removed". Not to remove17:41
thiago epta: merges are never automatic. And squashes will cause trouble.17:41
epta: your condition for "can it be removed" was whether the squash produced content. If it produced content, it's now merged.17:41
epta: if it didn't produce content, it was merged before.17:42
carbon2 joined17:42
thiago epta: either way, after the merge, it's merged, so the branch can be discarded.17:42
epta thiago: this is npt my branch. I kinda have no "rights" to remove it remotely. It's kidna rude, you know17:42
osse I guess a "dry run squash" would be git diff $(git merge-base HEAD B) B | patch -p117:43
epta So I just wanna know could it be removed or no17:43
t17:43
osse: hmm17:43
trusktr joined17:43
epta osse: HEAD here is HEAD of master branch?17:44
And B is the name of candidate to removing branch?17:44
thierryp joined17:44
thiago epta: the output is the same. Do the squash merge, then look at whether it produced anything.17:45
osse epta: HEAD is whatever you have checked out at the moment. Yes.17:45
hobodave joined17:46
epta osse: nice, thanks17:46
thiago patch -p1 is interactive17:46
you need to add -N. In which case it will create rejects for any changes the conflict.17:47
Or that are already applied.17:47
epta I'll rather use some "Has this diff some '-'ses?" instead of `patch -p1'17:47
wald0 if i have a branch that i want to rebase uppon new code of master, but i dont want to lose it, how i can do that? (like duplicating, instead of moving)17:47
epta But dunno how17:47
Oh, no, nevermind17:48
osse epta: in that case git diff $(git merge-base HEAD B) B | grep '^-' :P17:48
canton7-mac left17:48
txomon|home left17:48
thiago I don't see how having lines removed is an indication of anything17:49
EnderWiggin joined17:49
thiago and if it is, why aren't lines added an indication?17:49
epta thiago: that why there is "nevermind"17:49
thiago are you trying to verify whether the diff is empty?17:49
Matt_R left17:50
WaReZ joined17:50
petey left17:50
[emmajane]emmajane17:50
epta thiago: yep17:50
Guest27988 left17:50
petey joined17:50
thiago epta: again, just run git merge --squash and see what it produces. I don't know what it will do if no changes are necessary.17:51
arietis joined17:51
thiago epta: will it create an empty commit? Or will it create no commit?17:51
snql joined17:51
thiago epta: you should !tias17:51
gitinfo epta: Try it and see™. You learn much more by experimentation than by asking without having even tried. If in doubt, make backups before you experiment (see !backup). http://gitolite.com/1-basic-usage/tias.html may help with git-specific TIAS.17:51
thiago epta: either way, it will produce a result you can check. If it created a non-empty commit, then the branch contains changes that can be merged.17:51
mizu_no_oto left17:52
hwrd|work joined17:52
weltall joined17:53
asedeno joined17:54
Skrypter joined17:54
Skrypter left17:54
kjellski_ joined17:54
yacks joined17:54
Skrypter joined17:55
Skrypter left17:55
petey left17:55
Skrypter joined17:55
Skrypter left17:55
Skrypter joined17:56
yhager joined17:56
kjellski left17:57
kjellski_kjellski17:57
leeN joined17:57
merlin83_ joined17:57
merlin83_ left17:57
merlin83_ joined17:57
richwestcoast joined17:58
bgy left17:59
grilix joined17:59
grilix_ left17:59
aartist joined18:00
pr0ton joined18:00
pr0ton left18:01
tSvendsen joined18:02
txomon|home joined18:02
sohail what does it mean when git merge says that something was deleted in HEAD and renamed in my branch, but the file was actually not deleted...18:02
wrouesnel1 left18:02
Watabou joined18:02
tony_lechner left18:02
thiago left18:03
_iron joined18:03
jhulten joined18:03
rednaks joined18:03
osmosis joined18:03
arietis left18:04
chuckharmston left18:04
yhager left18:04
AWinterman left18:05
chuckharmston joined18:05
imachuchu sohail: git tries to figure out renaming after the fact so it can be a bit off (but doesn't matter as git tracks data not files), what actually happened to the file?18:05
chuckharmston left18:05
chuckharmston joined18:05
AWinterman joined18:06
shuaib left18:06
yhager joined18:06
m0viefreak joined18:06
FerreusR left18:07
shinnya left18:07
sohail imachuchu, just regular changes18:07
Kaisyu joined18:08
aartist How I can find the files changed in a particular directory in last 10 days?18:09
Advocation left18:09
imachuchu sohail: but if you look at HEAD does it show the file as deleted?18:09
sohail imachuchu, nope, the file is there!18:09
snql left18:09
osse aartist: git log --since='10 days ago' -- dir/18:10
rednaks left18:10
hahuang65 joined18:10
arietis joined18:10
osse aartist: add --name-only18:11
takamichi left18:11
Norm_ left18:11
Norm_ joined18:11
surfdue left18:12
rafeca left18:12
franksta-imac left18:12
eletuchy left18:12
petey joined18:13
marhaban joined18:13
ldiamond joined18:13
imachuchu sohail: ehh, do the merge and make sure the file is there. What you are saying sounds strange and somewhat contradictory (git is saying that a file is deleted and that it isn't in the same commit), but if everything is fine after the merge then it's not a problem18:13
ldiamond left18:13
ldiamond joined18:13
ChrisAnn left18:14
snql joined18:15
surfdue joined18:15
surfdue left18:15
surfdue joined18:15
tubbo joined18:16
ldiamond I imported a p4 repository to git using git-p4. Now I have a bunch of remote branches with the file and history (I used @all). However, when it all finished, I had nothing in master (thought it would create local branches automatically) so I did git merge p4/trunk. I also brought down more branches using 'git branch --track branch remotebranch'. Now the problem that I see is that 'git log --oneline --graph' doesn't show branch18:16
es and merges, all the branches have linear history without interaction with master.18:16
Anyone know why that is and if there's a solution to that?18:16
snag_ joined18:16
snag_ left18:17
FortySix2 left18:17
tubbo hi guys, i'm having a problem merging in a pull request on github. i pushed the branch and github said it couldn't be automatically merged. so i rebased it over my local 'master' (which, i checked, had the same HEAD as github master), and tried both a force-push as well as a reset/rebase/regular push and i still can't get github to sense that it's at the right place.18:17
snag_ joined18:17
tubbo what i want to know is what is so wrong with this branch that git just can't figure it out?18:17
merlin83_ left18:17
FortySix2 joined18:18
Vinnie_win left18:18
moritz tubbo: sounds more like a github question to me, not a git question18:18
tubbo another thing is it seems to have "reversed" my commit order. the changes that were rebased into the branch actually appeared *after* the commits that i made, wherein the order should have been reversed...18:18
olivvv left18:18
Vinnie_win joined18:18
moritz ... or maybe not :-)18:18
tubbo moritz: not really, it's more to do with how git is rebasing over branches.18:18
moritz tubbo: !repro please18:18
gitinfo tubbo: 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.18:18
tubbo ugh18:19
whitby left18:19
sohail imachuchu, looks like the developer cherry picked that change18:19
moritz anyway, I have to leave now; I just doubt that anyone can help you with such sparse/vague information18:19
tubbo moritz: i'm not sure what you want me to show you, but i'm gonna give this a shot and then i'll show you output if it fails: gonna make a new test-master branch and attempt a merge. if it fast-forwards, i'll raise an issue with Github18:19
moritz: yeah...i was thinking that.18:20
because if it fast-forwards locally but github won't fast-forward, then that's a problem on their side and not with git18:20
scampbell joined18:20
jnavila joined18:21
michael_lee left18:22
jooools left18:22
kukks left18:22
dyng joined18:23
AWinterman left18:24
iamjarvo_ joined18:24
AWinterman joined18:24
emmajane[emmajane]18:25
petey left18:25
petey joined18:26
AWinterman left18:26
Watabou left18:26
AWinterm_ joined18:26
dyng left18:27
iamjarvo left18:27
kjellski left18:28
Norm_ left18:28
lukeketley joined18:28
iamjarvo_ left18:29
AWinterm_ left18:30
marhaban left18:30
petey left18:30
AWinterman joined18:30
marhaban joined18:30
Norm_ joined18:30
pandeiro left18:31
iamjarvo joined18:32
looper joined18:32
boombatower joined18:32
Remram how can I see which tags haven't been pushed yet?18:32
chuckhar_ joined18:32
Watabou joined18:32
chuckharmston left18:32
Hello71 git push --tags --dry-run18:32
calcifea joined18:33
seanz left18:34
AWinterman left18:35
aartist osse: Thanks that helps. How I can see just file listings?18:35
fmscode joined18:36
Georg3 joined18:36
osse aartist: the answer would be git diff --name-only foo bar, where foo is the earliest commit git-log found and bar is HEAD.18:36
aartist: but I don't know how to pack that power into one simple command18:36
tsunamie joined18:36
iamjarvo left18:37
osse aartist: aoh, and add -- dir/ to the end18:37
freeed left18:38
btree joined18:38
JustinMac joined18:39
seanz joined18:39
jfoy joined18:40
eletuchy joined18:40
lindenle joined18:40
osse aartist: I'm hoping there's a better way than this: git diff --name-only $(git rev-parse --since='10 days ago' | tail -1) HEAD -- dir/18:40
denkr joined18:41
valgrind joined18:41
Xethron left18:43
DolphinDream joined18:44
rudi_s left18:44
jooools joined18:44
jfoy left18:45
maslowbeer_ joined18:46
arand left18:46
b3tamax left18:47
b3tamax_ left18:47
rudi_s joined18:48
aartist osse: Thanks, I am still learning git.18:48
cenuij joined18:48
kukks joined18:48
b3tamax joined18:50
freeed joined18:51
m8 joined18:51
masak aartist: as are we all :P18:52
achadwick left18:52
osse aartist: if I were you I would do a plain 'git log' find the SHA1 of the earliest commit I was interested in, then do git diff --name-only <sha> HEAD18:53
aartist masak: Is there a GUI git command builder, on some website?, that can be useful.18:54
osse if I were me (which I am), I would spend a much longer time than how long the above would take me trying to find a way to do it faster :P18:54
aartist osse: That will be helpful.18:54
petey joined18:54
JesseCW joined18:54
JesseCGuest614018:54
chris2 left18:55
thierryp left18:55
HelloShitty joined18:55
masak aartist: you might be interested/thrilled by http://pcottle.github.io/learnGitBranching/18:56
tang^ joined18:56
Guest6140 left18:56
btree left18:56
AWinterman joined18:57
ivan\ left18:57
papegaaij joined18:57
decimad joined18:58
jaseemabid joined18:59
hwrd|work left19:00
FerreusR joined19:00
AWinterman left19:00
oojacoboo joined19:01
AWinterman joined19:01
Gavrisimo left19:01
g3orge left19:02
Skrypter left19:02
mdiers joined19:02
thiago joined19:02
hwrd|work joined19:03
eletuchy left19:03
Skrypter joined19:03
devbug left19:04
rouf left19:04
AWinterman left19:05
rouf joined19:05
maleknet joined19:06
lestrb left19:07
CKyle joined19:07
_5kg left19:08
tvw left19:08
trusktr left19:10
jinjonBoo left19:10
nbrosnahan left19:10
SocalNick left19:10
mizu_no_oto joined19:11
joaoh82 left19:11
nbrosnahan joined19:12
joaoh82 joined19:12
ericksonsce joined19:12
kukks left19:12
ericksonsce left19:13
he_re_here19:13
_5kg joined19:13
dhilipsi_ left19:14
FabTG_ joined19:15
devbug joined19:16
diegoviola left19:16
fmscode left19:16
lukeketley left19:16
fmscode joined19:16
chris2 joined19:17
ldiamond I imported a p4 repository to git using git-p4. Now I have a bunch of remote branches with the file and history (I used @all). However, when it all finished, I had nothing in master (thought it would create local branches automatically) so I did git merge p4/trunk. I also brought down more branches using 'git branch --track branch remotebranch'. Now the problem that I see is that 'git log --oneline --graph' doesn't show branch19:18
es and merges, all the branches have linear history without interaction with master.19:18
Anyone know why that is and if there's a solution to that?19:18
sq-one joined19:18
FabTG left19:18
arietis left19:18
AWinterman joined19:18
JohnBat26 joined19:19
kevwil left19:20
teran_ left19:22
h0v1g joined19:23
h0v1g left19:23
pbrobst joined19:23
ryez left19:23
Noldorin left19:23
fmscode left19:24
kevwil joined19:24
dsdeiz left19:25
johnnyfuchs joined19:26
johnnyfuchs left19:27
Gavrisimo joined19:27
thierryp joined19:27
JohnBat26 left19:28
ericksonsce joined19:28
ericksonsce left19:28
jason237 left19:29
eletuchy joined19:30
Vampire0 left19:31
darkmaster777 joined19:32
darkmaster777 left19:32
darkmaster777 joined19:32
Cromulent left19:32
thiago ldiamond: I don't think p4 merges are handled19:32
tatka_1094 left19:32
thiago ldiamond: your main branch should be linear history and all other branches branch off from that19:32
Nevik left19:32
Thra11 joined19:33
kiki67100 left19:33
thierryp left19:33
kermit joined19:33
tatka_1094 joined19:33
Tommy[D] left19:34
Watabou left19:35
dkpi left19:36
samskiter left19:37
str left19:37
str joined19:38
wdkevin joined19:38
infynyxx left19:38
Beliq left19:39
timthelion left19:40
Vampire0 joined19:40
petey left19:42
infynyxx joined19:42
petey joined19:42
cjwelborn left19:43
cenuij left19:44
bamj0rb joined19:44
gitinfo set mode: +v19:44
hoschi left19:44
papegaaij left19:45
dhilipsiva joined19:45
_Vi left19:46
maleknet left19:46
petey left19:46
nbrosnahan left19:46
enape_101 left19:47
petey joined19:47
ChanServ set mode: -o19:47
str left19:47
Gavrisimo left19:48
Mars__ joined19:49
Gavrisimo joined19:49
thegladiator_ joined19:49
thegladiator__ joined19:49
przemkovv left19:49
dhilipsiva left19:50
thegladiator__ left19:50
eletuchy left19:50
thegladiator_ left19:50
whoami_ joined19:50
whoami_ left19:50
whoami_ joined19:50
ldiamond thiago: That's the thing, the branches from p4 trunk show up as linear (with no link to master) in git log --graph19:50
nbrosnahan joined19:50
ldiamond however, the initial commit has the same hash and all19:51
devbug left19:51
przemkovv joined19:51
Gavrisim_ joined19:51
Watabou joined19:53
enape_101 joined19:53
kermit left19:53
Gavrisimo left19:53
shwaiil left19:53
joki left19:53
Noldorin joined19:54
diegoviola joined19:54
whoami left19:55
whoami_whoami19:55
rcu joined19:56
[emmajane]emmajane19:57
kenperkins joined19:57
FortySix2 left19:57
jaseemabid left19:58
petey left19:58
szx joined19:58
petey joined19:59
clarkfischer left19:59
petey left19:59
lfaraone joined19:59
lfaraone Can I dpush to a git repository on the local filesystem?19:59
petey joined19:59
lfaraone dput git+file:// isn't supported, it looks like19:59
imachuchu lfaraone:20:00
rwestphal left20:00
joki joined20:00
imachuchu lfaraone: sorry, you can push to a different local repo just fine20:00
lfaraone: never heard of dput before though20:00
Raging_Hog left20:01
timthelion joined20:01
haukur joined20:01
ldiamond lfaraone, why dput?20:01
magu|q left20:01
ldiamond you want 'git push'20:01
lfaraone sorry, dpush20:02
Tommy[D] joined20:02
haukur left20:02
ldiamond what is dpush?20:02
lfaraone I have a bzr repository, and I want to push it to a git repository using "bzr dpush"20:02
http://doc.bazaar.canonical.com/migration/en/foreign/bzr-on-git-projects.html20:02
petey left20:02
rethus left20:02
magu|q joined20:03
petey joined20:03
iamjarvo joined20:04
arosenberg joined20:04
jkremser left20:04
ZujkisNx joined20:04
ZujkisNx left20:04
marhaban left20:05
veebers joined20:05
jerius left20:06
imachuchu lfaraone: what error does it give?20:06
jhulten left20:07
petey left20:07
guns joined20:08
thiago lfaraone: that's not really a Git question...20:09
lfaraone: maybe you should ask in the bzr channel20:09
Exodist joined20:09
lfaraone Oh, well, damn, joined the wrong channel.20:09
That's awkward.20:09
blahdodo left20:09
blahdodo_ joined20:10
pbrobst left20:10
rafaqueque joined20:10
Kayra joined20:10
Imagineer left20:11
lavong joined20:12
|Freeman| joined20:12
fairuz left20:12
przemkovv left20:12
roscius joined20:12
przemkovv joined20:13
shuaib joined20:13
pengunix lol20:14
kcj joined20:14
hwrd|work left20:14
clarkfischer joined20:15
Nevik joined20:15
kenperkins left20:16
jerius joined20:16
roscius left20:16
eletuchy joined20:16
Silmarilion left20:16
emmajane[emmajane]20:16
trusktr joined20:18
halu_ joined20:18
jerius_ joined20:19
kenperkins joined20:19
aard_ joined20:19
szx` joined20:19
petey joined20:20
mizu_no_oto left20:20
jerius left20:21
halu left20:21
kjellski joined20:21
endiruna joined20:22
szx left20:22
teran joined20:23
hwrd|work joined20:23
dkpi joined20:24
halu_ left20:25
jhulten joined20:25
Bass10 joined20:26
sayd left20:26
aknewhope joined20:26
sayd joined20:26
erichynds left20:27
thierryp joined20:27
Gavrisim_ left20:27
Gavrisimo joined20:28
ncd|leeN joined20:29
teran left20:29
juvenal joined20:31
kenperkins left20:31
sayd left20:31
Serus joined20:32
leeN left20:32
Gavrisimo left20:33
sayd joined20:33
whitby joined20:33
whitby left20:33
lavaman left20:33
whitby joined20:33
kenperkins joined20:34
jason237 joined20:34
whitby left20:34
lavaman joined20:34
endiruna left20:34
rainbyte left20:35
whitby joined20:35
eletuchy left20:36
phy1729 joined20:36
chuckhar_ left20:36
phy1729 how can I specify in .gitignore to ignore any directory that's named secrets anywhere in the repo?20:37
chuckharmston joined20:37
LuxuryMode joined20:37
Serus phy1729: regex20:37
frankperez87 joined20:38
Serus You can test it here: http://gskinner.com/RegExr/20:38
alvaro_o joined20:38
Serus let me look what I had into my .gitignore20:38
frankperez87 question, how can i make it so that when i use git push, it prompts for a username and password20:39
i do not want to set the username in the url, as i have multiple people editing the same files in the same location20:39
Serus [A-z0-9\-]*[Dd]ebug/* will ignore every folder / file with the word debug in it20:39
tubbo frankperez87: if your server supports it, use https:// to connect20:39
frankperez87: so git remote add https://frankperez:yourpassword@github.com/frankperez/my_awesome_code.git20:40
http basic auth20:40
frankperez87 it does, but its still not prompting for some reason on 1 project20:40
lite_ left20:40
tubbo frankperez87: oh wait n/m you don't want the 'frankperez:yourpassword@' :D20:40
if you remove that it should then prompt you each time20:40
frankperez87 i get 401 aunauthorized while accessing20:40
its not prompting :(20:40
SocalNick joined20:40
Serus phy1729: well not every folder, but atleast a folder that applies to the regex20:41
ninjon joined20:41
chuckharmston left20:41
ninjon is there a way other than grep "revert" that I can do a git log and get only reverts? something along the lines of "git log --merges" ?20:42
Serus frankperez87: You have multiple accounts accessing from the same computer?20:42
xpe joined20:42
frankperez87 Serus: yes from the same computer, and same user20:42
thierryp left20:42
frankperez87 but i would like to push as different users20:42
petey left20:42
Serus Hmmm, no idea. I never had the need for that.20:43
petey joined20:43
frankperez87 Serus: the odd thing is that its not prompting for a username20:43
it does for another project20:44
just not this one20:44
both projects are located on the same server20:44
Serus Do you have SSH keys set up?20:44
iamjarvo left20:44
frankperez87 no this is more of a trial thing, so its through https20:44
Serus uhm20:44
frankperez87 im trying to get our devs here to use git over svn20:44
but i need a way for this username thing to work20:44
iamjarvo joined20:44
Serus Haha, I hope you succeed20:44
frankperez87 me too lol20:44
Serus frankperez87: let them read this: http://hginit.com/20:45
breakingthings left20:45
Serus It's mercurial, but the principles are the same.20:45
davividal left20:45
frankperez87 Serus: will do, what would be the best way to have multiple devs fetch and merge the latest changes to the live program20:46
dhilipsiva joined20:46
Serus frankperez87: You might have the user in the .git/config file though20:46
Mars__ left20:46
angasulino left20:46
petey_ joined20:47
petey left20:47
Mars__ joined20:47
Serus I'm not sure if it20:47
is a good idea to modify that file though, so make backups20:47
thierryp joined20:48
imachuchu frankperez87: why do you have multiple devs working on the same computer/same user using the same repo (what's your setup)?20:49
frankperez87 Serus: ah, i see the issue i think. the server has git version 1.7.1 while my computer has git version 1.8.3.1, which is the only difference i can see as to why a username prompt is showing or not20:49
zumba_addict i created a new branch this morning. I would like to drop/delete it. I don't care about the changes I made. Is this enough since I didn't push it? git branch -D cssfixes20:49
tang^ frankperez87: i'd suggest looking at !gitolite to manage your users20:49
gitinfo frankperez87: Gitolite is a tool to host git repos on a server. It features fine-grained access control, custom hooks, and can be installed without root. Download: https://github.com/sitaramc/gitolite Docs: http://gitolite.com/gitolite/20:49
iamjarvo_ joined20:49
JesseCW Is there a setting to make git not add the "\ No newline at end of file"?20:49
frankperez87 gitinfo: im using gitlab right now, which is working nice20:49
Grant484 left20:50
iamjarvo left20:50
JesseCW I don't have this problem on 1.8, but the 1.7.9 version I have on another server has this issue.20:50
Grant484 joined20:50
iamjarvo_ left20:50
frankperez87 imachuchu: the devs ssh into a server and work over ssh on the files on a dev website. once changes are approved they are moved over from dev to live20:50
iamjarvo joined20:50
tang^ frankperez87: then check the gitlab documentation on how to make https work20:50
frankperez87 currently using svn, but i'd like to get over to git20:50
https is working20:51
dhilipsiva left20:51
ninjon left20:51
frankperez87 the username is not prompting when attempting to push from the server20:51
tang^ sorry, go get https user authentication working20:51
frankperez87 to the remote gitlab server20:51
petey_ left20:51
frankperez87 but it prompts when trying to push from a computer20:51
Mars__ left20:51
lavong left20:52
peper joined20:52
Thra11 left20:53
BiggFREE left20:53
halu joined20:54
szx`szx20:54
pbrobst joined20:54
Mars__ joined20:54
Serus zumba_addict: TIAF?20:55
gkatsev left20:55
zumba_addict TIAF?20:55
but it worked20:55
Exodist left20:55
EugeneKay Try It And Flee.20:56
As learned in locksmith and bomb defusal schools20:56
mdiers left20:56
EugeneKay ducks20:56
bremner TIAYF20:56
zumba_addict and :D20:56
Serus Try it and find out20:57
zumba_addict awesome!20:57
Serus EugeneKay: lol20:57
iamjarvo left20:57
zumba_addict not sure if i tell that to some friends of mine in facebook if they'll get offended20:57
i'm very used to irc :)20:57
teran joined20:57
iamjarvo joined20:57
tpollard joined20:58
grilix left20:58
grilix joined20:58
Exodist joined20:59
JustinMac left20:59
imachuchu frankperez87: wouldn't the developers constently be stepping on eachothers toes since they are all working on the same website, on the same box, all at the exact same time?20:59
smashwilson left20:59
Serus imachuchu: but it's warm and cuddly21:00
mdhopkins joined21:00
iamjarvo left21:01
enape_101 left21:01
iamjarvo joined21:01
angasulino joined21:01
tvw joined21:01
tvw left21:01
Serus Btw21:02
I love you all21:02
because git21:02
mage_ joined21:02
mage_ hello21:02
mizu_no_oto joined21:02
grilix left21:03
eletuchy joined21:03
mage_ any idea in which century will it be possible to remove a submodule git a simple git submodule remove ?21:03
ecube joined21:03
dhruvasagar left21:03
shuaib so if I am on a branch called mybranch, and I perform $git rebase master, will this take commits out of my branch and apply them to master, or the other way around?21:04
imachuchu Serus: I agree completely, git has made coding a lot easier and this channel has made using git a lot easier21:04
endiruna joined21:04
endiruna left21:05
endiruna joined21:05
dangayle joined21:05
Exodist left21:05
imachuchu shuaib: it will take commits out of your branch, apply them to master, then point your branch to the end of the new commit chain (note that master will not move)21:05
Serus imachuchu: Yeah, I haven't decided between git and mercurial completely though.21:05
Does anybody use atlassian sourcetree?21:06
shuaib imachuchu, but then doesn't that change master?21:06
thegorn Serus: i've got a guy here that uses it a lot21:06
shuaib I mean if I push master after that, won't it have new commits?21:06
imachuchu Serus: I don't know much about mercurial, I definetly want to learn more about it and Bazaar21:06
dangayle I seem to remember a collaborative content editing system for web publishers that uses git as a backend. Does anyone remember/know what I'm talking about? I can't seem to find what I need21:06
tony_lechner joined21:07
karavanjo_ left21:07
shuaib hmmm21:07
imachuchu shuaib: nope! So a branch is just a pointer to a commit, and while you created new commits the old commits are still there, which is where master is still pointing21:07
shuaib imachuchu, right21:07
guns left21:07
shuaib I think I understand now21:07
cool21:07
Serus imachuchu: I'll write you down, I'm going to write a guide on how to setup atlassian sourcetree with P4Merge and codecompare. It works for both Git and mercurial :)21:07
joelm joined21:07
karavanjo_ joined21:07
Serus imachuchu: So I'll send you a link when it's done.21:08
shuaib imachuchu, if I perform rebase again, will it have any effect?21:08
chuckharmston joined21:09
imachuchu shuaib: effectively? no. I know that sometimes rebase will create new commits (because the edit times have now changed), but I'm not sure if this is one of those time. !tias21:09
gitinfo shuaib: Try it and see™. You learn much more by experimentation than by asking without having even tried. If in doubt, make backups before you experiment (see !backup). http://gitolite.com/1-basic-usage/tias.html may help with git-specific TIAS.21:09
Exodist joined21:10
GT4066 left21:10
imachuchu Serus: ok, there's a good chance I'll be here21:10
Serus Cool :)21:11
zsolti joined21:12
Octalot joined21:12
rouf left21:12
nwertman left21:12
waaron left21:12
rouf joined21:13
shuaib If there is a conflict during rebasing, after resolving the conflict manually, do I need to commit again?21:14
sephii left21:14
shuaib Before continuing with rebase?21:14
jooools left21:15
m0viefreak you can just do rebase --continue21:15
(just 'git add' everything first)21:15
shuaib right, thanks21:15
AutruiP joined21:16
tjj_lt left21:17
ohkay joined21:17
FortySix2 joined21:17
DolphinDream left21:17
rubatdub left21:18
dreiss joined21:18
nwertman joined21:19
mdiers joined21:21
dsdeiz joined21:21
paulweb515 left21:22
eletuchy left21:22
thierryp left21:22
thierryp joined21:22
breakingthings joined21:22
GodEater left21:23
grilix joined21:23
attermr joined21:24
rouf left21:24
attermr left21:25
CKyle left21:25
timthelion left21:25
dsdeiz left21:25
rouf joined21:26
petey joined21:26
GodEater joined21:26
GodEater left21:26
GodEater joined21:26
thierryp left21:27
teran left21:27
Mars__ left21:28
el3ctron joined21:28
Serus geordi: { a* foo = new a(); b bar; bar.Foo(a); } class a{ public: a():x(0){} int x; }; class b{ public: b(){} void Foo(a* A){ A->x++; cout << A->x << endl; } };21:28
CKyle joined21:29
kukks joined21:29
Mars__ joined21:29
Serus geordi: class a{ public: a():x(0){} int x; }; class b{ public: b(){} void Foo(a* A){ A->x++; cout << A->x << endl; } }; { a* foo = new a(); b bar; bar.Foo(a); }21:29
jwmann joined21:29
Serus woops21:29
Mars__ left21:29
Serus wrong channel21:29
nwertman left21:29
Mars__ joined21:30
akurilin joined21:30
iamjarvo left21:30
jhulten left21:30
hahuang65 left21:30
enape_101 joined21:31
iamjarvo joined21:31
akurilin left21:31
nwertman joined21:31
frankperez87 It looks like in version 1.7.1-3, it does not prompt for a username if none is specified. When i manually compiled the latest version on the server, it then started prompting.21:31
halu left21:32
akurilin joined21:32
jwmann I have a grunt action that watches for changed files and then auto-minifies. Problem is, I get tons of conflicts when collaborating with my team through git.. Any ideas on avoiding this?21:32
lavaman left21:32
Serus frankperez87: Why not use github or bitbucket/21:32
kermit joined21:32
sq-one left21:32
corygibbons left21:33
akurilin left21:33
alvaro_o left21:33
lavaman joined21:33
akurilin joined21:33
ojacobson jwmann: what is conflicting?21:33
akurilin left21:34
thomas_b left21:34
jwmann ojacobson: The grunt script generates a unique build number every time it minifies a script. So when I make a commit, I commit that unique number, but when I pull, I pull someone elses uniquely generated number and there's a conflict21:35
kevwil left21:35
Zeedox joined21:35
iamjarvo left21:35
J1mm joined21:35
akurilin joined21:35
ojacobson Given two clean trees in the same state, if you run grunt in both of them, would it do the same thing in both of them? Or would one come out differently?21:35
(Barring trivia like timestamps.)21:35
przemkovv left21:36
frankperez87 Serus: It's nice to have it all internal and we have the servers, so why not use them. This way we can also have all our projects private for our customers21:36
ZujkisNx joined21:36
hara_ joined21:36
Silmarilion joined21:36
frankperez87 Serus: Honestly, i also just wanted to play with the different git server setups to see what i like best too21:36
ZujkisNx left21:36
Serus frankperez87: ok21:36
fair enough21:36
hara_ left21:36
akurilin left21:36
Imagineer joined21:37
akurilin joined21:37
richgilbank joined21:37
cn28h left21:37
bwreilly left21:37
rouf left21:38
bwreilly joined21:38
akurilin left21:38
marthinal left21:38
freeed left21:39
rouf joined21:39
hellopat left21:39
akurilin joined21:39
iamjarvo joined21:40
akurilin left21:40
jhulten joined21:40
akurilin joined21:41
thomas_b joined21:41
akurilin left21:42
jwmann ojacobson: I'm not sure but that's not quite the issue21:42
harobed_ joined21:42
diegoviola left21:43
jwmann I think it's unique for each build21:43
akurilin joined21:43
sohail left21:43
ojacobson then your project is lost; it cannot be made to do the same thing twice21:43
akurilin left21:43
rouf left21:44
ojacobson but let's suppose that your grunt script actually _is_ repeatable21:44
(other than minor and transient details of no importance, like timestamps)21:44
akurilin joined21:44
ojacobson What would be lost if you kept grunt's output outside of git?21:45
akurilin left21:45
canton7-mac joined21:46
kenperkins left21:46
_Vi joined21:46
akurilin joined21:46
Kicer86 left21:46
richwestcoast left21:47
dhilipsiva joined21:47
akurilin left21:47
cff_ joined21:47
jlebar left21:47
cagedwisdom joined21:47
akurilin joined21:48
eletuchy joined21:48
akurilin left21:49
lavong joined21:49
przemkovv joined21:49
akurilin joined21:49
canton7-mac left21:50
Fandekasp joined21:50
hahuang65 joined21:50
akurilin left21:50
akurilin joined21:51
dhilipsiva left21:51
akurilin left21:52
akurilin joined21:53
paulweb515 joined21:53
AaronMT left21:54
jwmann ojacobson: Hmm, well nothing much really however I use beanstalk for deployment and it wouldn't quite workout if I didn't have the file…. hmmm wait21:54
akurilin left21:54
groglogic joined21:55
jwmann If I ignore the min files only within the master and then compile them in staging, it would work out I think...21:55
akurilin joined21:55
rouf joined21:55
akurilin left21:57
mklappstuhl joined21:57
thierryp joined21:57
darkmaster777 left21:57
jwmann Actually.. damn21:57
akurilin joined21:57
karstensrage left21:58
moondoggyGuest6674821:58
pengunix left21:58
jwmann I could ignore the min files but the min files aren't the problem, it's the scripts.php file that has a random number injected into it..21:58
hyperboreean left21:58
hyperboreean joined21:58
shuaib can I $git checkout --ours <multiple files here?>21:59
akurilin left21:59
przemkovv left21:59
shuaib rather, instead of multiple files, all files?21:59
git checkout --ours . ?21:59
petey_ joined21:59
petey left21:59
akurilin joined21:59
ldiamond I imported a perforce project to git. I configured the branches and all seems to be imported properly in the ref branches22:00
imachuchu shuaib: ? are you trying to checkout files from a particular commit?22:00
shuaib imachuchu, I pulled, and had conflicts22:00
ldiamond however, when I track the ref branches, the log doesn't show branches/merges22:00
shuaib but I just want to keep local changes22:00
ldiamond all the branches have a linear history starting at the first commit22:00
akurilin left22:00
przemkovv joined22:01
akurilin joined22:01
ldiamond Is there a way to import those links such that a branch starts only at the branching point rather than the first commit of the trunk branch22:01
petey_ left22:01
matanya left22:02
b3tamax left22:02
b3tamax joined22:02
matanya joined22:02
petey joined22:02
rouf left22:02
milki ldiamond: what did you use to import?22:02
akurilin left22:03
aarwine joined22:03
|Freeman| left22:03
alezost left22:03
rouf joined22:03
ldiamond milki git p422:03
lavaman left22:03
akurilin joined22:04
milki does it have documentation?22:04
ldiamond "git p4"? yes22:04
ojacobson ldiamond: what do you mean "such that a branch starts"?22:04
milki how do you configure branches with it?22:04
dreiss_ joined22:05
akurilin left22:05
ojacobson Let's suppose I have a repository with one branch ('master'); I run 'git branch ldiamond master'; where does the 'ldiamond' branch start?22:05
matanya left22:05
ldiamond ojacobson, suppose my p4 history starts with trunk for commits 1 - 3. Commit 4 is a branch (integration) to b1, commit 5-6 are on b1.22:05
shuaib aaaaaah, finally! Seems like I have successfully rebased my first complicated rebase22:06
darn it22:06
akurilin joined22:06
qlkzy joined22:06
ldiamond When I import with git p4, I get the two branches in refs, but both of them start at commit 122:06
git log --graph doesn't show their relation22:06
cannonball left22:06
ldiamond i.e. both branch have their full history22:06
dreiss left22:06
imachuchu shuaib: first, I personally don't like pull just because of this (pull = fetch + merge), try just aborting your in progress merge22:06
trusktr left22:06
Imdsm left22:06
karstensrage joined22:06
kukks left22:06
weltall left22:06
bgerber left22:06
nuck left22:06
ojacobson ldiamond: consider my second question, then.22:06
petey left22:06
scampbell left22:06
JesseCW left22:07
weltall2 joined22:07
akurilin left22:07
kukks joined22:07
kukks left22:07
kukks joined22:07
bgerber joined22:07
ldiamond The branch starts at the master's head22:07
petey joined22:07
ojacobson What git commands would I used to observe that relationship?22:07
PLejeck joined22:07
jnavila left22:07
matanya joined22:07
lavaman joined22:07
matanya left22:07
akurilin2 joined22:07
Imdsm joined22:08
kukks left22:08
weltall2weltall22:08
ojacobson "would I use", excuse me.22:08
JesseC joined22:08
ldiamond right after the branching?22:08
matanya joined22:08
ojacobson Right after branching.22:08
matanya left22:08
kukks joined22:08
kukks left22:08
kukks joined22:08
abelsiqueira left22:08
karstensrageGuest3002222:08
JesseCGuest7843722:08
akurilin2 left22:08
WaReZ left22:09
amortimer_mbp left22:09
Kaisyu left22:09
matanya joined22:09
akurilin2 joined22:09
ldiamond not sure what you're looking for really22:09
show-ref would work from what I understand22:09
ojacobson You have told me that the ldiamond branch begins at master.22:10
akurilin2 left22:10
kukks left22:10
ojacobson I am asking how you know this; I think the answer will be useful in telling you how to get git-p4 to behave the way you would prefer.22:10
Guest78437 left22:10
kukks joined22:10
ojacobson If what you tell me about the ldiamond branch is true, then there must be some sign of it inside of git.22:11
akurilin2 joined22:11
ojacobson Otherwise it would just be a convention, and only true "from a certain point of view".22:11
JesseCW joined22:11
JesseCW left22:11
akurilin2 left22:12
mdhopkins left22:12
akurilin2 joined22:12
eletuchy left22:13
hwrd|work left22:13
rouf left22:14
akurilin2 left22:14
kh0d joined22:14
takamichi joined22:14
rouf joined22:15
akurilin2 joined22:15
threesome left22:15
mdhopkins joined22:15
hwrd|work joined22:15
JesseC joined22:15
akurilin2 left22:16
whitby left22:16
JesseC left22:16
rouf left22:16
JesseC joined22:16
akurilin2 joined22:16
Pullphinger left22:16
[emmajane]emmajane22:16
rouf joined22:17
ldiamond ojacobson, not sure where you're getting at though22:17
akurilin2 left22:18
denkr left22:18
bwreilly left22:18
ldiamond I was just expecting to see diverging branches in the log22:18
akurilin2 joined22:18
zerowaitstate joined22:18
ojacobson git init kwatz; cd kwatz; for commit in c1 c2 c3; do git commit --allow-empty -m "$commit"; done; git checkout -b integration; for commit in c4 c5 c6; do git commit --allow-empty -m "$commit"; done; git log --graph --all22:19
akurilin2 left22:19
szx left22:20
rouf left22:20
thierryp left22:20
ojacobson you may find that enlightening.22:20
akurilin2 joined22:20
ldiamond well, I'm importing history that includes merges.22:20
not everything is fast-forward22:20
rouf joined22:21
emmajane[emmajane]22:21
ojacobson and yet your question is about branches22:21
and my example is about branches22:21
akurilin2 left22:21
ldiamond What I mean by my question is that the log doesn't show the branching/merging22:22
akurilin2 joined22:22
ldiamond (maybe it's not supported by git p4, which is also part of the question)22:22
I run git log from master btw22:23
petey left22:23
akurilin2 left22:24
petey joined22:24
h0v1g1 joined22:24
akurilin2 joined22:24
h0v1g1 left22:25
ldiamond Like this: https://gist.github.com/anonymous/777870922:26
akurilin3 joined22:26
kukks|2 joined22:27
akurilin2 left22:27
kukks left22:27
grilix left22:27
akurilin3 left22:27
bamj0rb ldiamond: The log will show branching/merging with --graph.22:28
ldiamond: By default, the log only shows ancestors of HEAD (or whatever ref you specify) though, so not all branches.22:28
m8 left22:28
WaReZ joined22:28
gnoel left22:28
bamj0rb ldiamond: If you use --all then it will show all.22:28
petey left22:28
teran joined22:28
IsoLinCHiP joined22:28
akurilin3 joined22:29
Sonderblade left22:29
cff_ left22:29
jason237 left22:29
b3tamax left22:30
akurilin3 left22:30
IsoLinCHiP Hi, is there a way to add a submodule without automatically imidiatly cloning the added repo?22:30
breakingthings left22:30
ldiamond Maybe my question wasn't well stated. When a branch was merged back to trunk in p4, git doesn't show it as a merge, but rather an independent commit.22:30
akurilin3 joined22:31
Watabou left22:31
Octalot_ joined22:31
Octalot left22:31
bamj0rb ldiamond: Even with --graph?22:31
ldiamond yea22:31
bamj0rb Then as far as Git is cocerned it was not a merge.22:32
ldiamond branches only ever diverge, they don't converge22:32
akurilin3 left22:32
ldiamond yea, I'm just wondering if git p4 supports that22:32
but I just found git-p4s which states it supports: "Merge detection"22:32
bamj0rb Hmmm, not sure. Does p4 support branches/merges properly?22:32
akurilin3 joined22:32
ldiamond might be worth a shot22:32
I don't know, p4 is a pile of ...22:33
farmanimal joined22:33
bamj0rb Sounds a bit like a hack to work around p4's limitations. I wouldn't hold my breath. :P22:33
cjwelborn joined22:33
LuxuryMode left22:33
ldiamond Yea I'm starting not to like the idea to import the p4 history22:33
visy left22:33
akurilin3 left22:33
nilg left22:33
akurilin3 joined22:34
teran left22:34
ldiamond or I'll just keep it minimal and forget about that detail22:34
jrnieder bamj0rb: p4 keeps track of merges in a similar way to how svn does it22:34
bamj0rb: http://www.perforce.com/perforce/r12.1/manuals/cmdref/integrated.html#104066522:34
bamj0rb *facepalm*22:35
looper left22:35
akurilin3 left22:35
bamj0rb You'd think that Git would be able to do a half decent job of recreating that history then. As long as the right information is fed into the tool.22:35
jrnieder maybe it's just a patch waiting to be written ;-)22:36
akurilin3 joined22:36
ldiamond I'll see if we want to invest time on that22:36
sohail joined22:36
sohail left22:36
sohail joined22:36
ldiamond If so I'll suggest patching git-p4.py and ill submit a pull request if it works22:36
lavong left22:36
zumba_addict left22:36
jrnieder ldiamond: see Documentation/SubmittingPatches for more hints on patching22:37
akurilin3 left22:37
visy joined22:37
jrnieder ldiamond: short answer is "put up your changes somewhere and let [email@hidden.address] and Pete Wyckoff [email@hidden.address] know about them"22:37
farmanimal left22:37
xpe left22:37
bamj0rb ldiamond: I wouldn't count out git-p4 yet. Did you look into its branch detection options? Perhaps you just haven't configured it properly yet.22:38
akurilin3 joined22:38
alvaro_o joined22:38
ldiamond yea, I used git-p4 branchList config to setup the branches I want to keep22:38
Those are picked up just fine and setup as ref branches22:38
bamj0rb It certainly sounds like it should support them. The interface looks quite similar to that of git-svn, and it can detect branches fine as log as you configure it properly.22:39
ldiamond it's only missing the merge part22:39
akurilin3 left22:39
ldiamond Maybe I'll try with branch-specs22:39
akurilin3 joined22:39
eletuchy joined22:40
sgambino left22:40
akurilin3 left22:40
Watabou joined22:41
bamj0rb Perforce definitely sounds like garbage. I'd definitely adopt GIt, even if it meant losing what little merge information Perforce has...22:41
akurilin3 joined22:41
joaoh82 left22:42
AutruiP left22:42
joaoh82 joined22:42
akurilin3 left22:42
akurilin3 joined22:43
pbrobst left22:43
akurilin3 left22:44
ldiamond yea we are moving to git, but we'd like to keep as much history as possible22:44
osmosis left22:44
Khisanth joined22:45
akurilin3 joined22:45
bamj0rb Perforce is proprietary isn't it? Make the company responsible preserve your history! :D22:45
ldiamond they make something called git-fusion22:45
which may give us the entire history, it just seem like a pain to setup22:46
sgambino joined22:46
akurilin3 left22:46
thierryp joined22:46
ldiamond at least they figured out that they were on the wrong track and they're trying to adopt the distributed model22:46
akurilin3 joined22:47
groglogic left22:47
dhilipsiva joined22:47
petey joined22:48
akurilin3 left22:48
akurilin3 joined22:49
akurilin3 left22:50
jerius_ left22:50
Gavrisimo joined22:50
akurilin3 joined22:51
irqq left22:51
pbrobst joined22:51
akurilin3 left22:52
skorgon left22:52
ojacobson left22:52
dhilipsiva left22:52
akurilin3 joined22:53
aard_ left22:53
zapb_ left22:53
akurilin3 left22:54
akurilin3 joined22:54
harobed_ left22:54
lun__ joined22:55
mishok13 left22:55
epta How git-blame works? How it actually get the last modification revision of one particular line of code?22:55
akurilin3 left22:56
akurilin3 joined22:56
jerius joined22:56
matanya left22:57
akurilin3 left22:58
snag_ left22:58
bamj0rb It has to crawl backwards through the history.22:58
snag_ joined22:58
bamj0rb AFAIK.22:58
bamj0rb left22:58
akurilin3 joined22:59
Exodist left22:59
Noldorin left23:00
akurilin3 left23:00
g3orge joined23:00
eletuchy left23:00
akurilin3 joined23:00
Dougie187 left23:01
Beliq joined23:01
akurilin3 left23:02
angasulino left23:02
TomyLobo left23:02
Exodist joined23:02
akurilin3 joined23:02
mizu_no_oto left23:02
snag_ left23:03
mklappstuhl left23:03
kcj left23:03
akurilin3 left23:04
infynyxx left23:04
matanya joined23:04
akurilin3 joined23:05
akurilin3 left23:06
calcifea left23:06
sohail left23:06
akurilin3 joined23:06
phile left23:07
Keridos_offKeridos23:07
pbrobst left23:08
akurilin3 left23:08
akurilin3 joined23:08
Skrypter left23:09
Kayra left23:09
infynyxx joined23:09
EnderWiggin left23:09
corygibbons joined23:09
akurilin3 left23:10
akurilin3 joined23:11
Skrypter joined23:11
g3orge left23:11
kjellski left23:12
akurilin3 left23:12
qsuscsqsusOFFcs23:13
akurilin3 joined23:13
shinnya joined23:13
akurilin3 left23:14
Silmarilion left23:14
pbrobst joined23:14
jshawl joined23:15
jshawl oh hey #git23:15
akurilin3 joined23:15
jshawl what is something really cool you've done with git lately?23:16
valgrind left23:16
akurilin3 left23:16
txomon|home jshawl, just a remake of my repo23:17
9 feature branches23:17
and now creating a custom integration linear master branch23:17
akurilin3 joined23:17
jshawl oh nice23:17
would love to see a `git log --pretty --oneline --decorate --graph --all` of your project23:18
txomon|home I am now going for a merge/rebase workflow23:18
jshawl it's like an art form23:18
txomon|home pfff23:18
jshawl yeah that's cool23:18
I always rebase my feature branches23:18
then merge into maste23:18
akurilin3 left23:18
jshawl my goal is 0 merge commits23:18
KillYourTV left23:18
txomon|home you can still see previous work... github.com:mopidy/txomon23:18
and do a gitk --all23:18
epta Suppose I have some blob object X. It can be unpacked with `git cat-file blob X'. How to do it manually without git?23:18
txomon|home xD23:18
King_Hual left23:18
kpreid left23:19
txomon|home jshawl, I need a special workflow23:19
akurilin3 joined23:19
kpreid joined23:19
thierryp left23:19
txomon|home I am using my master branch for making builds, and need to have a linear history. But it's a integration branch23:19
so I will have to create an integration branch, and make snapshot of it23:19
;(23:19
KillYourTV joined23:20
txomon|home I am still trying to work out how to do it23:20
akurilin3 left23:20
kpreid why do you need a linear history?23:20
FortySix2 left23:20
jshawl hmm to be honest I have no idea what unpacking a blob object means23:21
txomon|home kpreid, I have people that follows my master history23:21
chuckharmston left23:21
txomon|home and they need to go back in history23:21
to other integration point23:21
akurilin3 joined23:21
chuckharmston joined23:21
txomon|home epta, you mean you want to learn how unpack stuff?23:21
SamB txomon|home: merges don't prevent that ...23:22
akurilin3 left23:22
kpreid txomon|home: that doesn't need linear history -- just make sure that you always merge *to* it, and the history of the branch will always be the first parent, so e.g. master~N will always be something on master23:22
epta txomon|home: I'm kinda found the answer. It's compressed with zlib, so it could be unpacked with zpipe -d23:22
kpreid (that is: git checkout master; git merge --no-ff otherbranch)23:22
caseydriscoll left23:23
akurilin3 joined23:23
shruggar joined23:23
caseydriscoll joined23:23
txomon|home yeah I will go something like that, thought once merged, I get totally nocked out as to achieve a revert23:23
that's my problem23:23
today I tried to make a revert23:23
and just all went nuts23:23
because I can't revert a branch merge23:24
I need to revert each time I have merged that branch23:24
akurilin3 left23:24
txomon|home that's why I will go for making snapshots of the integration branch through helper integration branch23:24
akurilin3 joined23:25
SamB why the heck would you need to revert every time?23:25
kpreid yeah, I'm wondering about what the need for reverts is23:25
petey left23:25
SamB I can see why it might be wanted occasionally, if a problem cropped up ...23:26
kpreid I mean, if you were removing bad changes you'd create a revert of the original change on a fix branch, test it, and then merge the revert23:26
akurilin3 left23:26
petey joined23:26
chuckharmston left23:26
kpreid but it sounds like you're trying to revert a merge instead23:26
osse 223:26
oops23:26
_iron left23:26
gkatsev joined23:26
txomon|home yeah, but the problem comes with when changes aren't in a single merge23:26
If I can fix it in the branch, it's all ok23:26
kpreid that shouldn't matter23:26
txomon|home but if I want to remove such feature23:27
akurilin3 joined23:27
txomon|home all the branch's features23:27
then I would need to go one by one23:27
thierryp joined23:27
SamB wait, why do you want to remove features? shouldn't you be more interested in removing bugs?23:27
gkatsev left23:27
txomon|home SamB, nope, because those features are buggy23:27
akurilin3 left23:28
txomon|home I am obliged to create them, and they want to test them with everything else23:28
and then they say, hey! I don't want this...23:28
and I ... just ... hate them23:28
carbon2 left23:28
SamB shouldn't the testing be done before the merge is pushed to master?23:28
akurilin3 joined23:28
txomon|home so the problem comes when you try to get to an stable version without breaking master history23:28
master == integration != stable23:29
but they want master == integration == stable23:29
hwrd|work left23:29
Forkk left23:29
hholtmann left23:29
kermit left23:29
zerowaitstate left23:29
txomon|home usually master == stable, and they need to get that point on history23:29
infynyxx left23:29
akurilin3 left23:30
txomon|home but when it isn't stable, I need to revert entire branches for a release23:30
hobodave left23:30
AaronMT joined23:30
txomon|home so that's how I ended up with this strange and horrible workflow23:30
petey left23:30
akurilin3 joined23:30
txomon|home a branch for integration branch's snapshots23:30
ncd|leeN left23:31
ngladitz left23:31
SamB txomon|home: why don't you use some kind of "pu" branch for integration testing?23:31
VictorCL left23:32
akurilin3 left23:32
ncthom91 joined23:32
endiruna left23:32
akurilin3 joined23:32
txomon|home SamB, yeah, in the new workflow, I will be using so23:33
FerreusR left23:33
kermit joined23:33
aknewhope left23:33
akurilin3 left23:33
rouf left23:33
ncthom91 hey all, is there a way to find a file by a specific name across any of my branches?23:34
akurilin3 joined23:34
ncthom91 idk which branch it might be on, or where exactly it woudl be, but i know it's name23:34
epta ncthom91: try `git grep filename $(git rev-list --all)'23:35
akurilin3 left23:35
SamB epta: I didn't think grep searched filenames?23:35
txomon|home integration => merge all interested feature branches, rebase in one commit with references to each feature branch merged in and cherry pick to master23:36
akurilin3 joined23:36
ncthom91 epta i get "fatal: unable to read tree"23:36
SamB txomon|home: that still sounds crazy ...23:36
txomon|home yeah23:36
it is23:36
it's a hidden pu23:36
takamichi left23:36
txomon|home just think of that23:36
Pyrogerg left23:37
txomon|home take into account that everything has to be in relation to develop branch23:37
akurilin3 left23:37
acharlieh left23:37
txomon|home I push features to develop23:37
on the one hand23:37
CKyle left23:37
txomon|home and on the other hand, I have to maintain a custom linear integration branch23:37
akurilin3 joined23:38
mribeirodantas joined23:39
jerius left23:39
enape_101 left23:39
akurilin3 left23:39
DrShoggoth joined23:39
Kayra joined23:39
akurilin3 joined23:40
Dougie187 joined23:40
akurilin3 left23:41
akurilin3 joined23:42
jshawl left23:42
akurilin3 left23:42
akurilin3 joined23:43
ncthom91 hm ok so I found a branch with a diff that touches the file I need, but the file doesn't exist?23:44
Forkk joined23:44
Kayra left23:44
ncthom91 how can i get that file back?23:44
Serus left23:44
akurilin3 left23:44
shinnya left23:45
txomon|home ncthom91, git checkout <branch-name-or-commit-hash-of-the-file-version-you-want> <file-path>23:45
akurilin3 joined23:45
akurilin3 left23:46
ncthom91 txomon|home yes thank you!23:46
canton7-mac joined23:46
Skrypter left23:47
akurilin3 joined23:47
master_j joined23:47
dhilipsiva joined23:48
akurilin3 left23:48
marhaban joined23:49
jshawl joined23:49
frankperez87 left23:49
landypro for the uber pedantic git checkout <ref> -- <filename>23:49
just incase your filename is a refname :P23:49
akurilin3 joined23:49
Forkk left23:49
rcu left23:49
Forkk joined23:50
gnoel joined23:50
akurilin3 left23:50
akurilin3 joined23:51
J1mm left23:51
canton7-mac left23:52
gregsmith left23:52
akurilin3 left23:52
Skrypter joined23:52
trusktr joined23:52
akurilin3 joined23:52
dhilipsiva left23:53
snql left23:53
akurilin3 left23:53
juvenaljuvenal_away23:54
Destos left23:54
akurilin3 joined23:54
juvenal_awayjuvenal23:55
akurilin3 left23:55
gregsmith joined23:55
eijk left23:55
akurilin3 joined23:56
Forkk left23:56
frem joined23:57
eletuchy joined23:57
akurilin3 left23:57
akurilin joined23:57
jonatasnona left23:57
Celelaptop left23:57
FortySix2 joined23:58
akurilin left23:58
iamjarvo_ joined23:58
frem How does one undo an accidental `git merge --rebase`? I grabbed the wrong branch.23:58
Forkk joined23:59
Gamecubic left23:59
primitive left23:59

Logs Search ←Prev date Next date→ Channels Documentation