IRCloggy #git 2012-09-20

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.

2012-09-20

delinquentme drop a particular file back to the version in the previous commit?00:00
reshtnk7 joined00:02
kerrick left00:03
cjz left00:04
tmcmahon joined00:05
ecksit left00:05
Anders_J git checkout filename00:05
serbang left00:05
pppaul left00:06
juvenal joined00:07
scelis joined00:08
rubious left00:11
serbang joined00:11
frogonwheels delinquentme: You mean in the last commit you did, or the one before that? first is git checkout -- filename the second is git checkout HEAD~1 -- filename (the -- is optional but disambiguates the filename)00:11
delinquentme frogonwheels, git checkout <filename> did it :D00:12
TY VM though :D00:12
serbang left00:13
frogonwheels delinquentme: np. 'previous commit' is a bit ambiguous :)00:13
jperry2_ joined00:15
glosoli left00:15
delinquentme HEAD^00:17
Anders_J left00:17
frogonwheels delinquentme: same diff. I use windows cmd shell, so I avoid using ^ 'cause they have to be doubled.00:17
jperry2_ left00:17
frogonwheels delinquentme: HEAD^ and HEAD~1 are equivalent otherwise00:18
hagen left00:18
serbang joined00:19
w09x joined00:19
rohan32 joined00:20
setmeaway joined00:20
hellopat joined00:20
thiago left00:22
aruiz left00:24
mmc1 left00:25
jdunck left00:25
chuckharmston left00:29
patrick99e99 joined00:29
wasanzy left00:29
skyf joined00:29
patrick99e99 hi buddies.. I am working with submodules and have a few questions.. If I have a submodule within a git repo, if I go into that submodule's subdirectory, shouldn't git branch show me only branches for that submodule?00:30
because I just went in there, created a test branch and then cd .. to get back to the root (the main repo), and git branch shows the branch I created inside the submodule's dir...00:30
is that the way it is supposed to be? Or is this an indication that something is not set up properly?00:30
goshawk left00:30
rubious joined00:31
rubious left00:31
dzonder left00:32
hwrd|work left00:32
patrick99e99 anyone alive here?00:33
adamben left00:33
goshawk joined00:34
dsantiago left00:36
ipalaus left00:36
Chib_ joined00:37
Chib left00:37
iocor left00:38
hyperair left00:40
cmn then it's not really a submodule00:43
patrick99e99: ^^00:43
Chillance left00:43
macabre joined00:44
wasanzy joined00:47
gfontenot left00:52
dsantiago joined00:53
aspotashev left00:55
Droolio left00:55
BiggFREE left00:56
scelis left00:58
frogonwheels patrick99e99: in your 'submodule' is there a .git file or folder? you sure it's not some other kind of !subproject ?00:59
gitinfo patrick99e99: [!subprojects] So, you want to add git repositories inside of other git repositories? Well, you have four main options. First is to just do it, add the repo to the outer project's .gitignore, and treat them entirely separately. Best if they are entirely seperate. Otherwise your best options are "!submodule" "!gitslave" and "!subtree" Try typing those commands into this IRC channel.00:59
jalama left00:59
scelis joined01:01
reshtnk7 left01:01
serbang left01:03
acrocity_ joined01:04
devth left01:04
AlbireoX joined01:05
kermit left01:05
iori joined01:07
trungqtran left01:08
w09x left01:10
adamben joined01:10
trungqtran joined01:11
patrick99e99 frogonwheels: hi... there is no .git in the submodule...01:11
!submodule01:11
gitinfo git-submodule is ideal to add subsidiary git repositories to a git superproject when you do not control the subprojects or more specifically wish to fix the subproject at a specific revision even as the subproject changes upstream. See http://book.git-scm.com/5_submodules.html01:11
Yuuhi``` joined01:11
aantix left01:11
acrocity_ left01:13
Yuuhi`` left01:13
LeMike1 joined01:14
acrocity_ joined01:14
esto left01:14
LeMike left01:15
scelis left01:17
alunduil joined01:18
xiangfu joined01:19
maletor left01:19
esto joined01:20
hyperair joined01:20
jesseFromYVR left01:22
Layke joined01:23
cmn patrick99e99: then it's not a submodule01:25
wasanzy left01:25
cooloney joined01:26
notVert left01:27
storrgie left01:29
jalama joined01:30
Mocramis left01:30
Mocramis joined01:31
TheObfuscator left01:31
GeorgeJ joined01:33
AlbireoX left01:35
AlbireoX joined01:35
gusnan left01:35
Milossh left01:36
wasanzy joined01:37
ncr100 left01:38
eletuchy_ left01:40
drl joined01:41
kcj left01:41
kpreid left01:41
kpreid joined01:41
tmcmahon left01:41
thierryp joined01:44
Mocramis left01:46
Mocramis joined01:47
t0rc left01:47
jackh joined01:48
shane_ joined01:49
thierryp left01:49
gtrak` left01:51
maletor joined01:51
juvenal left01:52
blorbx left01:53
gtrak joined01:54
etcetera left01:55
reshtnk7 joined01:56
rking I wonder what I'm doing, lately, that is leaving my .git/config's without a '[branch "master"]…'. I also wonder what I'm supposed to do to get it back. =\01:56
cmn deleting it?01:57
rking I could (continue) to just edit .git/config, but I'm sure I"m misunderstanding something.01:57
cmn: How would I be doing that?01:57
cmn git branch -d master01:57
rking I sure didn't run that, but hrm.01:58
Also, is the recommended way to get it back this?: git config branch.master.remote origin; git config branch.master.merge=refs/heads/master01:58
cmn some version of that, if you branch is getting deleted01:58
use git branch --set-upstream01:59
artnez left01:59
cmn or push -u01:59
toothrtoothrot01:59
rking Aha, push -u, that's it. =)01:59
acrocity left01:59
acrocity_acrocity01:59
ehsan left01:59
reshtnk7 left02:00
jgoss left02:01
rking I don't get what that config item really means. E.g. why it's not git pull -u origin master02:01
maletor left02:02
cmn what would that command even do?\02:02
and what config item are you talking about?02:02
juvenal joined02:03
rking branch.master.{remote,merge}02:03
CollinPDX left02:03
rking All I really know is that it prevents "git pull" from working, so I don't see why "set upstream" isn't an option for the pull command.02:03
There's some basic thing I don't understand about all of this.02:05
zhouxiukun joined02:05
simesy left02:05
Bosox20051 joined02:06
cmn !fetch402:06
gitinfo [!fetchfour] Never use the four-word version of git-fetch or git-pull (e.g. git fetch remote refspec). It always ends in tears. Yes, if you understand the implications of FETCH_HEAD it can technically be done, but really it is easier to just fetch the whole remote (or perhaps edit the fetchspec if you never want other bits). If you must, see !fetch4why02:06
cmn even for push it's a bit iffy02:07
iori left02:07
duckxx left02:09
eletuchy joined02:10
YoMomma left02:10
rohan32rohan32|sleep02:13
ProLoser|Work joined02:13
ProLoser|Work how do i see the current svn revision #?02:13
cmn svn info, but you might want to ask in #svn02:14
opus left02:15
mtlife joined02:17
maqr joined02:18
reshtnk7 joined02:18
ProLoser|Work i'm using git svn02:18
i figured it out02:18
cmn it's still a svn thing02:18
metcalfc left02:19
skyf left02:20
mtlife left02:21
patrick99e99 I am trying to deploy a submodule with capistrano.. it keeps saying " Unable to resolve revision for 'HEAD' on repository"02:21
an0maly_ joined02:21
ProLoser|Work cmn: so am i to understand that all my svn commands are available under `git svn`02:22
maletor joined02:22
skyf joined02:22
GeorgeJ left02:22
jesseFromYVR joined02:22
GeorgeJ joined02:23
jaredoconnor joined02:24
jaredoconnor can anyone point me toward some reading on good branching models for release management, hot fixes, etc ?02:25
cmn ProLoser|Work: what?02:25
jaredoconnor: !flow02:25
gitinfo jaredoconnor: [!gitflow] The description of the gitflow branch workflow model is at http://nvie.com/posts/a-successful-git-branching-model/ while a tool to help implement this workflow is at https://github.com/nvie/gitflow See http://sethrobertson.github.com/GitBestPractices/#workflow for other workflow suggestions/references02:25
jaredoconnor thanks cmn02:25
ProLoser|Work left02:26
jaredoconnor i saw the first one, but wanted to review a few others before i decided02:26
etcetera joined02:26
cmn you need to use whatever fits your system, not what someone says on the Internet02:26
jason237 left02:27
wasanzy left02:31
tjholowaychuk joined02:34
rchavik joined02:34
rchavik left02:34
rchavik joined02:34
Jay_Levitt left02:36
rurufufuss joined02:36
cybersphinx left02:38
eletuchy left02:39
shane_ left02:40
friskd left02:42
intransit left02:42
osse left02:42
steevel left02:42
zamba left02:42
jast left02:42
Shadeness left02:42
toothrot left02:42
netj left02:42
iivvoo left02:42
SirCmpwn left02:42
hashpuppy left02:42
markatto left02:42
rue left02:42
RJ3000_ left02:42
AndreSomers left02:42
bddn left02:42
dimka left02:42
EugeneKay left02:42
smw left02:42
Evanlec left02:42
w0m left02:42
The24z_away left02:42
blathijs left02:42
aef_ left02:42
worch left02:42
Tabmow left02:42
quadz left02:42
project2501a left02:42
idoru left02:42
ajpiano left02:42
iivvoo joined02:42
EugeneKay joined02:42
smw joined02:42
Tabmow joined02:43
markatto joined02:43
netj joined02:43
Evanlec joined02:43
zamba joined02:43
RJ3000_ joined02:44
toothr joined02:45
duckxx joined02:46
SirCmpwn joined02:47
idoru joined02:48
friskd joined02:48
intransit joined02:48
osse joined02:48
steevel joined02:48
jast joined02:48
hashpuppy joined02:48
Shadeness joined02:48
aef_ joined02:48
rue joined02:48
AndreSomers joined02:48
dimka joined02:48
w0m joined02:48
The24z_away joined02:48
blathijs joined02:48
worch joined02:48
quadz joined02:48
project2501a joined02:48
ajpiano joined02:48
calvino.freenode.net set mode: +v02:48
kerrick joined02:49
jaredoconnor left02:52
jesseFromYVR left02:53
FernandoBasso left02:54
converge joined02:56
converge left02:56
converge joined02:56
converge left02:56
orafu left02:57
orafu joined02:58
ehsan joined02:58
maletor left02:58
jesseFromYVR joined02:59
boombatower joined03:01
metcalfc joined03:01
fireh joined03:05
gtrak left03:05
shane_ joined03:05
Yuuhi``` left03:08
shane_ left03:12
towski left03:14
rohan32|sleep left03:14
Yuuhi joined03:15
tjholowaychuk left03:15
towski joined03:16
towski left03:16
luc_ joined03:19
Eridius left03:19
jdunck joined03:24
luc_ left03:24
Esa joined03:25
goshawk left03:26
jalama left03:28
Esa_ left03:28
eletuchy joined03:29
patrick99e99 left03:33
trungqtran left03:34
alexisabril left03:35
johnToledo joined03:36
sangi joined03:36
shankarcabus left03:39
johnToledo left03:39
johnToledo joined03:39
johnToledo left03:40
cakehero joined03:41
apok left03:41
johnPollmann joined03:41
cakehero left03:42
scelis joined03:43
luc_ joined03:44
scelis left03:44
thierryp joined03:45
gregm left03:47
simesy joined03:49
thierryp left03:50
maletor joined03:51
maqr left03:52
OOPMan left03:53
skyf left03:55
e66 joined03:58
macrover joined03:59
maleknet left04:15
a-l-e joined04:16
maletor left04:20
aca20031 left04:23
EyesIsMine left04:27
maletor joined04:28
Eridius joined04:28
kcj joined04:28
kukks left04:29
caseymcg joined04:31
iori joined04:31
Targen left04:32
jcao219 left04:37
rchavik left04:37
pppaul joined04:39
beautifulmind joined04:40
shruggar joined04:41
irqq joined04:41
pretty_function joined04:42
Davey left04:42
eletuchy left04:44
johnPollmann left04:46
beautifulmind left04:51
brasom joined04:52
macabre left04:54
variousnefarious left04:57
variousnefarious joined04:59
AlbireoX left05:00
xxc_michael joined05:02
shane_ joined05:02
jdunck left05:04
dfr|mac joined05:04
Olipro left05:05
reshtnk7 left05:05
etcetera left05:05
Olipro joined05:09
thirdknife joined05:09
oogatta left05:10
Targen joined05:11
macrover left05:11
tvw joined05:14
florin joined05:14
florinGuest5755505:15
Guest57555 left05:15
maleknet joined05:16
shruggar left05:17
philips_ left05:19
sh4rm4 left05:19
sh4rm4 joined05:21
pppaul left05:21
luc_ left05:22
philips_ joined05:23
tvw left05:25
tvw joined05:25
irqq left05:26
delinquentme left05:26
leeN joined05:27
irqq joined05:27
o] joined05:28
beautifulmind joined05:29
o] any good link with a cheat sheet for git?05:29
I always forget basic things like creating a new repo or setting up a new client05:29
private joined05:30
tvw left05:30
privateGuest665405:30
frogonwheels o]: Here's one http://cheat.errtheblog.com/s/git05:31
tdlguiinstall joined05:31
tdlguiinstall left05:31
dfr|mac left05:32
tdlguiinstall joined05:32
shruggar joined05:32
frogonwheels o]: and another few http://bit.ly/PrKnM405:32
j0ran joined05:33
madewokherd left05:34
irqq left05:34
e66 left05:35
idletom left05:38
shruggar left05:38
ph^ left05:38
ph^ joined05:39
oogatta joined05:39
quazimodo left05:39
idletom joined05:39
o] yeah! I have to ask for help05:40
ok, I have a lot of source code on my machine05:40
and a server that I can access via ssh05:40
I want to create a repository on that server and commit the files of my machine05:40
first I have to create a bare repository on the server, right?05:40
I did that a lot of times and I've forgotten everything :(05:41
ecksit joined05:41
frogonwheels o]: for a start you might want to look at !gitolite for managing your server repo..05:41
gitinfo o]: Want to host as many git repos (and users!) as you like, on your own server, with fine-grained access control? You want gitolite: https://github.com/sitaramc/gitolite - Documentation: http://sitaramc.github.com/gitolite/master-toc.html05:41
frogonwheels o]: you also might want to go over some of the !doc05:41
gitinfo o]: A list of useful documentation of all kinds is here: http://git-scm.com/documentation -- or try the wiki at http://git.wiki.kernel.org/. Also try typing "!book" "!cs" "!bottomup" "!parable" "!best_practices" or "!vcbe" or "!designers" here in IRC. !book is probably the most helpful.05:41
frogonwheels o]: especially !cs05:41
gitinfo o]: "Git for Computer Scientists" is a quick introduction to git internals for people who are not scared by phrases like Directed Acyclic Graph. http://eagain.net/articles/git-for-computer-scientists/ See also !concepts !bottomup05:41
ecksit why is my git repo riddled with commits like "Merge branch 'master' of github.com:organisation/repo-name"05:41
frogonwheels ecksit: probably because you use !pull05:42
gitinfo ecksit: pull=fetch+merge (or with flags/config also fetch+rebase). It is thus *not* the opposite of push in any sense. A good article that explains the difference between fetch and pull: http://longair.net/blog/2009/04/16/git-fetch-and-merge/05:42
iliketurtles joined05:42
o] frogonwheels: that server already has some of my repositories :)05:43
longbeach left05:43
o] but it was more than 8 months than I've created them05:43
iori left05:45
_iori_ joined05:45
thierryp joined05:45
whaley left05:47
khaije|minder left05:47
juvenal left05:48
frogonwheels o]: basically, you init your local repo and commit stuff to it.. then you will need to init a place on the server (gitolite will handle that) to push to05:48
o]: the same server can do it with gitolite.. it just means that future repo names would be more like git@yourhost rather than yourusername@yourhost05:49
o] git init --bare05:49
Initialized empty Git repository in /home/josediego/die-tk.git/05:49
mjt `git init' is simpler than installing gitolite ;)05:49
o] hmm my memory is not so bad05:49
thierryp left05:50
frogonwheels o]: It really dpends on if you're thinking of opening it up to other users.05:50
o] now I need to create a local repo on the files that are on my desktop and add a remote, right?05:50
iliketurtles left05:50
o] frogonwheels: not for now05:50
mishok13 joined05:50
frogonwheels o]: yep.05:50
o] how is the add remote ?05:50
eletuchy joined05:51
bddn joined05:51
frogonwheels o]: git remote add origin user@host:repo05:51
o] wonderful :)~~~~~05:52
mjt git remote add <name> <url>05:52
o] mjt: should I put ssh:// on the url ?05:52
mjt host:repo already assumes ssh05:53
or user@host: for that matter05:53
shruggar joined05:53
cmn and misbehaves if you put ssh:// in front, see man git clone for what each url means05:53
gitinfo the git-clone manpage is available at http://git-scm.com/docs/git-clone.html05:53
pantsman joined05:54
pantsman left05:54
pantsman joined05:54
jesseFromYVR left05:55
eletuchy left05:55
frogonwheels o]: if you do, you ave to use ssh://josediego@host/home/josediego/die-tk.git rather than josedigeo@host:die-tk.git05:56
mjt heh05:56
frogonwheels o]: I know which one I'd use05:57
cmn or you can use ~05:57
or change your ssh options so that it roots in your home05:57
MrMeh joined05:57
o] all right05:58
warthog9 left05:58
acrocity_ joined05:59
ThomasLocke joined06:00
fisted joined06:01
acrocity left06:02
acrocity_acrocity06:02
maletor left06:02
weiyang joined06:02
ecksit left06:03
shane__ joined06:03
shane_ left06:04
nigelb left06:05
lucapost left06:05
lucapost joined06:06
ph^ left06:06
duckxx left06:06
metcalfc left06:09
shane__ left06:09
BadDesign joined06:10
fisted left06:10
Anders_J joined06:11
nigelb joined06:12
nigelb left06:13
nigelb joined06:13
AdrienBrault joined06:15
fisted joined06:15
cbreak-work joined06:15
iliketurtles joined06:15
beautifulmind left06:15
_iron joined06:16
fisted left06:17
zhouxiukun left06:17
marthinal joined06:18
zhouxiukun joined06:18
resmo joined06:18
newcode left06:18
drizzd left06:19
luc_ joined06:20
JPohlmann joined06:20
drizzd joined06:20
caseymcg left06:20
skorgon joined06:21
skorgon left06:21
skorgon joined06:21
jbub joined06:21
fisted joined06:22
soee joined06:22
redrocket left06:23
ph^ joined06:23
redrocket joined06:24
senny joined06:24
shruggar left06:24
iliketurtles left06:25
Milossh joined06:25
JohnBat26 joined06:25
_iron left06:25
resmo left06:27
unreal left06:28
EyesIsMine joined06:28
TheMoonMaster left06:29
piggybox joined06:29
flijten joined06:29
papegaaij joined06:30
Caelum left06:30
arvind_khadri left06:30
Caelum joined06:30
TheMoonMaster joined06:31
dzonder joined06:31
unreal joined06:31
acrocity_ joined06:32
rcu joined06:32
fornext joined06:33
acrocity left06:34
acrocity_acrocity06:34
fisted_ joined06:34
shruggar joined06:35
maletor joined06:37
mishok13 left06:37
fisted left06:37
o] left06:37
nyxynyx left06:38
o] joined06:39
reshtnk7 joined06:39
shruggar left06:39
resmo joined06:40
shruggar joined06:41
EugeneKay sitaram - are you about, by chance?06:42
sitaram yup06:42
EugeneKay Are you aware of any hook/etc to gitolite that can fetch from an "upstream" repo when I fetch a gitolite repo?06:42
sitaram sure. Curiously, it's called "upstream"06:43
src/triggers/upstream06:43
mmc1 joined06:43
EugeneKay Oh god github redesigned user pages06:43
EugeneKay kills it with fire06:43
sitaram documentation for this is in the code itself; you won't find it in the docs06:43
idletom left06:44
cmn EugeneKay: use the API06:44
sitaram EugeneKay: I thought your firefighter's oath prevented you from doing stuff like that...06:44
EugeneKay We need to have a fire to put out first.....06:44
It looks like "nice" is a time in minutes to wait between fetching from upstream?06:44
mysmysery left06:44
dc5ala joined06:45
Leo1 joined06:46
shruggar left06:46
beneggett joined06:46
EugeneKay The doc just says "elapsed time", no indication of units06:46
JPohlmann left06:47
sitaram see last line but one06:47
shruggar joined06:47
sitaram # * the 'nice' setting is in minutes and is optional; it is the minimum06:47
EugeneKay I must need more booze06:48
sitaram ("ADDITIONAL NOTES" section)06:48
shruggar left06:48
EugeneKay Indeed, I was reading the last line06:48
EugeneKay goes back to doing rude things to his gitolite install06:48
sitaram tautology (re "I must need more booze")06:48
EugeneKay :-D06:49
dermatthias joined06:49
EugeneKay Sadly, I am at grandmother's house this week and must limit my intake for the sake of appearances06:49
mmc1 left06:49
sitaram :(06:49
nyxynyx joined06:51
maxandersen joined06:52
maxandersen left06:52
maxandersen joined06:52
EugeneKay Question, if I create a new repo and this trigger is set up to run, will it fetch on the first init? Or the first time I try to fetch from the new repo?06:52
JPohlmann joined06:52
JPohlmann left06:52
JPohlmann joined06:52
giallu joined06:53
jbub left06:53
sitaram first fetch06:54
EugeneKay Hrm. I guess I can cron it06:54
rcu left06:54
EugeneKay Or just say "screw it"06:54
sitaram or add it to the POST_CREATE trigger list -- might work06:55
(as well as PRE_GIT I mean)06:55
try it and see06:55
EugeneKay I shall06:55
The doc in the .rc file says that's for post-wild-repo init06:55
jbub joined06:56
jaseemabid joined06:56
jbub left06:58
reshtnk7 left06:58
sitaram that needs fixing; see "trigger-specific arguments and other details" in http://sitaramc.github.com/gitolite/triggers.html06:58
EugeneKay Aha.06:59
quazimodo joined06:59
sebrock joined07:00
EugeneKay Hrm. The trigger doesn't appear to be doing anything.07:00
tsdh joined07:00
mishok13 joined07:01
sitaram probably because I have to go to lunch :)07:01
EugeneKay Likely.07:01
Oh I see why07:01
Your docs are wrong!07:01
src/triggers/upstream says to use "option upstream.uri =". It's config!07:02
mtlife joined07:03
dege joined07:03
beautifulmind joined07:04
florin joined07:04
florinGuest8338307:05
bartman` left07:05
mtlife_w joined07:06
timj joined07:06
bartman` joined07:07
mtlife left07:07
EugeneKay NOW it's roen.07:08
broken, too.07:08
lb joined07:08
lb left07:08
lb joined07:08
Sajbar EugeneKay: gratz!07:08
LeMike joined07:08
Sajbar EugeneKay: just checkout an earlier version where it worked :P07:08
kerrick left07:09
EugeneKay Uh.... not really applicable :-p07:09
Danielss89 joined07:09
Sajbar EugeneKay: not running version control?07:09
jesus;)07:09
timj1 left07:09
Danielss89 Hi. I'm having trouble pushing a branch to my remote..07:09
http://ds.gl/3d4c94.png07:09
EugeneKay beats Sajbar about the head with a gitolite07:09
AdrienBrault left07:10
Sajbar EugeneKay: you could have your config files under version control ;)07:10
EugeneKay Danielss89 - git push is expecting a repo name, "origin", THEN the ref07:10
LeMike1 left07:10
EugeneKay Or just 'git push'07:10
Run 'git branch -avv' & pastebin07:10
acl_ left07:10
letharion left07:10
Danielss89 EugeneKay: how can i push the branch i'm in right now, to the branch called "booking" on remote07:12
EugeneKay Danielss89 - `git push -u origin booking`07:13
Which will automagically set up tracking if it doesn't exist(which you want)07:13
caddoo joined07:14
RaceCondition joined07:14
rchavik joined07:14
shruggar joined07:14
deffrag joined07:15
Danielss89 EugeneKay: it says that everything is up-to-date07:15
but it's not..07:16
papegaaij left07:16
Danielss89 EugeneKay: i have a commit which doesn't get pushed07:16
EugeneKay sitaram - damnit, nevemrind my above. I can't read.07:17
leokaito joined07:17
EugeneKay sitaram - and putting it in the POST_CREATE does in fact work. Yay!07:18
sitaram - is there a way to specify a default for an option on ALL repos?07:18
eg, I want to set the nice option to 60 globally, instead of doing it in each repo I make an upstream or07:19
Danielss89 - !repro07:19
gitinfo Danielss89: Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session, or at least explain exactly what you did that led up to the problem. This will help immensely with troubleshooting.07:19
Erenss joined07:19
EugeneKay Danielss89 - I am inclined to believe that `git` is working correctly, you're simply invoking something wrong.07:19
whitman joined07:19
letharion joined07:19
Danielss89 EugeneKay: i agree :D07:19
caseymcg joined07:20
Danielss89 ok.. now i'll start over..07:20
EugeneKay: i've just cloned my repo07:20
now i need to get a remote branch so i can work on it07:21
chimay joined07:21
irqq joined07:22
Danielss89 so i do: git checkout -b booking origin/booking07:23
TheHaven joined07:24
EugeneKay Yup.07:24
jbub joined07:25
mhauri joined07:26
osxorgate joined07:26
tdlguiinstall left07:26
beautifulmind left07:27
tdlguiinstall joined07:28
worstadmin left07:28
dzonder left07:30
weiyang left07:30
osse The other day I was in a hurry and was confused at the same time. So I stashed some bits, commited som, resetted others. Now, when I run git log --all, I see a special commit I've not seen before. It's a commit with message 'index on <branch>: <prev commit msg>' How did that happen?07:30
papegaaij joined07:30
simesy_ joined07:30
frogonwheels osse: that's your stash07:30
jast osse: git log --all shows *everything*. that includes stashes.07:30
dhruvasagar left07:30
frogonwheels osse: the stash comes in two parts. the contents of the wd and the contents of your index at the time of the stash.07:31
cbreak-work not really everything07:31
just everything in history07:31
jast yeah, yeah07:31
cbreak-work git log -g for more of everything :)07:31
osse frogonwheels: ahh. Yeah I have a commit decorated with "refs/stash" as well.07:31
EugeneKay Danielss89 - did you get it sorted? ;-)07:31
Danielss89 i'm working on it :D07:31
esc either I am in an A/B Test, or Github got a major makeover last night...07:31
EugeneKay esc - the latter07:32
osse I guess I've never stashed staged stuff before.07:32
Thanks for the clarification :)07:32
EugeneKay I was just remarking upon how ugly it is07:32
esc EugeneKay: what the fuck, it's like almost a different site???07:32
frogonwheels osse: np. look in gitk --all if you can07:32
thiago joined07:32
jast I don't see a makeover on github07:32
so it must be in A/B stage07:32
EugeneKay sitaram's page now looks like http://i.imgur.com/RsQZJ.png07:32
esc okay, github has been going down the drain for a while now07:33
dhruvasagar joined07:33
cbreak-work github still looks the same for me07:33
esc EugeneKay: yeah, i have the same07:33
jast no, it's all betterification, I'm sure07:33
EugeneKay It's Agile07:33
Vile1 left07:33
simesy left07:33
osse frogonwheels: 'command not found: gitk' but 'git log --all --decorate --graph' does a decent job. I can see that the commit labeled refs/stash and the commit with messaged 'index of...' have the same parent.07:33
jast *that's* what you call a major makeover? jeez07:33
cbreak-work If I wanted to be agile, I'd be a gymnast.07:33
sente left07:34
simesy_ left07:34
frogonwheels osse: if you have x available.. (assuming ubuntu/deb) then apt-get install git-gui07:34
esc jast: okay, maybe not major, but it certainly is more than just little tweaks ;)07:34
frogonwheels osse: I like using guis where they are faster/useful.07:34
drougge joined07:35
jast the tweaks were small enough that I wouldn't have noticed them07:35
frogonwheels osse: needless to say I also spend a lot of time in shells as they often aren't. :)07:35
osse frogonwheels: I'm on an old, crappy RHEL :/ I installed git through the EPEL repo. It's not even in red hat's standard repos07:35
EugeneKay osse - use the rpmforge-extras repo07:35
Guest6654 left07:35
EugeneKay Set 'includepkgs = git *-git git-*' in your rpmforge.repo to make sure it doesn't stomp on anything else07:35
Or *git*, if you're feeling adventurous07:36
osse EugeneKay: ahh, I've heard about clashes between EPEL and other similar repos, but if you can filter like that I guess it'll work07:36
jast you forgot about gitweb in your first draft !111!11!07:36
jkremser joined07:36
EugeneKay You have to add the line after the rest of the config optiosn in the .repo [section]07:36
jast also tig07:37
osse frogonwheels: what was it you wanted to show me in gitk?07:37
EugeneKay But it works MUCH better than yum-plugin-priorities.07:37
Which is to say, your system will still boot afterwards07:37
jast ooh, that sounds useful07:37
esc jast: really, it looks so unfamiliar, I couldn't help but not noticing ;)07:37
jast they didn't even change the colour scheme07:38
the recent redesign of git-scm.com... now *that* was major07:38
especially since it murdered our beloved tree-eating monster07:38
esc yeah, i loved that guy07:38
_ikke_ left07:38
dhruvasagar left07:39
esc we used him on the cover of our book, it was such an awesome logo07:39
alunduil left07:39
BadDesign left07:40
EugeneKay I blame the Github goes07:40
s/goes/guys/07:40
God, I really need booze. I can't concentrate07:40
dhruvasagar joined07:40
osse So I've check out the commit that is the parent of this weird 'index of ...' commit. git show <hash> of the weird commit only shows me the git log-esque summary of the commit, but not the contents. Does that mean I hadn't in fact staged any thing? If not, how can I see what I had staged?07:40
alunduil joined07:41
osse The new profile of git's webpage is to slick and professional-looking :/07:42
EugeneKay It looks like ass.07:42
Compare the amount of information now with http://web.archive.org/web/20110611035709/http://git-scm.com/07:43
osse Tried 'git show --format={fuller,raw} <commit>' Still the same output.07:44
Anders_J left07:44
jast osse: to view diffs in 'git log' output, try -p ('patch')07:44
osse Ahh. My bad. 'git stash' *always* creates those two commits, even if the index is empty07:45
that's why nothing appeared07:45
_ikke_ joined07:45
EugeneKay git-stash also eats babies, so I think you can forgive the excess commits.07:46
thierryp joined07:46
osse jast: nice, thanks.07:46
made a test repo now where I stashed different ("non-empty") changes in both the actual file contents and index. Now 'git show <index commit>' shows what I expect.07:47
Finally, peace of mind07:47
sitaram EugeneKay: re "nice option to 60 globally"; yes. See http://sitaramc.github.com/gitolite/git-config.html for examples (toward the end)07:48
EugeneKay Shiny07:48
kkszysiu_work joined07:48
EugeneKay Remind me what charity I'm supposed to donate to in your name? The EFF?07:48
BadDesign joined07:48
EugeneKay Actually, I don't think they'd take my money.07:48
sitaram EugeneKay: perl, vim, or failing that any open source project not involving mono07:48
s/involving/using/07:49
EugeneKay Mono, like "The Kissing Disease" ? >_>07:49
osse oh, you're one of *those* :P07:49
sitaram and proud of it07:49
osse no that's mano07:49
or is it mono?07:49
EugeneKay http://en.wikipedia.org/wiki/Infectious_mononucleosis07:49
osse I was wrong. Last time that happened was back in '6707:50
sitaram EugeneKay: some disease anyway; spread by people like Miguel de Icaza07:50
domguard joined07:50
thierryp left07:50
osse I've used some Mono applications before. I didn't even sneeze07:50
jast osse: don't worry, it's free the first three times07:50
mono doesn't induce sneezing07:51
chisler joined07:51
osse I didn't cough either07:51
sitaram EugeneKay: finally, note that you can also use a generic value (like 60 as you said) for07:51
jast hmm, they do normally ruin your throat07:51
Pupeno_W joined07:51
jast they, it, whatever07:51
Leo2 joined07:51
domguard hi, is there a way to use "git rebase -i" to squash two distant commits ? I mean there is 20+ commits between the two of them...07:51
sitaram EugeneKay: finally, note that you can also use a generic value (like 60 as you said) for "@all" repos, tnen specify other values for specific repos later (physically later in the text)07:51
Leo1 left07:51
EugeneKay nods sagely07:52
jast domguard: you can reorder the commits in the list07:52
so just move it up and change it to 'squash'07:52
EugeneKay Though I'm using "option", not "config".... which I didn't know were different until tonight07:52
defts joined07:52
domguard ok great jast i'll try this immediately07:52
amcsi_work joined07:53
LeMike left07:53
sitaram EugeneKay: differences between option and config: (1) "option foo = bar" is a short cut for "config gitolite-options.foo = bar" (2) config lines starting with "gitolite-options" are always allowed; you dont need to set GIT_CONFIG_KEYS in the rc file (3) they don't go into the "bare-repo.git/config" file07:54
dhruvasagar left07:54
EugeneKay Indeed.07:54
Yay, seems to work right07:54
EugeneKay sleeps, plots world domination, and scratches his belly07:55
pantsman left07:55
dhruvasagar joined07:56
maletor left07:56
dpino left07:56
EugeneKay Maybe I'll finally make my git-library script work tomorrow07:57
LimeBlast joined07:57
jast does it vend yet?07:57
Guest83383 left07:57
EugeneKay Nope, but the IRC stats do07:57
!stats07:57
gitinfo [!irclog] Public logs of #git are kept at: http://colabti.org/irclogger/irclogger_log/git or look at stats for the last 30 days: http://itvends.com/irc/git.html07:57
eijk joined07:58
EugeneKay Bonus points: git config --global alias.vend '!echo "IT VENDS! "$(curl http://itvends.com/vend 2>/dev/null)'08:00
Bosox20051 left08:01
j0ran1 joined08:01
mikecmpbll joined08:01
Gx4xx joined08:02
j0ran left08:02
suy joined08:02
florin joined08:03
florinGuest8312208:04
osse What's the best way of generating the list of files added by a commit?08:04
gerryvdm_mbp joined08:04
_Qman joined08:04
osse ahh, in my case t he commit had no other changes than new files so git diff HEAD~ --name-only works08:04
thiago git show --name-only, git log --name-only08:05
Gx4 left08:05
osse even better08:06
abizern joined08:06
jast osse: --name-status --diff-filter=A08:06
I suppose the first one is optional08:06
osse jast: --diff-filter! Brilliant!08:07
Axsuul joined08:10
Axsuul A gitignore line of... /kitchen/**/metadata.json should ignore something like... /kitchen/cookbooks/foo/metadata.json right?08:10
LeMike joined08:10
thiago Axsuul: gitignore doesn't handle ** specially08:11
ivan\ left08:11
Axsuul thiago: how would I accomplish that ?08:12
angelsl joined08:13
thiago Axsuul: no support for that08:13
Tegi joined08:13
tdlguiinstall left08:14
jast you could put a .gitignore file in kitchen/ that has 'metadata.json' in it08:14
afuentes joined08:14
thiago or that, yeah08:15
boombatower left08:17
maleknet left08:18
Axsuul jast: thanks08:18
solofight joined08:18
solofight left08:19
arietis joined08:19
Element9 joined08:20
quazimodo left08:21
Jippi joined08:26
Eridius left08:29
quazimodo joined08:29
Sander^work joined08:30
avpx left08:30
solofight joined08:31
Chib_ left08:31
maleknet joined08:31
Vile joined08:32
reshtnk7 joined08:36
notVert joined08:38
jaseemabid left08:38
gerryvdm_mbp left08:38
charon osse: but to look at the "change done by a commit" in general, not just HEAD, you'd use 'git show <the same options>'08:40
marhaban joined08:41
maleknet left08:41
polymar joined08:41
maleknet joined08:44
Ivo joined08:46
thiago left08:46
tvw joined08:46
thiago joined08:47
raboof joined08:47
gerryvdm_mbp joined08:48
gerryvdm_mbp left08:48
gerryvdm_mbp joined08:48
raboof left08:48
raboof joined08:48
raboof i seem to have confused git-svn (by letting my disk fill up :S)08:48
tarkus joined08:48
raboof 'git svn dcommit' now gives 'RA layer file already exists: File <somefile>'08:48
now what? :)08:48
jjang joined08:48
jjang left08:49
raboof indeed the commit that adds this file has not been pushed to SVN yet08:49
chisler left08:49
tarkus Q. When I do 'git push origin master' does it copies all the repos from local repo to the remote one or just a master?08:50
gerryvdm_mbp left08:50
thiago tarkus: it pushes the contents of the master branch to the remote master branch, that's all08:51
abizern left08:51
Gorkyman joined08:52
tarkus Q. Let's say i have multiple small commits in a dev branch (dedicated to a bug fix or a small feature). Is it ok to merge it into the main branch as a single commit to keep the history clean and simple in the main branch? Or this is something nobody do?08:53
thiago it's ok08:53
rurufufuss left08:53
thiago it's usually project policy or personal taste08:53
beneggett left08:54
thiago some projects insist on small, almost atomic changes08:54
other projects will accept a moderately large change that makes sense together08:54
tarkus thiago, which command should i look into to do this single merged comit?08:54
jast you'd better not do it if you want to merge from dev branch to master again later on, though08:54
thiago most don't like one big change doing many unrelated things08:54
und3f joined08:54
jast because a squashed merge (git merge --squash) sort of breaks future normal merges08:54
thiago my recommendation, rebase -i the dev branch on top of master and squash the commits08:55
jast I don't see a pratical difference08:55
tarkus for example you're working on an open source project, and want to have fewer commits in the public branch than in your local dev branches.. sounds normal?08:56
thiago no08:56
swair joined08:56
thiago once you squash, you get rid of the smaller commits08:56
you don't keep them around08:56
so remember to squash them in a form that makes sense for later08:56
jast in an open source project, I don't want *few* commits, I want *sensible* commits. sometimes that's more, sometimes that's less.08:56
thiago agreed08:56
jast in any other project, to,o really08:56
polymar left08:57
masak it's like in SRP: it's not about making things as small as possible, it's about making things that belong together go together.08:58
tarkus how do you keep unfinished work during multi-tasking.. by using staging?08:59
instead of small commits?08:59
thiago some people keep different branches08:59
just make a work-in-progress commit and then change branches08:59
I do that, except that everything is in one branch09:00
masak staging and different branches are good for work-in-progress things. which one I use depends on the size/lifetime of the WIP.09:00
blami_ joined09:00
pfFredd joined09:00
tarkus in general is it good practice to have a single commit for a small bug fix are feature implementation as opposed to commiting several times while you work on the feature or a bug fix?09:01
jast if changes are isolated enough, I just use 'git add -p' or 'git commit -p'09:01
osse left09:02
hauron left09:02
dareign85 left09:03
Gorkyman left09:03
Gorkyman joined09:03
Gorkyman hey guys... I need some help... somehowmy git is saying that I'm up-to-date, but remote develop clearly has 2 more commits09:03
so... how to get out of this mess? :)09:03
Bombe Merge those, if that’s what you want to do.09:04
masak heh -- I remember being in such situations early on with git.09:04
hinst joined09:04
tarkus thiago which command should i look into fro work-in-progress commits?09:04
Gorkyman problem is, I dont even know how to get those commits from remote, since its saying that its up-todate09:04
thiago Gorkyman: don't doubt Git. You're probably up to date.09:04
Gorkyman: how do you know that the upstream has those commits?09:05
tarkus: git commit09:05
Esa left09:05
worstadmin joined09:06
SeoZSeoZ-work[AWAY]09:06
tarkus thiago, git commit in a working branch, then git commit --ammed on top of it? then after feature is done merge into the main branch as a single commit?09:06
thiago tarkus: if you're working on a feature and don't have time to finish it now, git commit and write a message indicating you're not done. Like "WIP"09:07
tarkus: change branches, work on what you need to work on, etc.09:07
gdmfsob joined09:07
thiago when you get back to that branch, you can continue working on and --amend, or you can reset to a previous commit and re-commit09:07
Gorkyman thiago: hm... yeah it seems that git is right...09:08
tarkus thanks guys09:09
mishok13 left09:10
tarkus is it ok to have private and public repos for open source projects? in a private repo i tend to have more branches for experimental features and stuff like that and in the public repo there is clean, good code available for public consumption?09:12
btree_ joined09:13
luc_ left09:13
j0ran1 left09:13
luc_ joined09:14
thiago left09:15
btree left09:16
dr_lepper tarkus: well, sure, why not?09:17
tarkus i'm curious is that something enybody is doing.. or just a overcomplication09:17
dr_lepper with git everyone has his own private repository09:18
quazimodo left09:18
dr_lepper millions of people have cloned Linux repository, for example09:18
tarkus i wish git has an ability to set permissions on repos level..09:18
dr_lepper each of those clones is a private repository, who knows what they are doing with it? :)09:18
what do you mean "on repos level"?09:18
tarkus *branch level..09:19
arietis left09:19
tarkus for example i could have a public repo with dev branch restricted to developers onlhy09:19
Esa_ joined09:20
gitinfo set mode: +v09:20
OMGOMG_ how to run a three way difftool between the working directory and (e.g.) HEAD and HEAD^?09:20
ivan\ joined09:20
tarkus in tfs for example you can set different permissions on different areas of your repo if needed09:21
dr_lepper tarkus: git does not deal with access control09:22
tarkus: you want probably something like gitolite09:22
xxc_michael left09:22
FauxFaux tarkus: !gitolite can do per /branch/ access control; nothing can do per-tree access control because that makes very little sense in git.09:22
gitinfo tarkus: Want to host as many git repos (and users!) as you like, on your own server, with fine-grained access control? You want gitolite: https://github.com/sitaramc/gitolite - Documentation: http://sitaramc.github.com/gitolite/master-toc.html09:22
charon raboof: in the worst case you can always make a fresh git-svn clone, fetch the other repo into it as a remote, use cherry-pick or rebase to "copy" the commits that are not in svn yet, and then dcommit again09:23
tarkus thanks, i'll look into it09:23
charon raboof: but i suspect if you nuke (!backup) the .git/svn cache data, and run 'git svn fetch' to regenerate it, the problem will vanish09:23
dr_lepper FauxFaux: doesn't gitolite do per-directory access control?09:23
tarkus how do you do scrum with OSS git/github projects? by using thoughtworks' mingle or is there a good alternative?09:24
sitaram dr_lepper: it can do that also; branch level is more commonly used09:24
FauxFaux Oh, for writes.09:24
sitaram dr_lepper: unless you're an SVN refugee, in which case both probably sound the same to you ;-)09:24
dr_lepper sitaram: yeah, that's what I thought09:24
Esa_ left09:24
quazimodo joined09:24
dr_lepper hehe09:25
sitaram and as FauxFaux said all this is only for writes09:25
dr_lepper well, yeah, obviously09:25
mhauri left09:27
FreeHaegin joined09:27
ryez joined09:27
FreeHaegin hey, I've heard rebase is bad if the commits you're rebasing have been pushed, is this still true if nobody has done any work on the pushed commits?09:27
ryez left09:28
tusbar joined09:28
Lord_DeathMatch joined09:28
jast FreeHaegin: the question is more whether they *have* the pushed commits09:28
dr_lepper FreeHaegin: !rewriting_public_history09:29
gitinfo FreeHaegin: Rewriting public history is a very bad idea. Anyone else who may have pulled the old history will have to `git pull --rebase` and even worse things if they have tagged or branched, so you must publish your humiliation so they know what to do. You will need to `git push -f` to force the push. The server may not allow this. See receive.denyNonFastForwards (git-config)09:29
jast hmm, that trigger could use a link to a helpful document or something09:29
i42n joined09:29
tusbar is it not possible to remove a directory and add a submodule with the same path/name in the same commit?09:29
charon jast: like "coping with upstream rebase" in man git-rebase?09:29
gitinfo jast: the git-rebase manpage is available at http://git-scm.com/docs/git-rebase.html09:29
charon eh, "recovering from upstream rebase"09:30
mhauri joined09:30
jast I suppose09:30
does that file have anchors?09:30
FreeHaegin ok, basically the company policy is push to github so you don't lose your work but I'm 99% sure nobody else has pulled it down. will the server still deny my push?09:30
jast it does09:31
FreeHaegin: by default, yes. with --force... one way to find out09:31
arietis joined09:31
gerryvdm_mbp joined09:31
gerryvdm_mbp left09:31
gerryvdm_mbp joined09:31
mhauri left09:31
FreeHaegin nah, I'm not forcing a push. that might make people hate on me. I'll just merge it in and wrangle it that way09:31
thanks for the advice guys09:31
jast I've finally rewritten !rewrite. I've been finding it weird for a long time...09:35
gitinfo [!rewriting_public_history] Rewriting public history is a very bad idea. Anyone else who may have pulled the old history will have to jump through hoops (and you have to tell them to), so it's infinitely better to just move on without rewriting. That said, you can use `git push -f` to force rewriting (the server may reject it, though). See http://git-scm.com/docs/git-rebase.html#_recovering_from_upstream_rebase09:35
jernej joined09:36
bloony left09:38
Esa_ joined09:39
bloony joined09:39
simesy_ joined09:40
maleknet left09:40
chisler joined09:40
psoo joined09:41
chx joined09:41
chx how can i tell git to throw away a directory and all files in it and get the contents from another brnach?09:42
jernej quick question. does commit object points to one tree with multiple trees or to just multiple trees directly ?09:42
FauxFaux jernej: git cat-file commit HEAD09:42
nadim joined09:43
tfitts joined09:44
thierryp joined09:46
jast chx: rm -rf directory (you know that's dangerous, right?); git checkout otherbranch -- directory09:47
jernej FauxFaux, ?09:47
jast jernej: just do it and you'll see what's in a commit object09:47
diegoviola joined09:47
simesy_ left09:47
jernej h09:47
ok*09:47
jast in a format for consumption by humans :)09:47
jernej i see, thanks :)09:48
devotee joined09:49
this_is_caitlin joined09:50
thierryp left09:51
jackh left09:54
gitinfo set mode: +v09:55
caseymcg left09:55
gavin_huang left09:56
nadim hi, is is possible, through hooks, to change things like $version$ to the commit within a file? I am not arguing that it is a good thing to . URL to some documentation highly appreciated09:56
tdlguiinstall joined09:56
psoo left09:57
jernej left09:57
thiago joined09:57
beautifulmind joined09:57
wereHamster nadim: there are better ways to embed the version into your source code than using $version$09:57
nadim wereHamster: I wrote "I am npot arguing that it is a good thing" specifically to not get that answer, thank you anyway09:58
mtlife_w Where can I find some error log if somebody is trying to login? There is no /var/log/git or something09:58
Melrian joined09:58
FauxFaux mtlife_w: Log-in to what? git doesn't have logins.09:58
wereHamster nadim: man gitattributes -> ident. But that's the blob id, not the commit id09:59
gitinfo nadim: the gitattributes manpage is available at http://git-scm.com/docs/gitattributes.html09:59
FauxFaux nadim: Go google people abusing !smudge , if you have more complex requirements.09:59
gitinfo nadim: [!filters] Filters can be very useful for automatically making changes to files at checkout(smudge) and checkin/add(clean). See 'man gitattributes' for more information09:59
sbodo joined09:59
wereHamster nadim: alternatively, use smudge/clean filters09:59
mtlife_w FauxFaux: Well I know, the private/pub key seems to be working I think. But somebody is getting 'Exception caught during execution of ls-remote command'09:59
nadim thank you guys09:59
FauxFaux mtlife_w: That sounds like you're not even remotely using git for the server. gerrit, I guess?09:59
mtlife_w EGit for eclipse yes, gerrit is a part of that right?10:00
FauxFaux You are one very confused puppy.10:01
mtlife_w Yes :(10:01
mikecmpbll left10:01
FauxFaux a) work out what client you're using. b) work out what server you're using. c) work out what transport you're using. d) work out which is erroring. e) direct the real error message to the right people.10:01
maleknet joined10:02
mtlife_w a) Egit for eclipse. b) ubuntu 12.04 with gitolite. c) SSH transport d) No idea? e) That's it.10:02
nadim left10:03
mikecmpbll joined10:03
FauxFaux Sounds like egit is broken. WIndow -> show view -> error log, get the real exception? And, if it's not obvious or googlable, direct it to #eclipse?10:04
serbang joined10:05
berserkr left10:07
chx left10:07
serbang left10:09
maleknet left10:09
hyperair left10:11
Chuwiey left10:13
drougge left10:13
frsk joined10:14
drougge joined10:14
ph^ left10:16
gavin_huang joined10:16
Guest83122 left10:16
mtlife_w FauxFaux I will check. Moment please :)10:17
gerryvdm_mbp left10:17
iocor joined10:17
fbroasca joined10:18
madsy joined10:18
madsy left10:18
madsy joined10:18
Melrian left10:19
Melrian joined10:19
mtlife_wmtlife10:20
bfgun joined10:21
drl left10:24
FrenkyNet joined10:24
ph^ joined10:25
bigfg left10:25
flaguy48 left10:27
FrenkyNet Hi all, does anyone have an easy guide to installing git on a dedicated server? Secure of course. I'm no sysadmin btw, just a code-monkey.10:29
XATRIX joined10:29
osse joined10:29
FasTTo joined10:29
FasTTo left10:29
XATRIX what do i have to do on the server side to be able to "gitosis@git.yourserver.com:yourproject.git" ? istead of SSHing it10:30
j0ran joined10:30
maleknet joined10:30
canton7 FrenkyNet, just git? use your favourite package manager10:31
tdlguiinstall left10:31
canton7 FrenkyNet, a git server? Take a look at !gitolite10:32
gitinfo FrenkyNet: Want to host as many git repos (and users!) as you like, on your own server, with fine-grained access control? You want gitolite: https://github.com/sitaramc/gitolite - Documentation: http://sitaramc.github.com/gitolite/master-toc.html10:32
canton7 XATRIX, that is ssh...?10:32
FrenkyNet thanks canton7 gitinfo10:32
gitinfo FrenkyNet: you're welcome, but please note that I'm a bot. I'm not programmed to care.10:32
FrenkyNet wow10:32
bitchin'10:33
ignotus joined10:34
RaceCondition left10:34
Leo2 left10:35
intripoon joined10:37
liktoj joined10:38
sgambino left10:42
medwards joined10:42
sgambino joined10:42
medwards Is there a way to tell if commits have been rearranged in an interactive rebase? (I want to do a TDD workshop and see if someone rearranged his history to put their test first)10:43
gerryvdm_mbp joined10:43
gerryvdm_mbp left10:43
gerryvdm_mbp joined10:43
Pupeno_W left10:44
medwards I'm thinking its possible that the timestamp is from the original commit time...10:44
wereHamster medwards: you could look at the author time10:45
medwards: but that can be also changed, so if the commits are test first, you can not tell if the author actually wrote the tests first10:45
luc_ left10:45
shruggar left10:46
ignotus left10:46
solofight people - whats the difference between a branch and a clone from a use case perspective ? say i have A and i clone it to B and i make changes B+x and later i want changes to be reflected to A as well so i do a push. Now take the same with a branch i have A, branched to B and some changes added B+x and when needed to be integrated with A its a branch merge ! !10:47
Droolio joined10:47
solofight kindly throw some light if am missing something10:47
wereHamster solofight: a repository contains branches.10:47
medwards wereHamster: thats good enough. Someone goes to enough trouble to create an empty commit or wipe the timestamp then they're working too hard not to learn for me to care.10:48
thanks!10:48
Cros79 joined10:48
solofight wereHamster: so what difference does it make in the above said workflow ?10:48
wereHamster medwards: it's not that hard: https://gist.github.com/334420810:49
solofight if i want to go one step further with branches also i can create right ? B+x branched to B+x+y and then merged when needed10:49
wereHamster: ^10:49
mhauri joined10:50
wereHamster solofight: man gitglossary and read the explanation of 'branch' and 'repository'10:51
gitinfo solofight: the gitglossary manpage is available at http://git-scm.com/docs/gitglossary.html10:51
medwards wereHamster: few of our guys are that comfortable with shell, and if they're reading git man pages to know about --reset-author then thats still useful to me. But maybe I should keep this around for myself >.>10:51
ncd|leeN joined10:51
shruggar joined10:52
juvenal joined10:53
leeN left10:55
sgambino left10:57
XATRIX left10:58
this_is_caitlin left10:58
ipalaus joined11:01
Anubisss left11:02
jdyin left11:02
Anubisss joined11:02
Anubisss left11:03
Anubisss joined11:04
danielpunt joined11:04
maxandersen1 joined11:04
gxk left11:05
bartman` left11:05
maxandersen left11:06
bartman` joined11:06
acrocity left11:07
zenx joined11:07
OOPMan joined11:08
acrocity joined11:08
dareign85 joined11:09
adamben left11:10
RaceCondition joined11:10
Fullmoon left11:12
RJ3000_ left11:13
tusbar left11:13
arex\ Am I able to merge changes from "features/someFeature" branch in "green" repo, to "develop" branch in "gate" repo?11:14
canton7 sure11:14
LeMike left11:15
Esa_ left11:15
Esa_ joined11:16
HavenMonkey joined11:16
SJr left11:16
arex\ canton7: ok, great. currently thinking through how the workflow would be with feature branching, ci and two repos ("gate" and "green")11:17
tjadc joined11:17
TheHaven left11:17
SJrX joined11:18
Esa_ left11:20
RJ3000_ joined11:21
drougge left11:22
drougge joined11:22
Esa_ joined11:22
letharion left11:23
zenx Hi can someone explain me the difference between git cloning the ubuntu linux.git repo. I am inexperienced with git and istead of cloning ubuntu-quantal.git I cloned the former thinking it would have everything. But now I am trying to checkout a head in the ubuntu-quantal.git repo and can't do it11:24
this relating to the ubuntu kernel tree11:24
cbreak-work zenx: different repositories can have different histories11:26
hellopat left11:26
cbreak-work chances are they have nothing in common11:26
stodan joined11:26
adamben joined11:26
masak general query: when do you people tend to do interactive rebasing? I know when I do it myself, but I'm curious about other people's use cases.11:27
RJ3000_ left11:27
OMGOMG_ <+OMGOMG_> how to run a three way difftool between the working directory and (e.g.) HEAD and HEAD^?11:27
thoughts?11:27
canton7 masak, normally when tidying up a feature branch before merging it into some other, 'main' branch11:27
zenx cbreak-work: Thanks. I am cloning the ubuntu-quantal one now11:27
canton7 masak, also when I make a stupid mistake in some commit I haven't yet pushed, in any branch11:28
OMGOMG_ masak: yeah, that11:28
johnny_rose joined11:29
sbodo left11:29
chisler left11:30
masak ok. tidying up known-untidy commits to make a better history before publishing/merging it.11:30
or fixing a mistake somewhere much earlier in unpublished history. sort of like 'commit --amend' but further back.11:31
_ikke_ masak: yeah11:31
But you can even remove entire commits11:31
danielpunt left11:31
sgambino joined11:32
masak right.11:32
jaseemabid joined11:33
dhruvasagar left11:34
tellone joined11:34
rgsteele joined11:34
canton7 tbh, I mainly use 'git commit --fixup' to create fixup commits, then apply them with 'git rebase -i' just before merging11:34
LeMike joined11:34
bodom joined11:35
letharion joined11:35
solofight left11:35
pandeiro joined11:36
BadDesign left11:37
polymar joined11:37
tarkus is there a way to mark a remote as read-only, so i woudn't push something there accidently11:37
canton7 tarkus, something like git config remote.origin.pushurl "Don't push here your oaf"11:39
s/your/you11:39
i42n left11:41
mmc1 joined11:43
und3f left11:45
BadDesign joined11:45
cannonball joined11:45
Chuwiey joined11:45
logik-bomb joined11:46
adamben left11:47
thierryp joined11:47
Tegi_ joined11:47
donri joined11:48
_iori_ left11:48
Tegi left11:49
logik-bomb Say I created a local/branch from my remote/master. That master got changed several times. How do I update my local/branch? Do I cut a new one and merge both (brach+master) or do I merge master into my branch?11:49
ahferroin7 joined11:49
Sajbar logik-bomb: fetch from remote and merge master into your branch11:50
canton7 you can update your local master from origin/master and then merge your local master into your local branch, or just merge origin/master into your local branch11:50
dr_lepper left11:51
logik-bomb will it create any problems when merging that branch into local/master ?11:51
once the work is finished..11:51
?11:51
canton7 nope11:51
thierryp left11:52
marhaban left11:52
logik-bomb thanks for your help guys11:52
ehsan left11:54
aruiz joined11:55
mjau^ left11:58
dr_lepper joined11:58
dr_lepper left11:58
dr_lepper joined11:59
Lord_DeathMatch left12:00
und3f joined12:01
quazimodo left12:01
chimay left12:02
Lord_DeathMatch joined12:02
mikecmpbll left12:03
mikecmpbll joined12:04
keller left12:05
LeMike left12:06
Sander^work How can I track changes to a mysql database with git?12:06
nwest joined12:06
arex\ http://i.imgur.com/H8zbT.png12:07
Sander^work Could I just do a dump every day, and add it automaticly to the repository?12:07
cmn very badly12:07
if you want backups, use a backup software12:07
if you need versioning in your data, use the database for that12:07
Sander^work Ok.. What I really want is to track development of changes to the structure12:08
cmn that's something completely different12:08
you can track the schema, but you'll also need to track the migrations12:09
alextheger joined12:09
Lord_DeathMatch left12:10
Lord_DeathMatch joined12:10
alextheger left12:11
alunduil left12:11
domguard left12:12
geekbri joined12:12
kcj left12:13
deffrag left12:13
sangi left12:13
marthinal left12:17
glennpratt joined12:17
arkiver joined12:18
flippo joined12:19
antihero CRAP12:19
how do I completely remove all traces of a file from a rep12:20
I accidentally checked in a file with passwords in it12:20
Sajbar branch-filter12:20
CareBear\ man git filter-branch12:20
gitinfo the git-filter-branch manpage is available at http://git-scm.com/docs/git-filter-branch.html12:20
jcao219 joined12:21
LeMike joined12:21
totte left12:23
GFLJay joined12:23
jargon- left12:24
Lord_DeathMatch left12:24
skyf joined12:24
bartek joined12:25
keller joined12:27
RJ3000_ joined12:27
pretty_f_ joined12:28
pretty_function left12:28
TheJH joined12:28
gusnan joined12:29
TeckniX joined12:29
juvenal left12:31
cakehero joined12:35
jcao219 left12:36
mgaunard joined12:36
mgaunard how can I find how old a branch is?12:36
arex\ Anyone doing feature branching + continuous integration?12:38
cmn mgaunard: you start by defining what age means12:38
mgaunard arex\: not really, I'm setting up the tester by hand whenever there is a new interesting branch to test, but I could be interested in automated solution12:39
cmn: I'd like to know the date a remote branch was first created.12:39
cmn there is no way to know for sure12:39
partly because "created" can also have different meanings12:40
do you mean when the root commit was created, when it first diverged from its base branch, when it was first uploaded to the server...12:40
mgaunard either would do12:40
zhouxiukun left12:41
cmn those can be very different times12:41
mgaunard not that different in my case12:42
mikecmpbll left12:42
marhaban joined12:42
cmn git log --format=%aD branch | head -n 1 should show you the date of the root commit12:42
mgaunard but I'd be happy to have to commands to find out both12:42
cmn both of what? I gave three different dates12:42
mgaunard the above command gives the date of the last commit.12:43
cmn --reverse12:43
mgaunard tail -n 1 works too12:43
cmn sure12:44
BadDesign left12:44
mgaunard this seems to be the root commit of the whole repository, not the first commit on the branch12:44
cmn there is no such thing12:45
and if it sounds like you don't know what a branch is12:45
Lord_DeathMatch joined12:45
mgaunard what you call "when it first diverged" I guess12:45
cmn for that you'd need to parse --graph or the parents12:45
well, if you know the base branch, you can just hide it with ^basebranch12:46
if you don't, you'll need to figure it out by parsing the output of log12:47
j0ran left12:47
anddam joined12:47
LeMike left12:47
mjt there's also git merge-base12:48
cmn which you then have to figure out12:48
mgaunard I know the base branch12:48
anddam I'm using 'git remote set-url origin my_new_url my_old_url' to change my fetch url (from https to ssh) but I get "warning: remote.origin.url has multiple values" instead12:49
and Fetch URL value doesn't change on origin, what am I doing wrong?12:49
I'm following syntax, from what I can see12:49
cmn you did12:49
it's not this command12:49
at some point, you ran some command that transformed the url into a multivar12:50
mgaunard cmn: how do I hide with ^basebranch? git log branch^basebranch doesn't work, I don't really know the syntax12:50
maleknet left12:50
cmn mgaunard: see man gitrevisions12:50
gitinfo mgaunard: the gitrevisions manpage is available at http://git-scm.com/docs/gitrevisions.html12:50
mgaunard cmn: wouldn't it be simpler to just tell me if you know the right command?12:51
RJ3000_ left12:51
cmn no12:51
mikecmpbll joined12:52
mgaunard well I don't see how the manual helps, it's only possible to specify one revision to git log, not multiple ones12:52
so I don't know how your filtering is supposed to work12:52
anddam cmn: basically I cloned a repo, then forked it on github so I changed my fetch and push url to my fork using https scheme, now I realize I do want ssh scheme12:52
mgaunard or maybe you meant specifying a starting and end revision, I see12:53
not what I'd call filtering12:53
anddam cmn: so possibly in the first change I inadvertently changed the url to multivar12:54
quazimodo joined12:55
anddam cmn: I see in .git/config there are multiple entries for url key in remote origin stanza, I can delete them from here but how would I deal with such an issue from the cli?12:55
just for the sake of knowledge12:55
nvm12:56
TIAS git remote set-url origin --delete12:57
Silex left12:57
mikepack joined12:57
anddam now 'git remote show origin' shows the URLs I want12:57
thanks12:57
anddam left12:57
sontek joined12:57
Silex joined12:57
Silex left12:57
sontek if I tried to merge, it had conflicts, and I started trying to merge and realized it was going to be more work than it was worth, is there a way to just reset to what the other user submitted?12:58
and then I'll just re-add my changes manually12:58
cmn you wouldn't call removing uninteresting data from the output filtering?12:58
madsy left12:59
Silex joined12:59
bodom left13:01
masak sontek: git merge --abort13:03
sontek: and then something with git merge -s theirs13:03
ReekenX joined13:04
roychri joined13:05
masak hm, is there a 'theirs' merge strategy? I know there is an 'ours' merge strategy, but I don't find any indication that there's a 'theirs' one. should be, though.13:05
bartek left13:06
mhauri left13:06
sontek There is an octopus strategy13:06
;)13:06
I don't see a theirs13:06
talexb masak, Yes, there is a 'theirs' merge strategy. Look at the man page.13:06
masak talexb: I did. it only talks about the 'theirs' sub-strategy of *recursive* merge.13:07
alunduil joined13:07
freeed joined13:07
_ikke_ masak: there are two different things13:07
masak: You have a ours merge strategy13:07
talexb masak, Oops -- I mis-read your question, sorry.13:07
sontek Available strategies are: octopus ours recursive resolve subtree.13:07
_ikke_ masak: But you also have recursive strategoy in ours / theirs mode13:07
sontek Those are the only strategies I see13:08
_ikke_ sontek: Look under recursive13:08
masak*13:08
talexb Yes, as _ikke_ says, it's recursive / theirs that I'm thinking og.13:08
_ikke_ masak: But it operates slightly different then orus13:08
alunduil left13:08
ehsan joined13:08
charon "slightly"? o.O13:08
_ikke_ understatement13:09
they're two different things13:09
Axsuul left13:09
alunduil joined13:09
_ikke_ ours strategy just ignores any changes from theirs. While recursive ours only select ours when there is a conflict13:09
tsdh left13:09
charon nods13:09
masak right.13:09
charon masak: there is no '-s theirs' because invaribly the people asking for it should use a reset instread13:10
masak why isn't there a 'theirs' merge strategy, to mirror 'ours'?13:10
ah!13:10
thanks!13:10
sontek So, if I have a single file that didn't merge cleanly and just want to take theirs I use recursive theirs?13:10
ReekenX left13:10
_ikke_ sontek: That only select theirs when a conflict happens13:10
project2501b left13:10
ReekenX joined13:11
_ikke_ sontek: So the result is something completely new13:11
jargon- joined13:11
sontek Yeah, I don't care about my changes, they were very minimal, it doesn't even make sense that they conflict13:11
shoky joined13:11
sontek but the resulting merge file is way to crazy to even try13:11
I modified the very top line (removed it) and that shift seems to have confused git13:11
slavka`2 joined13:12
sontek so I just want to take their changes and then I'll add my few little things back13:12
cilly joined13:12
gerryvdm_mbp left13:13
flippo left13:13
scelis joined13:13
slavka` left13:13
dv310p3r joined13:13
macabre joined13:13
mikepack left13:13
gerryvdm_mbp joined13:13
gerryvdm_mbp left13:13
gerryvdm_mbp joined13:13
shoky left13:14
anddam joined13:15
mhauri joined13:15
fbroasca left13:16
anddam I have file aDir/aFile in branch master, committed, I create branch newBranch, and mv aDir/aFile to newDir/aFile, then commit this to newBranch13:16
genesis http://www.pasteall.org/35409/diff someone to review this little patch quickly ? :)13:16
charon genesis: just send it to the list like everyone else? :)13:17
anddam when I switch to branch master aFile is in aDir, as expected, but newDir is there too13:17
anddam oopses13:17
Womkes left13:17
marhaban left13:17
anddam I put another file in newDir, so it's correct newDir is still there13:18
RaceCondition left13:19
juvenal joined13:19
RaceCondition joined13:20
scelis left13:20
AaronMT joined13:20
pretty_f_ left13:20
chuckharmston joined13:21
setmeaway left13:21
ReekenX left13:21
Womkes joined13:22
Womkes left13:22
Womkes joined13:22
RaceCondishun joined13:22
scarlisle joined13:23
ehsan left13:23
Esa_ left13:24
RaceCondition left13:24
RaceCondishunRaceCondition13:24
rapsys_ joined13:25
sontek Is there a way to get a vimdiff view of a single file thats conflicting?13:27
Sander^work left13:27
TheJH left13:27
rapsys_ left13:28
_ikke_ sontek: git mergetool13:28
?13:28
glennpratt left13:29
rapsys joined13:29
OOPMan left13:29
rapsys hi13:29
chisler joined13:29
rapsys i am looking for a reloable way to update a git clone and fetch tags13:29
whaley joined13:29
_ikke_ what?13:29
FauxFaux What's a "reloable"?13:29
rapsys is "git fetch --tags" enough to get all tags and modification from origin repository ?13:30
_ikke_ reliable I guess13:30
rapsys s/reloable/reliable/g13:30
sry13:30
chrisgeorge joined13:30
runaway joined13:30
talexb rapsys, If you've cloned the repo, git branch -r should show you all of the remote branches.13:30
klj613 joined13:30
rapsys talexb: i already use that for branches13:30
yatiohi joined13:31
rapsys but i need to get the tags localy13:31
cagedwisdom left13:31
klj613 is it possible to specify a branch whilst `git log`? i dont want to checkout a different branch just to check log?13:31
masak klj613: yes.13:31
sontek _ikke_: thanks, thats what I was lucking for, still doesn't help me figure out what git thinks happened with this merge13:32
talexb rapsys, how about git ls-remote --tags13:32
_ikke_ sontek: git doesn't think anything happened13:32
canton7 klj613, 'git log <branch>' ?13:33
rapsys talexb: interesting, looking onto it13:34
talexb rapsys, Google is your friend. ;)13:34
gfontenot joined13:34
danielfi_ joined13:35
rapsys i am working on a deploy script, and after is a git checkout (tag|branch) enough to get localy all the diff localy ?13:35
ReekenX joined13:35
tplaner_ joined13:35
rapsys my goal is to 1 (check if rev/branch exists) and switch to it localy after13:36
sontek yeah, I added the 1 line back that I removed and the merge went cleanly13:36
trungqtran joined13:36
sontek I think it was the whitespace that was confusing git13:36
RaceCondition left13:36
RaceCondition joined13:37
rapsys talexb: i already looked on google but didn't get all i was looking for sadly :'(13:37
danielfilho left13:37
Davey joined13:37
talexb rapsys, You chould just do git checkout $branchThatMayNotExist and see if the operation succeeded.13:38
sebrock left13:38
Lord_DeathMatch left13:40
tarkus how can i create an empty branch (without any files inside)?13:40
Lord_DeathMatch joined13:40
tarkus sort of deattached from the master branch13:40
canton7 tarkus, checkout --orphan13:40
tarkus canton7 thanks13:41
then i want to attach remote repo to this branch, make pull request and make baseless merge to the main branch..13:41
AlbireoX joined13:42
les_sylvains joined13:43
talexb tarkus, now it sounds like you want to git remote add other $otherRepo and then merge other into your current repo.13:43
stewbydoo joined13:43
bartek joined13:44
dvide joined13:44
bfgun left13:45
tsdh joined13:46
Psy-Q joined13:46
tarkus talexb yep, i tried this route.. pulling files from a `base` repo.. but this overrides my local changes, didn't work as a merge.. i'm thinking trying creating `base` branch with `base` repository attached to it, pull into this branch, then merge base into the master13:46
glennpratt joined13:46
gitinfo set mode: +v13:47
jrajav joined13:47
thierryp joined13:47
dermatthias left13:48
xiangfu left13:48
errr left13:48
pppaul joined13:48
pppaul left13:48
shankarcabus joined13:49
pppaul joined13:49
pppaul left13:49
adamben joined13:49
Psy-Q after an automatic merge, i can no longer clone my repository. the master branch can't be checked out ("nonexistant object ....") but the strange thing is that the object exists!13:49
https://gist.github.com/3756034 <- here's a gist of the attempted clone on a remote machine, and ls -l of the object on the server hosting the git repo13:49
pppaul joined13:49
pppaul left13:50
bfgun joined13:50
pppaul joined13:50
jaseemabid left13:50
tarkus What if you have a `base` project in a dedicated repo, clone it and commit/push changes into a dedicate repo.. then if `base` repo is updated you want to merge those changes into your project.. how do you do it? Just adding `base` and `origin` repos? pulling from base, and pushing\pulling to origin..13:51
jackh joined13:51
hellopat joined13:51
tarkus ..so that you could use your `starter kit` project as a base for all other projects and at the same time, being able update `starter kit` and merge those changes into your current projects if needed13:52
thierryp left13:52
canton7 Psy-Q, well, for one a loose object wouldn't be transferred, so the object's missing from the packfile which was sent to the client. why? don't know. maybe try repacking everything?13:52
(on the remote side, that is)13:52
setmeaway joined13:53
canton7 and a git fsck never goes amis13:53
chisler left13:53
kermit joined13:53
chisler joined13:54
Psy-Q canton7: so i can do that in a bare repo? (the .git directory on the server)?13:55
canton7 sure13:55
Psy-Q canton7: alright, i will try13:55
erichynds joined13:55
aller joined13:55
canton7 make sur eyou run commands as the gitolite user, or you'll end up with fooey file permissions (obvious, but some people forget)13:55
adamben left13:55
erichynds left13:56
madsy joined13:56
madsy left13:56
madsy joined13:56
Psy-Q canton7: thanks :) it found a bunch of dangling commits. i will see if the clone works now13:57
kvanderw joined13:57
canton7 dangling commits aren't a problem13:57
Psy-Q canton7: damn, it didn't find anything else13:58
canton7: i'll see about repacking13:58
soee left13:58
aller Hello. I have somehow corrupted my repo (maybe via amend): I can see MYTAG in e.g. SourceTree GUI list of tags. However, clicking the tag gives nothing (while it should give list of affected). On the other hand, doing git diff MYTAG is working.13:59
medwards left13:59
chisler left14:01
chisler joined14:01
logik-bomb left14:02
medwards joined14:02
stopbit joined14:02
axl_ joined14:02
polymar left14:04
maqr joined14:04
Gx4xx left14:04
Psy-Q canton7: do you think repacking on the bare repo on the server is safe as well? will try it on a backup first, but just to know (this is the first time in 3 years that i had issues with git, that's why i'm not quite sure how to handle stuff)14:05
Gx4 joined14:05
aller In other words, "git tag" lists the tag, but e.g. "git log --simplify-by-decoration --decorate" does not show the tag14:05
adamben joined14:05
canton7 Psy-Q, yeah, no problem14:06
codeM0nK3Y joined14:06
Psy-Q hmm, it's still the same issue14:06
canton7 aller, that log command will only show tags which point to commits in the current branch14:06
johnny_rose left14:06
dmorgan left14:07
canton7 Psy-Q, hmm. I'm afraid I'm out of my depth here. Either wait until someone with more knowledge of git's packing process turns up, or post to the mailing list14:07
Psy-Q the object still exists, too. and if i update the branch on a machine where i previously cloned the repo, it works14:07
just new clones don't work14:07
canton7: alright, thanks14:07
canton7 Psy-Q, just see whether you received *any* objects?14:07
aller canton7: AFAIK, the "ghost tag" that I am observing, should be on current branch. Is there some way to check at which branch is the problematic tag?14:08
daviddoria joined14:08
pppaul left14:08
adamben left14:08
canton7 this is rining a very faint bell... I think it was to do with old git + http? You're cloning over ssh aren't you?14:08
Psy-Q canton7: it doesn't even create the target directory, and "receiving objects" gets to 100%14:08
daviddoria when using git mergetool - what is the goal? To get the LOCAL file looking how you want it to?14:08
Psy-Q canton7: yes, over ssh with the plain old gitolite default setup on debian14:09
canton7 Psy-Q, yeah a clone populates .git/, and then checks out the selected commit to populate the working copy14:09
Psy-Q canton7: ah! i'll look for .git14:09
canton7 so I'm asking you to check whether the contents of .git are sensible14:09
adamben joined14:09
adamben left14:10
canton7 aller, git branch --contains <tagname>14:10
Psy-Q i think git clone removes the directory when it gets to that fatal error, so i'll have to ls -l while it's cloning and see if i can catch the moment when the objects come down the line :(14:10
pppaul joined14:10
hobodave left14:10
ThePendulum joined14:11
ehsan joined14:11
canton7 Psy-Q, or, it was never created, which explains the error...14:11
ThePendulum Hey. How do I set my project back to a certain commit?14:12
canton7 (although it should moan about something else... so we're still in bugland)14:12
lb left14:12
johnny_rose joined14:12
fbroasca joined14:12
lb joined14:12
lb left14:12
lb joined14:12
Psy-Q canton7: it might never have been created, i added a list of files that appear during the clone to this gist: https://gist.github.com/375603414:12
canton7 ThePendulum, define 'set back'. Rewrite history so the commits after that point never happened? Take a read-only look at a past commit? Create a new commit that undoes changes since a given commit?14:12
ph^ left14:12
aller canton7: git tag | grep MYTAG -> MYTAG; git branch --contains MYTAG -> ""14:13
flaguy48 joined14:14
canton7 aller, so looks like no branches reference the commit you're looking at. 'git log --oneline --decorate --graph MYTAG --branches'14:14
FernandoBasso joined14:14
jrajav left14:14
macabre left14:15
pfFred joined14:15
canton7 aller, if you rewrote the commit which the tag points to at any point, the tag won't have been rewritten14:16
Psy-Q hrmf. refs/heads/master points to the same object still, and that object still really exists in the repo. and also on any clients that have cloned the repo before14:16
pfFredd left14:16
pfFred left14:16
aller canton7: as far as I understand: git commit ; git tag (set up a tag on last commit) ; git commit / amend the last commit -> "ghost" tag ?14:17
canton7 Psy-Q, in the remote repo, 'git cat-file -p <object sha>'14:17
aller, the tag will still point to the un-amended commit14:18
runaway left14:18
canton7 tags are supposed to be immutable and unchanging. they're not automatically rewritten.14:18
that said, if two branches point to the same commit, and you rewriten one of them, the other remains unchanged14:18
runaway joined14:18
griotspeak joined14:19
marthinal joined14:19
tgummerer left14:20
Psy-Q canton7: works fine, it shows the last commit14:20
tgummerer joined14:20
aller canton7: result of the command you gave me: http://i.imgur.com/wlNEg.png14:21
brasom left14:21
aller so there is that "side path" pointing to OPTI_23, which is dangling14:22
Destos joined14:22
brasom joined14:22
dilfridge joined14:22
cooloney left14:22
marhaban joined14:22
ThomasLocke left14:22
aller canton7: how should I fix the repo? I also pushed the tag to origin. But I have direct acces to it14:23
canton7 aller, delete + re-create the tag?14:24
aller OK. Thanks14:26
bartek left14:27
ThePendulum canton7: I'd like to get to that commit like I never made any changes afterwards14:27
mabrand joined14:28
macabre joined14:28
canton7 ThePendulum, have you pushed te history following that commit anywhere public?14:28
ThePendulum canton7: It's on bitbucket14:28
canton7 might anyone you know/like have fetched that history?14:28
juvenal left14:29
ThePendulum canton7: Probably not, it's a personal project. If they have, I don't feel bothered by it.14:29
canton7 ThePendulum, cool! git checkout thebranch; git reset --hard thenewhead; git push -f; Warnings about nuking uncommitted stuff etc etc apply14:29
mva joined14:30
sbodo joined14:30
canton7 (the real risk is "might people with commit access have fetched that to-be-rewritten history?", as they have the power to royally screw up your repo by accident)14:30
mva hi there! can somebody remind me link to "don't use git for websites" article?14:31
runaway_ joined14:31
ThePendulum The new head is the rev code that looks like 983244c59304, right?14:31
canton7 !deploy maybe?14:31
gitinfo Git is not a deployment tool. You can build one around it for simple environments. http://sitaramc.github.com/the-list-and-irc/deploy.html14:31
canton7 ThePendulum, sure, looks aright14:31
mva canton7: not exatly14:32
Psy-Q someone here claims it could be because someone checked into master with a newer git version than the gitolite server has14:32
jaseemabid joined14:32
Psy-Q but i can't just go and upgrade git on the server :(14:32
piggybox left14:33
runaway_ left14:33
ThePendulum canton7: That worked, thanks a lot! Haven't used git in a while, apparently14:33
canton7 unless the server's git is utterly ancient... ooh, jgit problems maybe?14:33
aller left14:33
runaway_ joined14:33
canton7 ThePendulum, in general, !fixup is a very good resource14:33
gitinfo ThePendulum: So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history!14:33
swair left14:33
ThePendulum Thanks, I'll look into that14:33
arkiver left14:33
ThePendulum After eating my grandfather, brb14:33
pdelvo|afkpdelvo14:33
Psy-Q canton7: i'm trying just with plain git from the git-core debian package, 1.7.10.4 on the client where it doesn't work, 1.7.2.5 on the server14:33
i can try getting 1.7.10.4 on the server14:34
jaseemabid left14:34
ThePendulum *eating cake with my grandfather, my god.14:34
gtrak joined14:34
canton7 Psy-Q, I'm not convinced that'll be the problem. 1.7.2 isn't *ancient*14:34
jazz264 joined14:34
jazz264jaseemabid14:34
mva anyway, thanks14:34
mva left14:34
TheJH joined14:35
canton7 mva, hmm can't think of the link you might be thinking of then. What else did it say?14:35
ReekenX left14:35
canton7 damn, missed him14:35
runaway left14:35
dr_lepper left14:35
bartek joined14:35
pppaul left14:36
derpops joined14:36
und3f left14:36
shane_ joined14:37
papegaaij left14:38
tchan joined14:39
Psy-Q canton7: you won't believe this, but upgrading the server to 1.7.10.4 worked14:40
i had to pull in a package from wheezy/testing for that :(14:40
but it makes it work on all clients, old and new (!!)14:40
walters joined14:40
tchan left14:41
piggybox joined14:41
Psy-Q oh. no, now it's broken again14:42
RaceCondition left14:42
Psy-Q it worked to clone once, but the other virgin machines still can't clone14:43
RaceCondition joined14:43
canton7 ah, so not fixed?14:43
Psy-Q no :(14:44
i wonder why exactly one clone worked14:44
canton7 I'd definitely go to the list with this14:44
Psy-Q okay14:44
gavin_huang left14:47
ahferroin7 see ya14:50
ahferroin7 left14:50
irqq left14:50
apok joined14:50
charon Psy-Q: random idea: are you sure the user who does the clone has sufficient permissions (also check the dirs!) to read the object?14:51
danielfi_ left14:51
charon (apologies if canton7 brought this up already, i'm too lazy to read all of the backlog)14:51
beautifulmind left14:51
mikecmpbll left14:51
irqq joined14:52
mikecmpbll joined14:52
Psy-Q charon: well, the file is owned by the gitolite user and all interactions with the repo are over ssh as the gitolite user14:52
charon: i'm not quite sure how gitolite works, it seems to give itself only read (no write) on all the repositories, but so far this has worked and is the same for all other repositories (which work fine)14:52
charon Psy-Q: ah, ok.14:53
Psy-Q: actually, git itself makes the object files read-only, since no two objects have the same hash (unless you break sha1)14:53
Psy-Q i think gitolite does do some voodoo magic with those repos. we never had this issue on github or on plain ssh servers without gitolite14:53
charon: ah, right!14:54
rchavik left14:54
charon oh well, i'll go back to lurking. report it to the list :)14:54
duckxx joined14:54
Psy-Q am writing a post now :)14:55
Shadeness left14:55
the_cybersphinx joined14:55
brianjlandau joined14:56
brianjlandau left14:56
brianjlandau joined14:57
teotwaki left14:57
gdmfsob left14:57
brianjlandau left14:58
kerrick joined14:58
charon i guess it would also help if you could strace the process launched on the remote end14:58
sitaram Psy-Q: gitolite does NOTHING with permissions except set umask to something strict14:58
file system permissions I mean14:58
caddoo left14:59
arkiver joined14:59
charon Psy-Q: perhaps you can proceed like this14:59
whitman left15:00
erichynds joined15:01
glennpratt left15:01
charon bah, why is this so hard to intercept!15:02
senny left15:02
glennpratt joined15:02
lb left15:03
SirCmpwnSirCmpwn_15:04
zastern joined15:04
hobodave joined15:05
senny joined15:05
johnny_rose left15:05
johnny_rose joined15:05
Lord_DeathMatch left15:06
johnny_rose left15:06
johnny_rose joined15:06
tsdh left15:06
Psy-Q i'd have to trap the git that ssh invokes while cloning, get the pid and strace that, no? :|15:06
the clone only takes a few seconds, i don't think i can be fast enough15:07
i could slow down the bandwidth on the client and make it take longer :)15:07
fbroasca left15:08
Psy-Q there are 5 processes that are started when i clone, git shell, git upload-pack, git pack-objects being the possible culprits15:08
i'll try to strace the mother of those guys15:09
charon Psy-Q: i think i have an angle15:11
freeed left15:11
charon (echo -e '0067want SHA1_OF_MASTER multi_ack_detailed side-band-64k thin-pack ofs-delta\n00000009done'; cat) | strace -f -o upload-pack.trace git upload-pack . >/dev/null15:12
you can even leave out the cat15:12
fly9 joined15:12
charon i had that for debugging15:12
then search for bits of the sha1 in upload-pack.trace15:12
Psy-Q wow15:12
charon with any luck, it will tell you that it tried to open the xx/yyyyy... file15:12
perhaps we can learn from the error on that open15:13
mhauri left15:13
charon (you'd run that on the server side obviously)15:13
medwards left15:14
cbreak-work left15:14
freeed joined15:14
ph^ joined15:15
soman joined15:15
apok left15:15
gitinfo set mode: +v15:15
medwards joined15:16
apok joined15:16
etcetera joined15:16
soman Hi all. What does next string '@@ -349,9 +350,8 @@' mean? I see it in diff15:16
e66 joined15:16
Psy-Q you're going to hate me for this, but after that one successful clone after i upgraded the client and a new commit and push from that client, the object HEAD is pointing at really does not exist15:16
FauxFaux soman: relating to like 394 for 9 lines in the left file..15:17
kevwil joined15:17
charon Psy-Q: heh. now how did you manage that? :)15:18
Synthead joined15:18
Psy-Q charon: i have no clue :) but now i added a blank line to a file, pushed that, and now both the *previous* non-existing object exists15:18
and the new object created by the blank-line push exists as well. though clones don't work. but now i can try that debug trick at least15:18
skorgon left15:19
charon something is very wonky there15:19
how can objects just disappear?15:19
Psy-Q charon: immediately after running your debug command, i get: "fatal: git upload-pack: not our ref b2820d5b67afdc400e47d5bf03d2cb91df18f779"15:20
charon: it continues running, however15:20
the object does exist, though: objects/b2/820d5b67afdc400e47d5bf03d2cb91df18f77915:21
charon Psy-Q: that's the message you get if that object is not pointed at by any ref it advertises. check the sha1, check whether it is in the list of sha1s offered up when you simply say 'git upload-pack .'15:21
and finally dig in the strace output file for the filename15:21
Psy-Q okay15:21
charon (or perhaps just the 820d5b67 part to make sure you can find it)15:21
arkiver left15:22
beneggett joined15:22
soman left15:22
flijten left15:22
ReekenX joined15:23
Psy-Q charon: when i do "git upload-pack ." it does not show that sha1 for refs/heads/master. all the sha1's look unfamiliar, actually15:23
charon what does it offer for HEAD?15:24
are you in the correct directory? :)15:24
Psy-Q also, upload-pack stalls after the 10th or 11th ref, prints "0000" and leaves the cursor there -- how long should this take on a 400 MB repo?15:24
bartek left15:24
charon Psy-Q: it's waiting for input, just hit ctrl-d since you don't plan on actually getting anything from it15:24
defts left15:24
charon Psy-Q: it advertises its capabilities and all of its refs, and waits for you to say which ones you want15:25
Psy-Q ooooh, okay15:25
defts joined15:25
bartek joined15:26
ph^ left15:26
arkiver joined15:26
SirCmpwn joined15:26
Psy-Q HEAD from 'git upload-pack .' points at aa293a2f2dd8, which really is the culprit: "Trying to write ref refs/heads/master with nonexistant object aa293a2f2dd897c8fd8dabbe17417cc42bfdf4f5"15:27
sorry, someone pushed to master while i was doing this and i copied the ref freshly after that, that's why the shas were confusing for a second15:27
aselder joined15:28
charon now i'm confused15:28
Psy-Q doing that again with the debug thing15:28
charon can you paste some of this? do HEAD and master disagree, or was that just a momentary fluke? why are people pushing while you're debugging this?15:28
FernandoBasso left15:29
ph^ joined15:29
Psy-Q charon: i'm coping from foo.git to foo.git.bak and working inside foo.git.bak, and apparently i'd pulled (to see if the error on pull still exists) and of course that sha no longer agrees with what's in the .bak repo15:29
i'll pull locally from now on15:29
kenperkins joined15:29
ph^ left15:29
charon pull?!15:29
!pull15:29
gitinfo pull=fetch+merge (or with flags/config also fetch+rebase). It is thus *not* the opposite of push in any sense. A good article that explains the difference between fetch and pull: http://longair.net/blog/2009/04/16/git-fetch-and-merge/15:29
Psy-Q the debug with the strace is still running, can i kill it (if it's waiting for input)?15:29
argh! cloned15:30
charon Psy-Q: hit ctrl-d15:30
Psy-Q damn15:30
serbang joined15:30
ph^ joined15:30
Psy-Q ah, nice15:30
i can give the strace15:30
ph^ left15:30
charon it'll be a bit big, maybe you can cut off where it starts writing the pack15:30
should be easy to see15:30
_Qman left15:31
Psy-Q https://gist.github.com/3756628 <-- this is grep a2f2dd897c8f upload-pack.trace15:31
_iron joined15:31
freeed left15:31
slavka` joined15:31
jbub left15:31
i42n joined15:32
ph^ joined15:32
ph^ left15:32
charon from a run that bailed, complaining that aa293a2f2dd8 does not exist?15:32
ph^ joined15:33
ph^ left15:33
Psy-Q charon: ooh, i need to do the upload-pack bit on the *client*? because only the clients over ssh complain. if i do any of this in the repo on the server, it works. cloning locally on the server works as well15:33
tchan joined15:33
charon Psy-Q: hmm15:33
PapaSierra joined15:33
charon no, on the server.15:33
but maybe it's not upload-pack that has a problem15:33
Psy-Q bleh, i can't do it on the client since i can't clone there in the first place, so the dir to do this in never exists15:34
:)15:34
serbang left15:34
Psy-Q i wonder what would happen if i copied my working clone to another machine and did a pull there15:34
charon get pull out of your head :p15:34
there's more to clone than the pack, so maybe the resulting pack doesn't even have the object or some such15:34
and it might fail at the ref-update stage or at the checkout stage15:35
canton7 Psy-Q, cloning locally over file:// or with a relative path?15:35
thirdknife left15:35
charon oooh, brilliant.15:35
ph^ joined15:35
Psy-Q canton7: ah, let me try that! i cloned locally using git clone /foo/bar.git /tmp/blah15:35
charon yeah, clone locally over file://, see if that reproduces15:35
ph^ left15:35
babilen left15:35
slavka`2 left15:35
canton7 is still better there's a corrupted pre-generated pack which doesn't contain that object (which does exist loose)15:35
canton7 *betting15:35
babilen joined15:35
canton7 ..and which claims it does contain that object15:36
ph^ joined15:36
JohnBat26 left15:36
canton7 (although my knowledge of packs is sketchy at best)15:36
charon i like that theory15:36
ph^ left15:36
Psy-Q cloning with file:/// on the server worked fine15:36
that even rhymes15:36
canton7 damn15:36
amcsi_work left15:37
charon Psy-Q: try splitting the clone in parts on the client. roughly: mkdir foo; cd foo; git init; git remote add origin url-to-foo; git fetch foo # let's skip checkout for now15:37
canton7 actually, does file:// transfer a pack or loose objects? I know it doesn't hardlink, but..15:37
Psy-Q some people on the web claim to delete master15:37
charon canton7: file:// spawns upload-pack15:37
canton7 charon, aha cool15:37
charon just not over ssh15:37
arvind_khadri joined15:38
charon Psy-Q: if all of those parts worked, run 'git fsck' etc. in it15:38
RaceCondition left15:38
Ecesis joined15:38
freeed joined15:38
charon wait, the last fetch should be 'git fetch origin'15:38
WhereIsMySpoon joined15:38
RaceCondition joined15:38
dcs_ joined15:39
Psy-Q https://gist.github.com/3756628 <-- added output of git fetch origin after that15:39
it lists the branches, gets to master, then fails15:39
charon aha15:39
canton7 Psy-Q, what if you clone the repo locally (which succeeds), then clone that clone over ssh?15:39
WhereIsMySpoon Hi, im trying to use git on windows and i get as far as git push -u origin master (after adding the git url and putty key in the remote(origin) settings) and it says no supported auth methods available (server sent: publickey)15:39
i know i have an ssh key for git for this comp,i just set it up15:40
apok left15:40
WhereIsMySpoon just in case the old one broke for some mysterious reason15:40
Psy-Q canton7: hmm, it's a bit tricky to do that, i would have to add it to gitolite etc. and give the appropriate permissions (we don't have a test copy of the gitolite server to play with right now)15:40
torjus_ joined15:40
WhereIsMySpoon im using tortoisegit on windows fyi15:40
but atm i just resorted to simple git commands via git bash15:40
canton7 Psy-Q, how about cloning over "raw" ssh, rather than gitolite? Is that possible?15:40
griotspeak left15:41
computerdruid WhereIsMySpoon: how did you set up your ssh key? what file is it in?15:41
jackh left15:41
FrenkyNet left15:41
Psy-Q canton7: i'll see if i can stuff that repo into a plain user dir, that should make it ssh'able15:41
charon Psy-Q: can you run 'git verify-pack foo.idx' on all the objects/pack/*.idx in the server repo?15:41
beneggett left15:41
charon and also in the one that you just (unsuccessfully) fetched, if it left a pack index15:41
WhereIsMySpoon computerdruid: used puttygen, saved public and private key in a folder, added the private putty key to the origin of the folder and the ssh-rsa bit into git15:41
jdunck joined15:41
WhereIsMySpoon by origin of the folder i mean into the settings of origin in remote in tortoisegit settings15:42
canton7 Psy-Q, ^^ do that first, it'll be quicker and more informative than my suggestion15:42
WhereIsMySpoon, define "into git"15:42
Psy-Q canton7: ok15:42
WhereIsMySpoon canton7: github15:42
sorry15:42
computerdruid WhereIsMySpoon: try "ssh -i path/to/private/key [email@hidden.address] to see if authentication is working15:44
canton7 WhereIsMySpoon, you'll need an ssh-format private key for that. puttygen can export yout ppk in openssh format for you15:44
chuckf joined15:44
RaceCondition left15:44
charon canton7: i like your delta reuse theory, but then it seems weird that a local file:// fetch would succeed...15:44
canton7 charon, yeah, my heart sank when he said that worked15:45
WhereIsMySpoon permission denied, computerdruid15:45
Psy-Q canton7: cloning through plain ssh and gitolite both fail the same way with the 1.7.2.5 client, and both work with the 1.7.10.4 client15:45
canton7 Psy-Q, work more than once?15:45
Psy-Q canton7: ah, let me see15:45
canton7 and this is cloning the clone of the original repo?15:45
WhereIsMySpoon canton7: there are 3 options ssh1, ssh2 rsa and ssh2 dsa15:45
Psy-Q canton7: cloning over ssh with git clone [email@hidden.address]15:45
WhereIsMySpoon in puttygen15:46
canton7 WhereIsMySpoon, conversions -> export openSSH key?15:46
beneggett joined15:46
WhereIsMySpoon canton7: ive never had to do this before15:47
when did this become the norm15:47
canton7 WhereIsMySpoon, it isn't the norm. it's just required if you want to follow computerdruid's debugging suggestion15:47
runaway_ left15:48
canton7 an alternative is to fire up putty, point it at your private ppk key, and see if you can ssh [email@hidden.address]15:48
Psy-Q charon: no errors from git verify-pack15:48
thierryp joined15:48
sKeiths joined15:48
jjbohn joined15:48
Psy-Q at least i can reliably reproduce it on the 1.7.2.5 client15:48
scelis joined15:48
charon Psy-Q: not even on the client side after fetching?15:48
WhereIsMySpoon canton7: ah, just did it, permission denied again15:48
Psy-Q charon: aaah! hold on :)15:49
WhereIsMySpoon computerdruid: highlight so you know i just converted to openssh format and did your ssh -i thing and it still failed15:49
canton7 so. we have an object which exists on the remote but isn't transferred on clone. 1.7.2.5 always fails the clone, whereas 1.7.10 works once then fails? Cloning over local fs works for all versions, both relative and file:// ? Cloning a clone of the repo works over ssh for all versions? verify-pack and fsck report no errors15:49
Psy-Q charon: only one .idx file makes it to the client, and that one doesn't give errors from git verify-pack15:49
charon Psy-Q: now try actually looking for the object in that repo15:50
WhereIsMySpoon er wait hang on15:50
canton7 WhereIsMySpoon, throw -vvv into the mix15:50
charon Psy-Q: in fact git verify-pack -v foo.idx | grep sha1 should tell you if it's in the pack15:50
WhereIsMySpoon canton7: it pasted \'s into bash instead of /'s15:50
the ssh -i thing works15:50
canton7 hmm?15:50
WhereIsMySpoon hoiwever git push -u origin master still doesnt15:51
descention joined15:51
canton7 WhereIsMySpoon, git remote -v ?15:51
WhereIsMySpoon canton7: origin [email@hidden.address] (fetch)15:52
origin [email@hidden.address] (push)15:52
canton7 sensible15:52
so 'ssh -vvv [email@hidden.address] works?15:52
Psy-Q charon: verify-pack shows the object in the object on the 1.7.10.4 client where everything works, but not after the fetch on the 1.7.2.5 client15:52
canton7 ah, you passed -i15:52
Psy-Q s/in the object//g15:52
charon aha, so finally we got something15:52
canton7 WhereIsMySpoon, stick your ssh private key in ~/.ssh, and try the push again15:52
WhereIsMySpoon canton7: no it doesnt15:52
the -i thing does tho15:53
thierryp left15:53
WhereIsMySpoon canton7: im using windows15:53
where do i put it?15:53
users/me/.ssh15:53
?15:53
charon Psy-Q: now my next step would be tracing the conversation about what objects to send, but that'll be somewhat difficult thanks to ssh15:53
dege left15:53
canton7 WhereIsMySpoon, git hash will be able to tell you where it is. probably there, yes15:53
Synthead left15:53
WhereIsMySpoon canton7: ok moved there, git remote -v still doesnt work15:54
er, i mean ssh -vvv15:54
canton7 WhereIsMySpoon, oops, call it id_rsa too15:54
GFLJay left15:54
computerdruid canton7: does that work if it isn't actually an RSA key (even though it probably is)15:55
Psy-Q charon: hmmmm. well, i could get the ssh server to give some debug output if that's necessary, i guess. or can it be done with verbose output from the client side?15:55
WhereIsMySpoon canton7: no extension?15:55
john_anderson left15:55
RaceCondition joined15:55
canton7 computerdruid, nope, it's a guess :P15:55
computerdruid WhereIsMySpoon: no extension15:55
WhereIsMySpoon canton7: that auth'd15:55
john_anderson joined15:55
canton7 WhereIsMySpoon, correct. and like computerdruid said, if it's a dsa key, it should be called id_dsa15:55
WhereIsMySpoon, ok, so the sshe side works fine. it's the putty side only that's failing?15:55
WhereIsMySpoon canton7: however git push still doesnt work15:55
joephilly joined15:55
canton7 WhereIsMySpoon, what? How odd. Oh heck, git might be configured to use plink15:56
joephilly How can I stop a file from being tracked?... it's a DLL15:56
nickpresta joined15:56
canton7 joephilly, git rm --cached15:56
charon Psy-Q: in a pristine repo (start with a new one, up to fetch): GIT_TRACE_PACKET=3 git fetch origin 3>pkt-trace.dump15:56
WhereIsMySpoon canton7: ive used putty with another repo fine15:56
charon git has all these awesome debugging hooks that nobody knows about15:56
canton7 WhereIsMySpoon, echo $GIT_SSH15:56
joephilly canton7, do I need to run it on the particular file?15:56
WhereIsMySpoon canton7: C:\Program Files\TortoiseGit\bin\TortoisePlink.exe15:57
shruggar left15:57
canton7 WhereIsMySpoon, aha, so that's why the ssh is working but the push isn't. never mind, let's stick with putty15:57
charon Psy-Q: for now let's look at the start of that conversation, again until it starts sending the pack (or receiving, in this case)15:57
Erenss left15:57
canton7 WhereIsMySpoon, tortoisegit is definitely configured to look for the right ppk file?15:57
dzonder joined15:57
WhereIsMySpoon canton7: yes15:58
computerdruid sorry WhereIsMySpoon, I'm used to openssh, not Putty15:58
didn't mean to waste your time15:58
WhereIsMySpoon computerdruid: no worries15:58
computerdruid: should i not use openssh key then15:58
martinjlowm joined15:58
Davey left15:59
WhereIsMySpoon or does it not matter15:59
Psy-Q charon: pkt-trace.dump was empty. is it really 3 i have to redirect?15:59
computerdruid why did putty invent their own key format, anyway?15:59
arkiver left15:59
WhereIsMySpoon cause theyre mad balls15:59
computerdruid WhereIsMySpoon: I'm pretty sure either should work, they just have different configuration methods15:59
WhereIsMySpoon hm16:00
canton7: would it be easier if i set up a new folder for use with git and you guide me through all teh steps you think i should need to get it working on a repo?16:00
just in case you've forgotten something16:01
masak if git-cherry-pick didn't exist, what would be a way to emulate it?16:01
(for the simple case of cherry-picking one commit, say)16:01
wereHamster WhereIsMySpoon: wouldn't it be easier to use https instead of ssh?16:01
Psy-Q GIT_TRACE_PACKET doesn't seem to do anything, perhaps it doesn't exist on 1.7.2.516:01
WhereIsMySpoon wereHamster: er?16:01
canton7 WhereIsMySpoon, I barely know torgoisegit at all, so I won't be able to help with it. The bit that's failing is the auth, and you're convinced tortoisegit is correctly configured? Out of curiosity, load the key into pageant and try again16:01
Psy-Q it works on 1.7.10.416:01
osxorgate left16:02
rjmt_ left16:02
WhereIsMySpoon canton7: that worked16:02
steveoliver joined16:02
WhereIsMySpoon D:16:02
canton7 WhereIsMySpoon, so it's the tortoisegit configuration *alone* which is the problem16:03
WhereIsMySpoon sorta stupid i have to load it into 2 different things but whatevs16:03
tchan left16:03
canton7 WhereIsMySpoon, the pageant stuff is separate to the tortoisegit config16:03
WhereIsMySpoon oic16:03
tellone left16:03
WhereIsMySpoon one sec, brb16:03
chuckharmston left16:03
shruggar joined16:04
rjmt_ joined16:04
apok joined16:04
Psy-Q there are many many bugs still posted against debian's 1.7.2.5 package16:05
maybe it's just best if i tell all the devs to upgrade to 1.7.10.4 and things work again?16:05
perhaps this is one of those bugs16:05
WhereIsMySpoon canton7: back16:05
computerdruid Psy-Q: I haven't been following entirely, how easy is it to reproduce this problem?16:06
Psy-Q: is it something you could bisect to find out the cause?16:06
Psy-Q computerdruid: i don't know, it only happesn on one of our 12 repositories and "only" with the master branch. charon and canton7 have been trying to trace this for at least an hour already :)16:07
apok left16:07
mritz joined16:07
GFLJay joined16:07
gxk joined16:07
apok joined16:07
Psy-Q computerdruid: i think i can't reproduce it with just any repository, though (?)16:07
etcetera left16:07
nwest left16:07
charon Psy-Q: well, for the users upgrading is definitely best ;-) i'm just wondering if the bug was really fixed or only hidden16:07
computerdruid Psy-Q: but it's the client version that changes things, right? so you could bisect on the client?16:08
stopbit_ joined16:08
chuckharmston joined16:08
trungqtran left16:08
stopbit left16:08
computerdruid with that one repository that breaks them16:08
Psy-Q computerdruid: yeah, we've been stepping through those bits with charon16:08
WhereIsMySpoon canton7: you got any idea why tortoise git isnt reading this putty key file then?16:08
Psy-Q oh! i remember something canton7 said earlier16:08
WhereIsMySpoon i mean, i have it input in the settings16:08
Psy-Q to copy the repo to a machine that locally has 1.7.2.516:08
and see if that works to clone via file:/// on there16:08
canton7 WhereIsMySpoon, nope. I dumped tortoisegit when I started to properly learn git, as it was getting in the way16:08
etcetera joined16:08
canton7 Psy-Q, aah, the file:/// clone was with 1.7.10 ?16:08
WhereIsMySpoon canton7: ok ill see if theres a tgit channel16:09
canton7 WhereIsMySpoon, ok cool16:09
WhereIsMySpoon canton7: computerdruid thanks for the help16:09
s/:/,16:09
charon Psy-Q: but without the packet trace the only way i see to get at that conversation is writing a stub script that wraps around ssh on both ends, and dumps the conversation to files16:09
Psy-Q oh!16:10
charon Psy-Q: or an equivalent feature in ssh, but i doubt it exists16:10
ph^ joined16:10
tjadc left16:10
Psy-Q damn, then i followed your instructions wrong at that step. the file:/// breaks as well on 1.7.2.5 (!)16:10
canton7 Psy-Q, I see you've posted to git-users. In general the level of expertise on there is about on par with this channel, but with fewer people around. the main list, [email@hidden.address] is probably the best place to go16:10
mtlife` joined16:10
fornext left16:11
Psy-Q canton7: ah, okay :) misunderstood that, then16:11
canton7 yeah, sorry I should have specified which list16:11
Psy-Q but anyway! the repo also breaks locally with file:///, but not with a relative path16:11
which is good16:11
canton7 right! so the old theory can be resurrected16:11
GFLJay left16:12
Psy-Q i like it if things break reliably16:12
canton7 and it takes the blame off ssh :P16:12
Psy-Q so to reproduce the error, you need debian stable, git 1.7.2.5 and our repo :)16:12
Mantic0re joined16:12
devth joined16:12
computerdruid Psy-Q: is the repo publicly sharable?16:12
Psy-Q computerdruid: unfortunately, it's in our only non-FOSS project :(16:13
computerdruid Psy-Q: of course it is :P16:13
Psy-Q the FOSS projects are on github, which works perfectly :(16:13
scelis left16:13
canton7 Psy-Q, this is a bit tricky, but can you clone the broken repo with 1.7.10 (into a new bare repo), then clone that over file:/// with 1.7.2.5?16:13
Psy-Q canton7: can try!16:13
mtlife left16:14
canton7 Psy-Q, actually, thinking about it, that won't yeild as much info as I thought it would16:14
mtlife` left16:15
Psy-Q canton7: oh no, not at all, only that it *completely fixed the problem* (!)16:15
bfgun left16:15
canton7 oh. that's not what I was expecting. damn16:15
maletor joined16:15
canton7 what git version's running on the gitolite server?16:16
Psy-Q git clone --bare [email@hidden.address] blah.git <-- and then clone blah.git using file:/// on a host with 1.7.2.5 -- it works16:16
tchan joined16:16
Psy-Q 1.7.10.4 on the server, 1.7.2.5 on the affected clients16:16
canton7 right16:16
Psy-Q but hey -- shouldn't i just clone --bare using 1.7.10.4 and stick that back on the server?16:17
WhereIsMySpoon left16:17
Psy-Q it won't help trace the error of course16:17
charon yes, but do keep a broken copy16:17
canton7 Psy-Q, that was what I was thinking. Do keep a copy of the faulty repo16:17
charon, assuming pack reuse is the problem, would that process cause the pack to be rewritten? I was thinking not16:17
Psy-Q i can tarball that repo and send it to someone under some pseudo-NDA16:17
not that there are secrets in there, we're planning to open this stuff up as well, but we haven't cleaned it properly yet16:18
hwrd|work joined16:18
charon canton7: evidently there is a client component to the problem, as it only triggers for 1.7.2.x16:18
thirdknife joined16:19
Davey joined16:19
charon canton7: so my pplan was to find out whether the client asks for something different and the server obliges, or whether the conversation is the same and the client just masks it16:20
babilen left16:20
canton7 charon, sure. I'm trying to remember two posts I saw on the ML about what I *think* were breakages in packfiles. One was with bad modes/bad padding of modes/bad something to do with modes, and the other was ordering of items in trees(?) (which doesn't sound likely here??)16:20
Melrian left16:20
canton7 charon, aha16:21
charon Psy-Q: can you do the init-fetch dance with both client vers, and then verify-pack each to see if they agree on not having the object/?16:21
verify-pack -v | grep sha1, that is16:22
canton7 Psy-Q, anyone with push access running jgit/egit ?16:22
Sky[x] joined16:23
notVert left16:23
Desproges left16:23
Psy-Q canton7: not that i know, no. eclipse/zend studio counts as jgit, right?16:23
canton7 eclipse counts as egit yup. not sure about zend studio16:23
_jmg left16:24
cwang joined16:24
torjus_ left16:24
Psy-Q canton7: i just heard from a dev that no one used egit on that repo when the error already happened16:24
towski joined16:24
canton7 ah ok16:24
angelsl left16:24
nickpresta left16:24
jdunck left16:24
afuentes left16:24
Psy-Q charon: didn't i do the init-fetch dance already on both sides?16:24
aah, no, i just did it on 1.7.2.516:25
converge joined16:25
klj613 left16:25
LimeBlast left16:26
ThePendulum Psy-Q: You share your nickname with a large mental health organisation here16:26
chuckharmston left16:26
Psy-Q ThePendulum: they got it after me :(16:26
charon i think snooping on the ssh conversation should be as easy as setting GIT_SSH to a script that does tee outgoing | ssh "$@" | tee incoming, so that would be next if 1.7.2 doesn't have it but 1.7.10 does16:26
Psy-Q ThePendulum: i had it from the psyq compiler from psygnosis (rest in peace)16:26
gerryvdm_mbp left16:26
Synthead joined16:27
ThePendulum Psy-Q: See, that's what they are here for! They will help you get rid off that silly idea!16:27
cwang left16:27
cwang joined16:27
canton7 another possibility: there's a git version with GIT_TRACE_PACKET *and* the clone problem16:27
ThePendulum Who am I kidding, fuck, I lost 2 friends to mental health issues so that name depresses me :|16:27
Anyway16:27
Psy-Q oh16:28
i can change my nick if it helps :|16:28
but i'd have to re-register16:28
tdlguiinstall joined16:28
canton7 (GIT_TRACE_PACKET was introduced in bbc30f99, which was v1.7.516:29
Psy-Q canton7: damn. a few versions too far ahead for me16:29
ThePendulum Psy-Q: Nah nah, haha, don't worry about that.16:29
mikecmpbll left16:30
canton7 Psy-Q, might it be easier to stick v1.7.5 on a box / in a VM, than follow charon's approach? No guarantees the problem still exists in 1.7.5 of course16:30
Psy-Q well, verify-pack on 1.7.2.5 definitely says the sha doesn't exist there16:30
ksiazczyk-grzego joined16:31
Psy-Q and on 1.7.10.4 it definitely says that it exists16:31
canton7: yah, well...16:31
anyway, i think you've helped quite a lot with the --bare hint :)16:31
canton7 another debugging possibility: take the clonecreated by 1.7.2.5, give it verbatim to 1.7.10, and see whether it can see the sha in the pack?16:31
sam___ left16:32
Psy-Q i'll try to pipe that SSH stuff now16:32
stewbydoo left16:32
Psy-Q canton7: ah, good, will do16:32
daviddoria left16:32
canton7 (that *should* tell us whether it's that the ref was never asked for, or was asked for, given, but can't be read for some reason)16:32
tdlguiinstall left16:33
Psy-Q canton7: 1.7.4.10 does not see it either in the fetch that 1.7.2.5 did16:33
marhaban left16:33
Psy-Q 10.4! damn16:33
typing is harder every minute now :P16:34
canton7 Psy-Q, right, that's my theory well out of the window -- roll on charon's suggestions16:34
Psy-Q going with the SSH eavesdropping16:34
dfr|mac joined16:35
stodan left16:35
dreiss joined16:37
Psy-Q hm. incoming does list the ref with the sha that doesn't exist in the pack16:37
keepguessing joined16:37
Psy-Q as master, of course16:37
did the clone --bare dance and everything's fine on 1.7.2.516:39
ksiazczyk-grzego left16:39
Psy-Q if you want the broken repo, just let me know :)16:39
keepguessing Hi I am new to git. infact I find it difficult to grasp what git is at all ... I have been using perforce in my company and seriously hear a lot of hoopla about git being the best cvs16:39
jdunck joined16:39
keepguessing Any help in pointing out resources for a noob in git with perforce experience16:39
Psy-Q but i think it's not that much use to trace a bug in such an old git version, even if it is the one that debian stable installs right now?16:39
because wheezy is right around the corner for debian16:39
thirdknife left16:39
canton7 keepguessing, all of !book are good16:39
gitinfo keepguessing: There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !gcs !designers !gitt !vcbe and !parable16:39
chimay joined16:40
Psy-Q if i can remotely buy you three guys a beer, let me know how :)16:40
keepguessing will they help me with my perforce background16:40
Psy-Q charon, canton7, computerdruid: you three guys, i mean ;)16:40
keepguessing canton7: I end up comparing with perforce and then loosing all grip16:40
irqq left16:40
canton7 Psy-Q, like charon said, the problem may still be there, but masked. I'd recommend adding all the new data you've got to your email, and sending it on up to the main mailing list. someone there might be interested16:40
keepguessing, we recommend that people with svn experience forget everything they know about svn. I suspect the same goes for perforce16:41
tkellen joined16:41
keepguessing canton7: haha. I exactly feel the same that i should forget my git expereince. Because git is difficult to grab :(16:42
irqq joined16:42
griotspeak joined16:42
keepguessing canton7: I meant perforce is difficult to forget16:42
canton7 keepguessing, it's not though. It's just different to what you're used to16:42
tkellen can someone tell me the shortest way to revert my last commit? i want all of the changed files to go back into my staging16:42
keepguessing canton7: hmm yeah I think I have a mental block :) Thanks for your advice16:42
canton7 tkellen, is that commit public? has it been pushed?16:43
tkellen canton7: nope, it's local to me still16:43
tomislater joined16:43
tkellen canton7: i committed changes to 3 files instead of 1. i want to go back to the state where all three were in stagings so i can commit them individually properly16:43
canton7 tkellen, git reset --soft HEAD^16:43
charon Psy-Q: i'd be sort of interested just to do an automated bisection, and look at the result to judge whether it was a bugfix or unintentional16:43
Psy-Q: you could of course just do the bisection yourself ;)16:44
Psy-Q charon: phew..16:44
tkellen canton7: boy, that was easy. thanks!16:44
canton7 !reset16:44
gitinfo A good resource explaining git-reset is http://git-scm.com/2011/07/11/reset.html16:44
Psy-Q well, i'll leave my fingers off this for now :)16:45
notVert joined16:45
charon Psy-Q: can you at least -- as a last step ;) -- compare the negotiation part of incoming and outgoing (in particular the 'want' lines in outgoing) from a run with 1.7.2 and 1.7.10, each?16:46
mtlife joined16:46
danielfilho joined16:47
boombatower joined16:47
towski left16:47
charon it's not entirely obvious to me, from what you said above, if 1.7.2 listed a 'want' line for this16:47
or just an advertisement for the ref on the server side16:47
juvenal joined16:48
fisted_ left16:48
fisted joined16:49
ncr100 joined16:49
owen joined16:50
tvw left16:50
fisted left16:51
FreeHaegin left16:51
Psy-Q charon: oh damn, i closed all my shells. let me restart them :)16:51
should've had a tmux session....16:51
jargon- left16:51
trungqtran joined16:52
owen Hi all. I'm using git-svn to talk to a git repo at work. Unfortunately, I'm new to this process & forgot to give the --authors-file when I did `git svn clone'. Is there any way to transform the ugly svn authors (username only) to a nice name + email after the fact, or would it be easiest to set up the authors file & re-clone from SVN?16:52
bgerber left16:53
Psy-Q i notice incoming on 1.7.2.5 includes binary crap at the end16:54
https://gist.github.com/3757035 <-- incoming16:54
patie left16:55
gusnan left16:55
kevwil left16:56
bgerber joined16:56
jluc_ joined16:56
kevwil joined16:56
Psy-Q that's incoming and outgoing there16:56
Protux joined16:57
Protux left16:57
bartek left17:00
defts left17:00
senny left17:00
robde joined17:01
mklappstuhl joined17:01
shruggar left17:03
charon Psy-Q: umm, the lack of a pack at the end (and that's really the pack -- it basically contains everything in the repo) indicates that you didn't fetch in a newly init'd repo? :)17:04
Psy-Q charon: oh!17:04
tewecske joined17:04
tewecske left17:04
Psy-Q argh, now the incoming is 50 MB large17:05
dc5ala left17:05
Psy-Q will add the first bits of that17:05
charon Psy-Q: yeah, only the human-readable part is interesting17:05
Error404NotFound left17:06
jluc_ left17:06
suy left17:06
apok_ joined17:07
Psy-Q there we go, gist updated17:07
looks pretty identical17:07
converge left17:07
stewbydoo joined17:07
converge joined17:08
kevwil left17:08
nightcrawler786 joined17:08
scelis joined17:08
j416 joined17:08
apok left17:09
apok_apok17:09
freeed left17:09
aruiz left17:10
canton7 except the line 0032want aa293a2f2dd897c8fd8dabbe17417cc42bfdf4f5 in outgoing 1.7.10.417:11
which, surprise surprise, is the master ref17:11
the equivaltent line in 1.7.2.5 is 0032want 4d7080de6d6269fc996d971fa319b4a61225627917:11
freeed joined17:11
nickpresta joined17:12
canton7 which is refs/for/refs/heads/master, whatever that is17:12
john3 left17:12
skorgon joined17:12
Bosox20051 joined17:12
MacGyver left17:12
giallu left17:12
Soliton left17:13
Psy-Q ooooh17:14
canton7 is refs/for a gerrit-only thing? are you using gerrit?17:14
Psy-Q so it is a client problem, with the client requesting the wrong thing?17:14
whitman joined17:14
Soliton joined17:14
canton7 yeah17:14
jaseemabid left17:14
canton7 looks it17:14
Psy-Q don't know what refs is :)17:14
canton7 ar eyou using gerrit?17:14
guns joined17:14
owen left17:14
fisted joined17:15
Psy-Q i don't know what gerrit is :)17:15
no, i guess we're not17:15
canton7 code review tool17:15
mklappstuhl left17:15
Psy-Q we don't have code reviews, we just pair a bit17:16
no clue where refs/for actually came from. hmm.17:16
tdlguiinstall joined17:16
spyro Is it possible to embed only a subdirectory of a submodule in your superproject?17:17
Olipro left17:17
canton7 spyro, no, I don't believe so17:17
Error404NotFound joined17:18
canton7 aha, 1e7ba0f9: fetch-pack: match refs exactly17:18
serbang joined17:18
dfr|mac left17:18
Psy-Q canton7, charon: if you're ever in the zürich area, i owe you dinner or lunch17:18
tkellen left17:19
canton7 so, fixed in 1.7.8.217:19
witul joined17:19
canton7 so the clone --bare / copy worked because it cut out the refs/for17:19
Shusshu joined17:19
Shusshu left17:19
Psy-Q hmmm17:20
canton7: ah, is something mentioned about that in the changelog?17:20
witul Hi everyone. I'm looking for post-receive hook which is compatible with Trac 1.017:20
fbroasca joined17:20
canton7 Psy-Q, https://github.com/git/git/commit/1e7ba0f917:21
GFLJay joined17:21
canton7 (the great thing about git, is you can search commits very, very easily :P 'git log -S refs/for' brought that one up17:21
medwards left17:22
serbang left17:22
shane_ left17:24
jaseemabid joined17:24
Error404NotFound left17:24
pfFredd joined17:24
opus joined17:25
Psy-Q canton7: wow17:25
avinashhm left17:26
youngblood left17:26
canton7 charon, so you were right on the money :)17:26
Olipro joined17:27
Psy-Q anyhow, i thank you again and my offer of free lunch or dinner stands :P17:27
now we don't have to upgrade all the gits17:27
babilen joined17:27
canton7 heh, thanks. charon did all the correct guessing17:27
Psy-Q but it was a team effort :)17:28
rgr joined17:28
Psy-Q bye then, i thing i'll return tomorrow (hopefully to help out a bit if i can, not with more problems)17:28
s/thing/think/g17:28
gtrak left17:29
Psy-Q left17:29
pfFredd left17:29
Sky[x] left17:29
mgorbach left17:29
gtrak joined17:29
maleknet joined17:29
torjus_ joined17:30
flavius joined17:31
mgorbach joined17:32
fbroasca left17:33
marhaban joined17:33
Sky[x] joined17:33
fisted left17:37
fisted joined17:37
titaniumNoob joined17:37
RJ3000_ joined17:37
RJ3000_ left17:37
RJ3000_ joined17:38
shruggar joined17:38
CHC joined17:39
iliketurtles joined17:39
maleknet left17:40
etcetera left17:40
thiago left17:42
defts joined17:42
MacGyver joined17:42
MacGyver left17:42
MacGyver joined17:42
fireh left17:43
jjido joined17:44
etcetera joined17:44
tdlguiinstall left17:45
shruggar left17:45
pfFredd joined17:45
bartek joined17:46
osse left17:46
iliketurtles left17:47
CHC left17:48
shruggar joined17:48
rubious joined17:48
bartek left17:48
serbang joined17:48
thierryp joined17:48
leokaito left17:49
chimay left17:49
leen^| joined17:49
bartek joined17:51
artnez joined17:52
towski joined17:52
shruggar left17:52
revagomes joined17:53
jrajav joined17:53
thierryp left17:53
ncd|leeN left17:53
Eridius joined17:53
mmc1 left17:53
shruggar joined17:54
Chaser left17:54
panpainter joined17:55
Chaser joined17:55
opus left17:55
i42n left17:57
shruggar left17:58
nwest joined17:58
mister_zombie joined17:59
shruggar joined17:59
mister_zombie Hi, any way I can ignore a specific remote svn path when doing git svn checkout?17:59
griotspeak left17:59
FernandoBasso joined18:00
mister_zombie As in, ignore a branch?18:00
kevwil joined18:00
dogarrhea2 joined18:00
kevwil left18:01
scelis left18:01
bartek left18:01
bartek joined18:01
idletom joined18:03
YoMomma joined18:03
Sliver joined18:03
fisted_ joined18:04
shruggar left18:04
shruggar joined18:06
bartek left18:06
fisted_ left18:06
fisted_ joined18:06
fisted_ left18:07
jason237 joined18:07
jjbohn left18:07
fisted left18:07
titaniumNoob left18:07
milki there appears to be options in the man page18:09
bondar joined18:09
serbang left18:09
mister_zombie Yeah I tried ignore-paths18:09
apok left18:09
mister_zombie I think I shot myself in the foot somewhere down the road.18:09
apok joined18:09
milki mister_zombie: and !doesntwork?18:09
gitinfo mister_zombie: Sorry to hear it doesn't work. What happened? Did it fall asleep on your couch, with your sister? Eat your homework? What did you want it to do? What happened instead? Please be specific!18:09
jjbohn joined18:10
mister_zombie I created a new branch called trunk in my branches directory by accident.18:10
So now everytime I checkout the thing with SVN, even though I deleted the branch, it ties master to the branches/trunk instead of the trunk.18:11
dogarrhea2 i need to update one repository with the main repository, what's this called?18:11
milki mister_zombie: theres probably a related config option. /me doesnt know how the git-svn ties work18:11
dogarrhea2: updating is usually a fetch18:12
john3 joined18:12
dogarrhea2 hrm18:12
opus joined18:12
dogarrhea2 i am always getting some kind of merge error out of date or some other error when i pull18:12
i just want what's there. i don't care about my local repo18:12
milki merges can happen on merge or pull18:12
dogarrhea2 when i do git reset --hard head then all of a sudden all my files are untracked18:12
i thought the git reset --hard head would take everything from the remote and just dump it into local18:13
milki you probably dont want head18:13
nope18:13
head refers to your current commit18:13
the commit on the top when you do a git log18:13
dogarrhea2 how do i just get what ever is on git hub with no regard to my current repository18:13
someone misinformed me earlier then I guess18:13
milki dogarrhea2: man git-reset [--hard] <refname>18:13
gitinfo dogarrhea2: the git-reset manpage is available at http://git-scm.com/docs/git-reset.html18:13
milki refname here will refer to your remote tracking branch18:14
dogarrhea2 or an alias right?18:14
milki i dont know what an alias is18:14
dogarrhea2 canonical name18:14
git remote -v shows : someName http://someurl18:14
milki hasnt seen that in the man docs for refs18:14
milki that someName is called a remote name18:15
dogarrhea2 someName is an alias18:15
milki that does not constitue as a full refname18:15
dogarrhea2 ok. so that's not a refname at all. i wonder what it would be18:15
milki your known refnames will be from what git branch -a says18:15
and git tag --list18:15
<remote>/<branch> are your remote tracking branches18:16
liktoj left18:16
fisted joined18:16
jaseemabid left18:17
titaniumNoob joined18:17
jjido left18:17
gitinfo set mode: +v18:17
dogarrhea2 no refs in common and none specified; doing nothing18:18
maxandersen1 left18:18
maxandersen1 joined18:18
OOPMan joined18:18
ipalaus left18:19
gitinfo set mode: +v18:19
maxandersen1 i'm trying to convert my git svn tags/ "branches" into real tags. i've used git tag -m "svn branch tag" tagname tags/tagname18:19
when doing git -d tags/tagname I get this error:18:19
warning: deleting branch 'tags/jbosstools-3.http://0.0.ga/' that has been merged to18:19
'refs/remotes/origin/tags/jbosstools-3.http://0.0.ga/', but not yet been merged to HEAD.18:19
tried google for something similar but very little info out there.18:20
dfr|mac joined18:20
titaniumNoob left18:20
maxandersen1 but as long as I have a tag on the same commit as the branch that tag should be just fine to checkout, right?18:20
titaniumNoob joined18:20
cbreak maxandersen1: stuff in refs/tags are real tags.18:20
maxandersen1 cbreak: yes I get that - its just that warning that worries me.18:21
chisler left18:21
RJ3000_ left18:21
cbreak I don't see what you want to do18:21
maxandersen1 cbreak: makes it sound like the data is "lost" when its not (afaics)18:21
cbreak you have tags18:21
and want to make... tags from them?18:21
pppaul joined18:22
pppaul left18:22
maxandersen1 I have branches that are named tags/tagname, i.e. tags/jbosstools-3.2.0.Final18:22
thats is how git svn converts svn tags18:22
kevwil joined18:22
cbreak where?18:22
pppaul joined18:22
maxandersen1 to a branch (which they are)18:22
pppaul left18:22
cbreak git branch -a, does it show them?18:22
maxandersen1 cbreak: yes18:22
jargon- joined18:22
maxandersen1 I want to convert what is in that branch into a tag.18:23
cbreak hmm...18:23
maxandersen1 i.e. create tag for it and delete the branch was my thinking18:23
cbreak just mv them all into refs/tags? :)18:23
pppaul joined18:23
pppaul left18:23
cbreak mv .git/refs/heads/tags/* .git/refs/tags/18:24
or so18:24
pppaul joined18:24
pppaul left18:24
cbreak (backup first :)18:24
maxandersen1 cbreak: well that would be the same as doing "git tag -m 'blablah' tagname tagas/tagname" and then git branch -d tags/tagname18:24
would it not ?18:24
hyperair joined18:24
cbreak no18:24
no point making worthless annotations18:24
pppaul joined18:24
pppaul left18:24
cbreak without the -m18:25
maxandersen1 cbreak: just what I was recommended to make it a "real" tag …or is that just bs ?18:25
pppaul joined18:25
pppaul left18:25
cbreak annotations are pointless if you don't actually make an annotation18:25
techhelp joined18:25
pppaul joined18:26
maxandersen1 well the annotation would be "make svn branch into real tag" …is that not an annotation ?18:26
pppaul left18:26
cbreak no18:26
that's rather worthless18:26
pppaul joined18:26
pppaul left18:26
cbreak an annotation would be "this is the first release of blah, changes include new foobar and a faster bazbaz algorithm"18:27
maxandersen1 cbreak: http://stackoverflow.com/questions/4971746/why-should-i-care-about-lightweight-vs-annotated-tags18:27
pppaul joined18:27
pppaul left18:27
kenperkins left18:27
pfFredd left18:27
cbreak something unclear?18:27
pppaul joined18:27
pppaul left18:28
maxandersen1 cbreak: sure - but this is for recording migration info. i thought git tag -m made it have a text plus record who/where the tag was made (by me during migration)18:28
bartek joined18:28
maxandersen1 cbreak: but does it anyway "hurt" to have the msg vs not having it ?18:28
pppaul joined18:28
pppaul left18:28
pppaul joined18:29
pppaul left18:29
scelis joined18:29
cbreak it makes an annotated tag18:29
a tag object18:29
it does not hurt, as long as you write a useful tag message18:29
maxandersen1 yes - something in future i would do for each final release - why not have that in the past tags too ?18:29
cbreak if you write the same message in multiple tags, then it's worthless18:29
pppaul joined18:29
pppaul left18:29
maxandersen1 cbreak: well I guess I can write "tag for tagname" :)18:30
cbreak also worthless18:30
tags already have their name in their name18:30
maxandersen1 i just thought it would be good for having them all show up in describe etc.18:30
pppaul joined18:30
pppaul left18:30
cbreak they show up in describe if you use git describe --tags18:30
bartek left18:30
cbreak besides, you are converting svn tags18:31
pppaul joined18:31
Gorkyman left18:31
cbreak svn tags have their "tag message" in their latest commit18:31
since they are created by copying files somewhere else in the filesystem and committing that18:31
Fandekasp joined18:31
archdori joined18:32
maxandersen1 cbreak: yeah I can see that.18:32
patrick85 joined18:32
maxandersen1 cbreak: but back to that warning on branch delete…anything I should worry about ?18:32
titaniumNoob left18:32
cbreak depends.18:32
you read the warning18:32
bartek joined18:32
cbreak do you care about that?18:32
(about the branch not being merged?)18:33
Sliver Why does git return error: 'patch does not apply' for git add -e if I close the editor without changing anything in the diff?18:33
blami_ left18:34
HavenMonkey left18:34
shruggar left18:34
Fandekasp left18:34
Advocation joined18:35
plato is there a way for me to add a folder to a commit without adding the contents?18:35
cbreak no18:35
plato git add folder/ adds the contents18:35
cbreak git does not track folders18:36
chuckharmston joined18:36
plato damn18:36
Chaser left18:36
revagomes left18:36
Advocation can anyone help with a problem I'm having? I'm receiving this error when trying to push a branch to remote origin18:36
fatal: https://git@github.com:Advocation/advocation.git/info/refs not found: did you run git update-server-info on the server?18:36
cbreak Advocation: what command?18:36
Advocation git push origin gh-pages18:37
d3vic3 joined18:37
cbreak that URL looks wrong18:37
what does git remote -vv show?18:37
mister_zombie left18:37
titaniumNoob joined18:37
torjus_ left18:37
o] left18:37
revagomes joined18:38
Advocation origin https://git@github.com:Advocation/advocation.git (fetch)18:38
origin https://git@github.com:Advocation/advocation.git (push)18:38
scelis plato: when i want to "track" a folder i usually just 'git add folder/.empty' or something similar. just track a small dotfile that you never need to touch. or a readme or something18:38
mmc1 joined18:38
Chaser joined18:38
cbreak those are wrong18:38
Advocation ah ok!18:38
maxandersen1 cbreak: I don't see why I would want a branch merged - I want to have a tag for that release made.18:38
cbreak Advocation: should look like https://github.com/vmware/rbvmomi.git18:38
Advocation ah cool, I'll change them over18:38
titaniumNoob left18:38
cbreak Advocation: URL's have the format hostname:port/path18:38
and Advocation is not a port18:38
maxandersen1: so you shouldn't care about the warning.18:39
o] joined18:39
Advocation cbreak: hah, thanks18:39
iliketurtles joined18:39
cbreak Advocation: you can copy&paste the URL from the github page18:39
maxandersen1 cbreak: okey :)18:39
Advocation cbreak: its the first repo I've tried creating without using the guides; didn't quite go as well as I hoped!18:39
cbreak: thanks for your help :)18:39
cbreak np.18:39
timtim joined18:39
thiago joined18:40
timtim left18:40
OOPMan left18:41
juvenal left18:42
Bosox20051 left18:43
juvenal joined18:45
plato thx scelis18:46
Beej_ left18:46
goshawk joined18:47
iamtakingiteasy joined18:47
maxandersen1 cbreak: any good way of counting all commits ? (i.e. trying to check how big an impact my branch deletes are having on the commmit count before doing the repo splitting)18:47
zenx left18:47
maxandersen1 (sorry if weird question - just looking for git commit counts similar to what is written out when pushing)18:47
iliketurtles left18:48
aircan left18:48
jjido joined18:49
maxandersen1maxandersen18:49
maxandersen left18:49
maxandersen joined18:49
brooks.freenode.net set mode: +v18:49
ChanServ set mode: -v18:49
revagomes left18:49
Yuuhi left18:49
rubious left18:49
cbreak maxandersen: that makes little sense18:50
Yuuhi joined18:50
cbreak you can just count the lines in git rev-list18:50
with wc -l or so18:50
Beej_ joined18:51
Targen left18:52
nickpresta left18:53
tworkin joined18:53
C10H8N4O2 joined18:53
ShadeTornado joined18:54
opus left18:54
Axsuul joined18:54
ShadeTornado left18:55
C10H8N4O2 left18:55
iliketurtles joined18:55
aantix joined18:55
ShadeTornado joined18:55
C8H10N4O2 joined18:55
C8H10N4O2 hey all18:56
maletor left18:56
opus joined18:56
opus left18:56
a-l-e left18:56
doomMonkey left18:56
OOPMan joined18:56
Advocation so with github user pages, do I need to keep the gh-pages branch?18:57
the docs say that it feeds from the master branch...18:57
C8H10N4O2 I am setting up a git server. I have the initial repo set up. I develop modules for Wordpress, Joomla!, Magento and extend frameworks such as CI and Zend. I want to have each of these software pieces be its own project but done want to have 20 repos to manage them that I have to log into is thre an easy way to manage multiple projects from one central repo18:57
Synthead left18:57
Advocation but in the creation it said to use the gh-pages branch...18:57
rgsteele left18:58
anth0ny_ joined19:00
kevwil left19:00
tomislater left19:00
procrastubator joined19:00
procrastubator So I am using Bitbucket and I was wondering how I could go about downloading an older commit of my project files?19:01
nitind joined19:01
kevwil joined19:01
patrick85 left19:01
rubious joined19:01
talexb procrastubator, Clone the repo, then rewind to the commit you want ..19:01
procrastubator talexb: How do I rewind tyhrough commits?19:02
talexb procrastubator, I just use something like gitk to point and click ..19:02
procrastubator Alright cool I will look into that.19:03
les_sylvains left19:03
talexb I'd reset HEAD to the commit I want, then get the file.19:03
Don't forget to put HEAD back where you found it afterwards ..19:03
iliketurtles left19:03
sq-one joined19:03
FrenkyNet joined19:04
griotspeak joined19:04
pfFredd joined19:04
ehsan left19:04
arvind_khadri left19:05
jas4711 joined19:06
jason237 left19:06
cagedwisdom joined19:06
Tegi_ left19:08
delinquentme joined19:08
delinquentme OK im having what I think are .gitignore issues19:08
thirdknife joined19:08
delinquentme I've got a bzr project within a git VCed dir19:08
C8H10N4O2 is there any way to remove files from teh untracked status without removing them from future commits19:08
delinquentme within the .gitignore I have BETYdb/.bzr/* ... which should ignore all files within that directory ... however when I run "git status" it showing a number of files within that directory as being deleted19:09
dcs_ left19:09
SamB_MacG5 delinquentme: huh, I would have thought this was a question for #bzr19:09
maletor joined19:09
delinquentme True or false ... if its in the .gitignore it shouldn't be showing up in a git status command at all19:09
SamB_MacG5 delinquentme: why aren't you ignoring the whole bzr tree ?19:09
marthinal left19:09
nitind With BETYdb/.bzr/19:10
aselder left19:10
SamB_MacG5 delinquentme: oh, *deleted*?19:10
delinquentme i am19:10
SamB_MacG5 I guess that directory existed before19:10
delinquentme however they're showing up when I run a git status19:10
pppaul left19:10
ehsan joined19:11
SamB_MacG5 you could either commit the fact that they aren't there anymore, or filter history to expunge their ever having been there19:11
delinquentme BETYdb/.bzr/ or BETYdb/.bzr/* to ignore everything in the .bzr dir?19:11
defts left19:11
pantsman joined19:11
SamB_MacG5 delinquentme: but why are you ignoring only the .bzr directory?19:11
delinquentme SamB_MacG5, and the .bzrignore file too?19:12
there isn't a second dir is there??19:12
bartek left19:12
bartek joined19:12
SamB_MacG5 delinquentme: I meant, why are you *not* ignoring that whole tree?19:12
the BETYdb tree19:12
delinquentme nahh I want to vc on that19:13
just not the stuff in bazaar19:13
idletom left19:13
diegoviola left19:13
SamB_MacG5 wonders if bzr-git would let you push that branch into a git repository so you could use it as a submodule ...19:14
SamB_MacG5 delinquentme: what? You mean you have some files that aren't tracked by bzr, and some that are, and you want the former to be tracked in the containing git repository?19:15
tomislater joined19:16
procrastubator left19:16
serbang joined19:17
kevwil left19:17
ChanServ set mode: +v19:17
pantsman left19:17
NcA^ joined19:18
pppaul joined19:18
pantsman joined19:18
pantsman left19:18
pantsman joined19:18
pppaul left19:18
bondar left19:18
pppaul joined19:18
kevwil joined19:18
pppaul left19:18
upper2bits joined19:19
pppaul joined19:19
pppaul left19:19
Vile left19:19
upper2bits hey. So I have a local file that wasn't under git and someone added a file with the same name so when I pulled their code it overwrote my local copy. Is there any way to recover that?19:19
guessing not since it wasn't in git but it's weird git would overwrite it like that19:19
NcA^ question: I have a remote pointing to a separate repo, and am looking to merge the QA branch off of that, into the master of my current repository, what's the cleanest way to perform this?19:20
thiderman left19:20
pppaul joined19:20
pppaul left19:20
talexb upper2bits, I'm guessing that file is gone ..19:20
upper2bits :-(19:20
pppaul joined19:20
pppaul left19:20
pppaul joined19:21
pppaul left19:21
pppaul joined19:22
pppaul left19:22
opus joined19:22
pppaul joined19:22
pppaul left19:22
Sliver left19:22
dogarrhea2 left19:22
Hasbro joined19:23
pppaul joined19:23
pppaul left19:23
keepguessing left19:23
drizzd_ joined19:23
dvdhrm joined19:24
pppaul joined19:24
pppaul left19:24
pppaul joined19:24
pppaul left19:24
asakura left19:25
pppaul joined19:25
pppaul left19:25
cbreak upper2bits: git should reject that merge19:25
something like "Untracked file would be overwritten by merge"19:26
upper2bits that's what I thought but it didn't...19:26
pppaul joined19:26
pppaul left19:26
pppaul joined19:27
pppaul left19:27
drizzd left19:27
pppaul joined19:27
axl_ left19:27
pppaul left19:27
letharion left19:28
pppaul joined19:28
pppaul left19:28
Chuwiey Hey all, I've created a repository on a remote server. Then cloned it, and now I'm trying to push my changes back to the master branch on the remote. When doing 'git push origin master' I get -> refusing to update checked out branch in a non-bare repository... Could someone please explain this to me?19:28
cbreak Chuwiey: you created client repositories on the server19:28
Chuwiey cbreak: meaning?19:29
cbreak you should have created them with git init --bare19:29
pppaul joined19:29
pppaul left19:29
cbreak just delete/rename them and make new ones19:29
Chuwiey how do i delete a repo without removing the files...19:29
dvdhrm left19:29
cbreak delete it with removing the files of course19:29
pppaul joined19:29
pppaul left19:29
pppaul joined19:30
Chuwiey cbreak: Obviously I have code I don't want to lose in there...19:30
pppaul left19:30
cbreak yeah, and?19:30
you cloned, didn't you?19:30
pppaul joined19:31
Chuwiey on local, not on the server...19:31
pppaul left19:31
jjido left19:31
cbreak you don't need the code on the server19:31
just delete or rename the repo there19:31
then make a new one19:31
and push the history into it19:31
pppaul joined19:31
pppaul left19:32
Chuwiey ok, so you're saying that the code I have on my local, i should push to the remote19:32
cakehero left19:32
pppaul joined19:32
pppaul left19:32
cbreak no, the HISTORY19:33
pppaul joined19:33
pppaul left19:33
cbreak the chains of commits19:33
Chuwiey yeah, ok19:33
cbreak git init --bare will give you a server repository19:33
one without working directory or files19:33
one you can push into19:33
pppaul joined19:34
pppaul left19:34
Chuwiey ok...19:34
cakehero joined19:34
t0rc joined19:34
pppaul joined19:34
pppaul left19:34
macrover joined19:34
Jay_Levitt joined19:34
benbergman joined19:35
tworkin left19:35
Chuwiey cbreak, and from then on, anyone else who might clone the remote repository, will still be able to push to it?19:35
serbang left19:35
cbreak yes19:35
pppaul joined19:35
pppaul left19:35
cbreak the problem was the server repo19:35
if you fix that, pushing is just the usual permission problems19:35
Chuwiey ok19:35
cbreak but those are unrelated to git :)19:35
Chuwiey :)19:35
bartek left19:36
pppaul joined19:36
pppaul left19:36
cbreak if you want different users to access the repo19:36
bartek joined19:36
cbreak take a look at man git-init --shared19:36
gitinfo the git-init manpage is available at http://git-scm.com/docs/git-init.html19:36
imajes left19:36
pppaul joined19:36
pppaul left19:36
imajes joined19:37
Chuwiey once I recreated a bear repository, what should I do locally to push the code to the remote? is it git push <fullhostpath> branch ?19:37
pppaul joined19:37
pppaul left19:37
pppaul joined19:38
pppaul left19:38
archdori left19:38
les_sylvains joined19:38
EugeneKay Chuwiey - git remote add $REMOTE $URI; git push -u $REMOTE $BRANCH(or --all)19:38
Synthead joined19:39
EugeneKay You would use --all for the push to populate the remote initially with everything you have19:39
Chuwiey EugeneKay: thanks :)19:39
EugeneKay YOu only need the -u for pushes that involve "new" branches - it's a flag to set Upstream information so you can do `git push` without any further info19:39
rubious left19:40
Chuwiey EugeneKay: and if i wanted to have a working production site off one of the branches from that repository, would I checkout the branch onto a public_html dir on the server, or should I point to somewhere specific in the repo?19:40
EugeneKay !deploy19:40
gitinfo Git is not a deployment tool. You can build one around it for simple environments. http://sitaramc.github.com/the-list-and-irc/deploy.html19:40
EugeneKay Read that ^19:40
Chuwiey I did...19:40
EugeneKay I use(and wrote) the script outlined as the sixth(?) option19:41
It can be abused to deploy different branches to different places, or even to remote hosts19:41
Chuwiey I'll reread.. thanks :)19:41
cakehero left19:42
doomMonkey joined19:42
letharion joined19:43
tjadc joined19:43
pppaul joined19:43
pppaul left19:43
pppaul joined19:44
pppaul left19:44
pppaul joined19:44
pppaul left19:44
dodo joined19:45
pppaul joined19:45
Anders_J joined19:45
pppaul left19:45
opus left19:45
pppaul joined19:46
pppaul left19:46
cantoma joined19:46
nwest left19:46
SJrXSJr19:46
Marcux83|away joined19:46
devces joined19:46
gozes joined19:46
Marcux83|awayGuest8909419:47
gozes hello everyone19:47
converge left19:47
jperry2_ joined19:47
milligan joined19:48
milki hmmm, the link changed again19:49
adityamenon joined19:49
thierryp joined19:49
adityamenon left19:49
rubious joined19:49
shruggar joined19:49
gozes I just did a pull from my repo, but when I do a submoulde update it give me this error No submodule mapping found in .gitmodules, hoever, when I look insede my .gitmodules all the path and urls are there19:50
were did I go wrong?19:50
tr4656 left19:51
pppaul joined19:51
pppaul left19:51
cakehero joined19:51
converge joined19:52
devinrhode2 joined19:52
gozes ????19:53
daethorian joined19:53
zastaph joined19:53
moguchiy left19:53
thierryp left19:54
opus joined19:54
g3orge joined19:55
cmn use --init19:55
gozes cmn: did that fist got the error, so I try update19:55
skelterjohn joined19:56
bartek left19:56
skelterjohn how do i move a branch to a particular commit? i want to roll back a merge i did to master19:56
cmn then whoever added the submdoule didn't do it properly19:56
gozes cmn: sync does the same thing19:56
bartek joined19:56
g3orge hi guys. when I'm doing a git commit --amend I get to have a problem. Due to the different commit locally and on the server I get lots of errors and I have to merge do get through them. Am i missing something? is there a command or a switch in push for that kind of fuctinality?19:56
skelterjohn and master back to its state from before the merge19:56
arietis what's best way to back up local git repo?19:56
g3orge arietis: clone it elsewhere...19:56
pppaul joined19:57
gozes cmn: I did and I did submodule add urltogitrepo19:57
pppaul left19:57
gozes cmn: what did I miss19:57
adhawkins g3orge: !rewrite19:57
gitinfo g3orge: [!rewriting_public_history] Rewriting public history is a very bad idea. Anyone else who may have pulled the old history will have to jump through hoops (and you have to tell them to), so it's infinitely better to just move on without rewriting. That said, you can use `git push -f` to force your new history through (may get rejected, though). See http://git-scm.com/docs/git-rebase.html#_recovering_from_upstream_rebase19:57
cmn gozes: a !repro19:57
gitinfo gozes: Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session, or at least explain exactly what you did that led up to the problem. This will help immensely with troubleshooting.19:57
pppaul joined19:58
pppaul left19:58
cmn is the merge you did important or not? does it happen with your submodule or with the one someone else did?19:58
are you sure it's complaining about the submodule you're thinking about?19:58
skelterjohn left19:58
pppaul joined19:58
pppaul left19:58
LucasTizma joined19:59
pppaul joined19:59
pppaul left19:59
gozes I added a few submodulse last night and made a commit and push after adding them19:59
Davey left20:00
pppaul joined20:00
pppaul left20:00
cmn show us20:00
Vile joined20:00
g3orge adhawkins: oh crap. yes. I'm always hearing about rewriting public history but I never actually thought about it.20:00
thanks anyways20:00
gozes now In this computter did a pull and sub init follow but a update and thats when I got ther errroe No submodule mapping found in .gitmodules20:00
babilen left20:00
pppaul joined20:00
pppaul left20:00
arietis if i'll archive folder with repo using zip, will it contain git files?20:00
AlbireoX`Laptop joined20:01
cmn gozes: show us20:01
pppaul joined20:01
pppaul left20:01
PapaSierra left20:01
gozes wath do you wanat me to past git log?20:01
cmn no, !repro20:01
gitinfo Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session, or at least explain exactly what you did that led up to the problem. This will help immensely with troubleshooting.20:01
AlbireoX left20:01
cmn commands, contents20:01
g3orge anyone can explain in plain english what the -u flag does in git push ?? thanks.20:02
Advocation left20:02
pppaul joined20:02
pppaul left20:02
pppaul joined20:02
pppaul left20:02
pppaul joined20:03
pppaul left20:03
gozes http://pastebin.com/n9afT3i520:03
adhawkins g3orge: It sets the local branch you've pushed to track the remote branch you've pushed to20:03
git branch -vv will give more info20:04
pppaul joined20:04
pppaul left20:04
pppaul joined20:04
pppaul left20:04
g3orge isn't that the "default" state???20:04
Davey joined20:04
g3orge what else does my local repo track adhawkins ??20:04
cmn g3orge: your repo doesn't track anything20:05
gozes did git submodule sync and that was the oup put20:05
pppaul joined20:05
pppaul left20:05
adhawkins No, if you create a branch locally, it has no link with a branch of the same name on the remote side20:05
Unless you tell it to20:05
bassliner left20:05
cmn gozes: so show us that the .gitmodules is right20:05
pppaul joined20:05
pppaul left20:05
dodo left20:06
tm1000 joined20:06
pppaul joined20:06
pppaul left20:06
gozes cmn: http://pastebin.com/smYwddNE20:06
tworkin joined20:06
CollinPDX joined20:06
bartek left20:06
pppaul joined20:07
pppaul left20:07
bartek joined20:07
pppaul joined20:07
pppaul left20:07
cmn don't use absolute pathnames20:07
that's asking for trouble20:07
aruiz joined20:07
cmn which is why it doesn't fit20:07
pppaul joined20:08
pppaul left20:08
gozes cmn: I dind't when I add it I use ~20:08
cmn no20:08
dogarrhea2 joined20:08
pppaul joined20:08
gozes cmn: what is the proper way?20:08
cmn use a relative path20:08
cbreak relative to repository root20:08
while you are in the repository root20:09
g3orge cmn: what's the practical difference.??20:09
Rhonda left20:09
Rhonda joined20:09
cmn between what and what?20:09
gozes ./dotfiels/bundelr/wahterver.git you mean?20:09
rohan32 joined20:09
dogarrhea2 i think i figured it out. git push --force your-vagina my-penis will forcefully insert changes from my-penis into the remote, your-vagina. This doesn't actually merge anything right? it just shoves changes into the remote?20:09
cmn gozes: we don't know what the repo looks like20:09
we can't say20:10
dogarrhea2 and then on github, I do a pull request from the remote i shoved changes into, into the main repository.20:10
gozes https://bitbucket.org/gozes/dotfiles/20:10
opus left20:11
marius joined20:11
gozes cmn: will that help?20:11
cmn gozes: see what git is telling you that it's not finding20:11
those are the paths it's looking for20:11
mabrand left20:11
dogarrhea2 wut. it appears -f can change the commit tree20:11
ISF joined20:12
metcalfc joined20:13
cbreak what's a commit tree?20:14
gozes cmn: aha but why is it not find them? if they are all there?20:14
cmn they're not20:14
which is why it's telling you exactly what it's not finding20:14
dogarrhea2 cbreak isn't this a history of commits?20:14
cbreak history is not a tree20:15
dogarrhea2 hrm? seems like it's a tree. with branching and what not20:15
cbreak trees don't have merges20:15
git has merges.20:15
not a tree.20:15
it's a DAG20:15
eletuchy joined20:16
dogarrhea2 sounds like a tree to me20:16
cmn then read up on graph theory20:16
patrick99e99 joined20:16
gozes cmn: then can you tell me what can I dot to fix it and what not to do so it doesn't happen againg because I only beeing useing git for a week and I'm lost20:16
do*20:16
ReekenX left20:17
pfFred joined20:17
cmn set the paths to the correct ones, which git is helpfully complaining about20:17
Chillance joined20:17
patrick99e99 so.. when I have a submodule.. I make a change to it.. I make a commit... And then I go out of the directory to the super project and git status shows the directory for the submodule modified (new-commits)20:17
cbreak dogarrhea2: if merges sound like trees to you, then you've never seen a tree.20:17
patrick99e99 so do I really have to make commits on the super project saying "module updated"20:17
every time?20:17
gozes cmn: TAHT is the corret path to my repo20:17
irqq left20:18
cbreak patrick99e99: only if you want the parent to refer to the new child commit20:18
patrick99e99: submodules are strong binding, they know exactly which commit they are developed for20:18
themalkolm joined20:18
cmn gozes: the path to your repo is irrelevant20:18
intransit left20:18
pfFreddd joined20:18
patrick99e99 cbreak: wouldn't I always want the parent to refer to the latest child ?20:18
cbreak no20:18
of course not20:18
gozes or shuled I use $HOME/dontfles?20:19
patrick99e99 of course not?20:19
really? why20:19
cmn gozes: set the paths to the correct ones, which git is helpfully complaining about20:19
cbreak what if I make an experimental commit in some other branch that doesn't compile?20:19
what if I make a new release with a new api that is not compatible?20:19
pfFredd left20:19
gozes cmn: I don't know what you mean by that do a sub add againg?20:20
kevwil left20:20
aselder joined20:20
cmn adding a new entry will leave the wrong ones in20:20
change the entries so it fits what git is telling you it wants20:20
use relative paths from the repo root path20:21
devinrhode2 Hey, all little new to certain parts of git. I created a fork of a repo, cloned, made my changes, submitted a pull request, but I was asked to rebase my changes. I figured that out fine and squashed my commits all into one. But I can't sync these changes to my local repo to my remote fork on github.20:21
EugeneKay devinrhode2 - push -f20:21
pfFred left20:21
arietis left20:21
cbreak devinrhode2: push into a different branch20:21
aselder left20:22
aselder joined20:22
banghouse joined20:22
gozes cmn: I just notices that the path are duplicatd for some reason20:22
Ivo left20:23
tworkin left20:23
converge left20:23
dfr|mac left20:23
cmn you mean because you're using an absolute path in the submdoule name?20:23
guns left20:23
cmn the reason is that you put it in twice20:23
once worng20:23
the onther slightly less wrong20:23
gozes cmn: should I change both the the one insde [] and the on in path = or both?20:24
nvm I see it now20:24
marhaban left20:25
gozes but why did that happen what is the corret way? to make the submoduel20:25
nitind left20:25
BiggFREE joined20:26
gozes giveing it the relative path in the scope of my repo?20:27
anddam left20:27
skyf left20:29
devinrhode2 @EugeneKey, git push -f tells me everything is up to date, but the commits don't change on github20:29
Sky[x] left20:30
canton7 devinrhode2, github is having problems updating its ui atm20:30
aruiz left20:30
canton7 it's been going since the middle of yesterday20:30
e66 left20:30
canton7 loads of people have been complaining in #github20:30
devinrhode2 oh.. so ok20:30
canton7 git ls-remote origin will show the sha1's of the branches on github. if they match, github's up to date20:31
EugeneKay `git ls-remote origin`, see if the.... yeah, that.20:31
CollinPDX left20:31
dv310p3r left20:31
canton7 heh, jinx!20:31
ChanServ set mode: +o20:32
EugeneKay kicked canton7 (jinx)20:32
EugeneKay set mode: -o20:32
canton7 joined20:32
EugeneKay <_<20:32
devinrhode2 is there a way to see the remote git log?20:32
ChanServ set mode: +q20:32
EugeneKay devinrhode2 - log of what? Commits are commits.20:32
jrajav left20:32
canton7 REVENGE20:32
ChanServ set mode: -q20:32
EugeneKay flaunts his +v at canton720:32
devinrhode2 the commit log `git log`20:32
on the remote - since the ui isn't updating20:33
EugeneKay devinrhode2 - so long as you have the same SHA locally as remote(per git ls-remote), it's the same.20:33
See also !lol20:33
gitinfo A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all20:33
gozes cmn: I fix it but now when I do a update or sync it does noting20:33
canton7 EugeneKay, damn, you were modded before me. you win!20:33
gozes no even an error(wicht is good I guess)20:34
EugeneKay plays for keeps20:34
dodo joined20:34
gozes cmn: nvm thenk you for your help an pasints with a new git user :-)20:35
EugeneKay wanders off to find beer20:35
devinrhode2 thanks though guys, you're awesome!20:35
fyi verified the SHA's are the same20:36
jjbohn left20:36
erichynds left20:36
jjbohn joined20:36
macrover left20:36
devinrhode2 left20:37
gozes left20:37
orated joined20:37
les_sylvains left20:37
Macca- joined20:37
torjus_ joined20:38
Macca- git branch -r is listing branches that i deleted from another that accesses this repo. is there anything i need to do locally to make it aware of that?20:38
ISF left20:38
m1sc Macca-: see man git-fetch --prune20:39
gitinfo Macca-: the git-fetch manpage is available at http://git-scm.com/docs/git-fetch.html20:39
Macca- dziękuje20:39
Chat8791 joined20:40
_iron left20:40
Chat8791 left20:40
shruggar left20:40
tplaner_ left20:40
jbohn joined20:40
torjus__ joined20:41
osse_ joined20:41
Macca- dowidzenia20:41
Macca- left20:41
vdv joined20:41
jbohn left20:41
jbohn joined20:42
eletuchy left20:42
torjus_ left20:42
Goplat joined20:42
ciaranm can i git-archive myself a tarball, excluding everything under a particular directory?20:42
bartek left20:42
jjbohn left20:42
bartek joined20:43
adhawkins ciaranm: man git-archive20:43
gitinfo ciaranm: the git-archive manpage is available at http://git-scm.com/docs/git-archive.html20:43
adhawkins Seems to suggest you can specify a list of paths to include20:43
So that'd do it, although not exactly what you want.20:43
talexb ciaranm, Alternatively, you could adjust the tarball after archiving.20:44
Plouj does git reflog work with tags? I'm not sure what it's showing me. I see one line of 6-char long hashes20:44
ciaranm adhawkins: that's a lot of specifying20:44
bfig joined20:44
ciaranm talexb: mm, not really. the directory i want to exclude is a couple of hundred megs. the rest is ten k...20:44
maletor left20:44
bfig hello, i just made a mistake and `checkout -b origin/somebranch`. is it safe to do `git branch -d origin/somebranch` ?20:44
(what i really wanted to do was download the branch from origin and work on it)20:45
ciaranm bfig: git checkout master20:45
er, with a -b.20:45
bartek left20:45
bfig what?20:46
*why ?20:46
adhawkins ciaranm: How about something like git archive .... `ls | grep -v path-to-exclude`20:46
canton7 no...20:46
adhawkins (I haven't tried it, but don't see why it shouldn't work.20:46
idletom joined20:47
ciaranm adhawkins: misses .files!20:47
adhawkins ls -a?20:47
ciaranm includes too much!20:47
serbang joined20:47
ciaranm alternatively i could just demand my supervisor finally gets himself a github account so i don't have to keep mailing him code20:47
ciaranm mutters20:47
kiffer84 left20:48
bartek joined20:48
diegoviola joined20:48
cmn there is no reason why you need that20:49
g3orge left20:49
cmn just send the repo, a bundle, or put it in your server20:49
ciaranm oh, he doesn't use git either20:49
or any form of version control other than lots of datestamp-named directories20:49
dfr|mac joined20:50
canton7 bfig, !local_branch_from_remote20:50
gitinfo bfig: The following commands are all equivalent, assuming <branch> doesn't yet exist: 'git checkout -b <branch> <remote>/<branch>', 'git checkout -t <remote>/<branch>', 'git checkout <branch>'. The latter invokes some magic.20:50
maletor joined20:50
zastaph left20:50
canton7 (sorry, was distracted)20:50
cbreak ciaranm: just write yourself a script that mails him git format-patch output20:50
jperry2_ left20:50
milki magic is awesome20:50
ciaranm cbreak: i was going to say "he doesn't believe in diff", but i've converted him on that at least...20:51
bfig canton7, thanks!20:51
milki lol20:51
serbang left20:51
cbreak ciaranm: faith is irrelevant20:51
the reality is unhampered by something as worthless as that20:52
ciaranm i was so happy the day he said he'd rm -fr'ed in the wrong directory. until he ruined my joy by remembering he had a week old copy on a memory stick.20:52
cbreak backups ftw20:52
no, honestly20:53
ThePendulum left20:53
cbreak just mail him the patches of all commits20:53
that'll burry him in mails20:53
AdrienBrault joined20:53
philips_ left20:53
steveoliver left20:53
dogarrhea2 left20:54
milki LOL20:54
philips_ joined20:55
dvide left20:55
cbreak ciaranm: alternatively, send him git archive --format=tar versions of each commit20:55
that should exhaust his mailbox quota rather quickly20:55
ciaranm i could mail him git archives of each commit, including the hundred plus megs of test data20:55
milki doooit20:55
cbreak yes.20:55
sbodo left20:56
ciaranm he was talking about reintroducing floggings for students a few days back. i'd better not.20:56
milki haha20:56
vdv left20:56
cbreak is that related with blogging?20:56
serbang joined20:57
geekbri left20:57
stewbydoo left20:58
esc ciaranm: i have tgz = "!bn=$(basename $(pwd)) && git archive --format=tar --prefix=$bn/ HEAD | gzip -c > $bn-$(git describe --tags --always).tgz"20:59
serbang left20:59
tworkin joined21:00
SEToChan joined21:00
esc maybe you can write a shell-function to convert includes to excludes and throw it in there?21:00
eletuchy joined21:00
SEToChan i have repository where i develop my site and then i create another with "git init --bare" and then i want push from develop to this, named "hub"21:01
and i do "git push hub maser"21:01
kermit left21:01
SEToChan but got error21:01
canton7 what error?21:01
hyperboreean left21:01
esc ciaranm: maybe a $(date) too21:01
whitman left21:01
SEToChan remote: error: refusing to update checked out branch: refs/heads/master21:01
remote: error: By default, updating the current branch in a non-bare repository21:01
remote: error: is denied,21:01
canton7 SEToChan, well you didn't create it with --bare then, did you?21:01
SEToChan why it says "non-bare rep is denied" when repo is bare21:01
yes i did21:01
i did21:01
canton7 try this: cd bare_repo; ls21:01
tomislater left21:02
canton7 what do you see?21:02
ciaranm esc: mm. this is entering "less work for me to convince him to lrn2git" territory21:02
kermit joined21:02
SEToChan http://pastebin.com/83CFwD3k21:02
it is indeed bare21:03
esc ciaranm: yeah, bummer it can't do an exclude21:03
canton7 SEToChan, looks sensible. look in config -- what's the value of core.bare ?21:03
hyperboreean joined21:03
esc ciaranm: subtree split the directory, and then add it as a submodule (j/k ;))21:03
ciaranm heh21:03
SEToChan where i can see this config?21:03
jjbohn joined21:03
canton7 SEToChan, there's a file called 'config'. it's in your pastebin21:03
ciaranm esc: that might actually not be totally utterly crazy21:03
the test data is "standard"21:04
jcao219 joined21:04
bartek left21:04
SEToChan ah21:04
esc git subtree is part of mainline git now IIRC21:04
cmn it's in contrib/21:04
cannonball left21:05
kerrick left21:05
SEToChan canton7: http://pastebin.com/vvLc0qNB21:05
jbohn left21:05
SEToChan bare = true21:05
esc not sure what git archive will do to submodules though...21:05
canton7 SEToChan, so it thinks it's a bare repo. in the remove you're pushing from, 'git remove -v'21:05
* 'git remote -v'21:05
gusnan joined21:05
SEToChan you think i might push to another repo?21:06
esc i just did an online coding test21:06
with codility21:06
canton7 if the repo you should be pushing to is indeed bare, then the next option is that you're not pushing to that repo, yes21:06
esc one of the questions was: reverse a string, use python, you have 30 minutes to complete this21:07
SEToChan shit21:07
you right21:07
canton7 correct guess? :)21:07
esc i was like, WTF?21:07
canton7 heh21:07
SEToChan yes21:07
i should guess21:07
so stupid i am21:07
thanx21:07
canton7 heh, it happens :)21:07
np21:07
esc so i put s[::-1] and clicked submit after 1 minute21:07
Mantic0re left21:08
cbreak and then it got rejected for lack of input handling? :)21:08
esc i dunno, did i miss something?21:08
serbang joined21:08
cbreak like, reading the string from somewhere?21:08
esc oh, right, it was return s[::-1], silly me :)21:09
cbreak or were you not supposed to write executable code?21:09
canton7 I swear those things are sometimes written by people with no knowledge of the language in question21:09
esc no, just the function21:09
the first was OK, some random array iteration21:09
the second was real hard, a heavy integer question21:09
and then that.. ???21:09
if you have to do it in c, ok21:10
snearch joined21:10
GFLJay left21:10
hinst left21:10
esc the requested runtime was O(n)21:10
hmmm...21:11
pandeiro left21:11
esc scratches his beard21:11
duckxx left21:11
tworkin left21:12
Pupeno_W joined21:12
griotspeak left21:12
duckxx joined21:12
cbreak esc: that's probably the best case21:13
unless the representation intrinsically supports directions21:14
esc i guess it depends on if you know the length21:14
cbreak esc: for example, with the unicode right-to-left direction changing character21:14
esc lol21:14
yeah, maybe it was something about hat21:14
cbreak not sure if python supports that21:15
devth left21:15
torjus__ left21:15
eijk left21:15
tjadc left21:16
cbreak seems it is21:17
http://www.fileformat.info/info/unicode/char/202e/index.htm21:17
tjadc joined21:17
lectrick So today I learned about the -p option to "git add" which will let you stage changes to individual files in piecemeal fashion. I'm wondering if there is a similar facility to "git checkout" to *discard* individual changes to a file in piecemeal fashion?21:17
rubious left21:17
canton7 lectrick, checkout -p, yup21:17
lectrick NICE.21:17
is that recent? I think I tried that once and it didn't work :/21:18
canton7 fairly I think21:18
lectrick git version 1.7.1221:18
snearch left21:18
AaronMT left21:18
mgaunard lectrick: how does add -p work?21:19
beneggett left21:19
sq-one left21:19
lb joined21:19
lectrick mgaunard: It's fucking magic. It will bring up a menu driven interface to stage only parts of the file(s)21:19
stopbit_ left21:19
psoo joined21:19
jbohn joined21:19
lectrick Great when you have things like debug harness code around actual changed code21:19
mgaunard seems text-driven to me21:20
no graphical menu21:20
stopbit_ joined21:20
duckxx left21:20
devth joined21:20
lectrick menu driven does not mean GUI :)21:20
stopbit_ left21:20
griotspeak joined21:20
dr_lepper joined21:20
dr_lepper left21:20
dr_lepper joined21:20
skorgon left21:21
cbreak ‮This is a test21:22
mgaunard cbreak: #test21:22
jjbohn left21:22
cbreak hmm. Wonder if that came accross21:22
Jippi left21:22
DeadZen this is only a test... if this were an actual emergency this would be followed by frantic screaming21:23
d3vic3 left21:23
TeckniX left21:24
cbreak lectrick: add -p and checkout -p are fairly old21:24
whaley left21:25
mmc1 left21:26
lb left21:29
ipalaus joined21:33
lresende joined21:33
drizzd_ left21:34
j416 left21:34
gfontenot left21:34
opus joined21:34
rr3 joined21:35
rr3 hi newbie needs help. i have project with just one branch 'master'. I made some changes. i don't want to commit these changes to the 'master' branch, rather I want to commit them to a new branch 'javascript' and commit the changes to them.21:37
etcetera left21:37
canton7 rr3, 'git checkout -b javascript', then add/commit them21:38
maletor left21:39
john_anderson left21:39
rr3 :canton7, ty21:40
maletor joined21:41
dsirijus joined21:43
babilen joined21:44
aspotashev joined21:44
giallu joined21:44
babilenGuest6547521:45
Guest65475 left21:45
themalkolm left21:45
BCook joined21:45
babilen_ joined21:45
rr3 left21:45
moscownights joined21:45
babilen_babilen21:46
derpops left21:46
iron_houzi joined21:47
moscownights left21:47
mwolff6 left21:47
Tohuw joined21:47
gitinfo set mode: +v21:48
iron_houzi OK - why is it that two different files that contain the same data (i vimdiff'ed them) will compile differently? One is inside a git repo on a new branch I'm working on, the other file is just in my home/ ..Any clues?21:48
BCook ahah!21:48
maletor left21:48
BCook is anyone around that can offer a quick bit of help with repository setup? i installed Git on both my laptop and the server, and created a repository on the server... what i need help with now is accessing the server's repository, but i'm not sure how to add that from my laptop...21:48
canton7 BCook, is the server running ssh?21:49
iron_houzi BCook: Are you using linux or SSH?21:49
BCook they are both windows machines on the same company network21:49
thierryp joined21:49
iron_houzi Never used git with Windows - sorry..21:49
canton7 BCook, to serve a git repo, you need either ssh, or a configured http server21:49
BCook i see... the server it is installed is running SQL Server 2008 and IIS which hosts some ASP.net pages i created21:50
nevyn BCook: so a repository in git is every checkout.21:50
Tohuw For whatever reason, I'm having trouble wrapping my head around the "don't pull, merge" philosophy. I always pull (sometimes pull --rebase), and I don't typically want merge commits in the history. Can you help me understand a general workflow without using pull? I manage my own GIT repo, and test locally from my system by pulling in the latest changes. If a pull is just a fetch and merge, why is not using pull superior?21:50
maletor joined21:50
BCook can i configure IIS somehow to host the repository on the server?21:51
nevyn BCook: most git use cases involve multiple repositories.21:51
brasom left21:51
brasom joined21:51
nevyn BCook: fighting windows platform issues for hosting git is probably lose. can you get user access to a linux host?21:52
ShadeTornado left21:52
cbreak no need for a web server for hosting git repos21:53
just use an sshd21:53
newbie999|3 joined21:53
acl_ joined21:53
Tohuw BCook: What is your use case for presenting the repo over the web?21:53
BCook we're a windows based shop so nothing else available21:53
nevyn BCook: this might help http://therightstuff.de/CommentView,guid,b969ea4d-8d2c-42af-9806-de3631f4df68.aspx21:53
PatF joined21:54
etcetera joined21:54
thierryp left21:54
upper2bits left21:54
BCook i don't really need it over the web, i'm just trying to get away from a fileshare based development environment21:54
nevyn it involves cygwin and stuff tho.21:54
right.21:54
canton7 Tohuw, !pull21:54
gitinfo Tohuw: pull=fetch+merge (or with flags/config also fetch+rebase). It is thus *not* the opposite of push in any sense. A good article that explains the difference between fetch and pull: http://longair.net/blog/2009/04/16/git-fetch-and-merge/21:54
Tohuw BCook: Can't users just use the Git client to obtain the files?21:54
dr_lepper left21:54
Tohuw canton7: Thanks21:54
john_anderson joined21:54
canton7 Tohuw, so the "don't pull; merge" means "don't just run 'git pull'. run 'git fetch', inspect origin/branch_of_interest to see if you need to merge, and if you do, run an explicit 'git merge origin/branch_of_interest'21:55
nevyn Tohuw: he wants to use git to manage asp code in a windows shotp21:55
BCook that is correct nevyn21:55
iron_houzi Sorry for nagging, but is there any reason why two different files with the same content should compile differently if one is inside a git-repo and the one that works is not in a git repo ??21:55
newbie999 left21:55
nevyn BCook: if you want to use a central repo workflow then I'd strongly reccomend using gitolite21:55
(note that this is a workflow choice not a tool imperative)21:56
guampa joined21:56
canton7 iron_houzi, are they the same? md5 the21:56
*them21:56
Uriziel joined21:57
iron_houzi no - one contains some commented lines ..21:57
serbang left21:57
BCook i'm really the only one developing so this isn't crucial, just a desire to get in place so that i can have version control21:57
Destos left21:57
iron_houzi should I try to make them exactly the same?21:57
Uriziel Is there an easy way to "unfork" the project?21:57
BCook without just making a copy of the project, and updating the copy21:57
canton7 iron_houzi, well it sounds like they're not exactly the same tbh. run a diff on them21:57
Uriziel As in, taking down "fork" status"21:57
nevyn BCook: also you're being a tad imprecise wiht terminology in that with git.. a repository on the server is no different to a repository on your workstation21:57
canton7 Uriziel, on github? don't think so21:57
oh, I think you might be able to email them and get them to do it21:58
or delete/re-create21:58
Uriziel Oh, yeah, forgot, on github indeed21:58
nevyn BCook: so you could just use git on your workstation (if you're the only dev) and copy stuff to a share as a publish step21:58
Uriziel kk21:58
iron_houzi canton7: OK, I'll take out the commented stuff and do a new compare..21:58
PatF left21:58
BCook sorry, i'm not familiar with all the terminology... i've only used SVN in the past and it's a bit quirky21:58
pdelvopdelvo|afk21:58
cakehero left21:58
resmo__ left21:58
nevyn BCook: you really really should read !book21:59
gitinfo BCook: There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !gcs !designers !gitt !vcbe and !parable21:59
nevyn BCook: if you just want to get version control going for you for code you're the only one changing.21:59
walters left22:00
nevyn then dealing with multiple repos and push and blah is possibly more effort than it's worth.22:00
you do need version control in this case.22:00
gusnan left22:01
BCook you're probably right22:01
jefferai left22:01
nevyn but you don't need to have any more than one repo22:01
BCook the odds of our small shop hiring another dev is unlikely22:01
nevyn so when that happens you can always just put a central repo server in to be a co-ordination point22:01
jefferai joined22:01
nevyn and keep all the history and stuff22:01
BCook yeah22:02
nevyn but you don't need to do it now22:02
gusnan joined22:02
dzonder left22:02
nevyn BCook: so a git clone. is not like a checkout22:02
allquixotic_ left22:02
nevyn gtg.22:02
meeting in 80mins and have to get to the office still.22:02
allquixotic joined22:02
BCook if i put a local repo and work from that, i'm guessing i would have two folders... a dev folder that i work out of with my MS tools, and then commit those changes to my repo (which is my production directory then)22:03
TTilus left22:03
BCook and then i can copy the files from my repo to the fileshare for others as needed22:03
am i piecing that together correctly?22:04
hobodave left22:04
ShaunR joined22:04
aruiz joined22:04
iron_houzi canton7: Sorry - getting late and I'm getting blind.. thanks for your help though22:05
BCook d'oh, i missed that nevyn left... oh well, i think i get the general idea22:05
i gotta run too22:05
canton7 heh, no worries. i'm almost certain that git has nothing to do with it, and i'm fairly sure there's a little change somewhere (not a comment) that you've missed. a normal diff will spot it, of course22:05
pantsman BCook, keep your repository in your working directory, not wherever you deploy it... use a deployment tool to do that22:06
BCook left22:06
pantsman noooooooooo, he will do it wrong now22:06
alunduil left22:07
TTilus joined22:07
kiffer84 joined22:08
poseidon joined22:10
martinjlowm left22:10
tfitts left22:16
lresende left22:16
bapa left22:18
BiggFREE left22:18
adamm joined22:20
apok_ joined22:21
apok left22:24
apok_apok22:24
beneggett joined22:24
BiggFREE joined22:24
robde left22:24
yoklov joined22:25
macabre left22:26
mischief joined22:27
anth0ny_ left22:28
madewokherd joined22:28
trungqtran left22:29
avtobiff left22:29
grey left22:29
yoklov left22:29
grey joined22:30
ppppaul joined22:30
yoklov joined22:30
quazimodo left22:31
Plouj how can I push multiple refs under a namespace to a given remote?22:31
pppaul left22:31
ppppaulpppaul22:31
rubious joined22:31
psoo left22:32
AdrienBrault left22:34
grey left22:34
kcj joined22:35
grey joined22:35
chuckharmston left22:36
mischief does anyone know of a good resource for learning about using git with multiple developers?22:36
scarlisle left22:37
dcs_ joined22:37
jason237 joined22:38
hellopat left22:38
erichynds joined22:39
sgambino left22:40
aruiz left22:41
jason237 left22:42
orated_ joined22:43
orated left22:43
etcetera left22:44
derpops joined22:45
scelis left22:45
Mpenzi left22:46
FrenkyNetFrenkyNet|away22:46
angelsl joined22:46
glennpratt left22:47
serbang joined22:47
Synthead left22:48
griotspeak left22:49
tdowg1 left22:49
etcetera joined22:50
trungqtran joined22:50
TheJH left22:53
angelsl left22:53
beneggett left22:54
nevyn !workflow22:56
gitinfo Finding the right workflow for you is critical for the success of any SCM project. Git is very flexible with respect to workflow. See http://sethrobertson.github.com/GitBestPractices/#workflow for a list of references about choosing branching and distributed workflows.22:56
pppaul left22:57
mtlife left22:58
jperry2_ joined23:00
_Vi joined23:03
SirCmpwn left23:04
glennpratt joined23:04
SeoZ-work[AWAY]SeoZ23:04
serbang left23:06
derpops left23:07
Davey left23:08
jason237 joined23:09
dfr|mac left23:09
derpops joined23:10
leen^| left23:10
juvenal left23:11
apok left23:11
apok joined23:12
SirCmpwn_SirCmpwn23:12
Anders_J left23:12
eletuchy left23:13
derpops left23:14
kvanderw_ joined23:16
wereHamster joined23:18
Leonidas joined23:18
kvanderw_ left23:18
emdete left23:18
qknight joined23:18
emdete joined23:19
derpops joined23:20
guide left23:20
kvanderw left23:20
guide joined23:20
erichynds left23:21
avjpl joined23:22
avjpl left23:22
SEToChan left23:23
macrover joined23:23
serbang joined23:24
zastern left23:25
iocor left23:25
techhelp left23:26
Bert joined23:27
giallu left23:28
john_anderson left23:28
jbohn left23:28
pantsman left23:29
gitinfo set mode: +v23:29
iocor joined23:29
milki workflows are hard23:30
issues as a to do list is kind of interesting23:31
pfFreddd left23:32
steveoliver joined23:32
macrover left23:33
fisted left23:33
lresende joined23:33
yaroslav joined23:34
derpops left23:36
chrisgeorge left23:37
friskd left23:38
ISF joined23:39
SaCu Is there a special reason, why 'git tag -l "foo/*"' invokes fnmatch() without the FMN_PATHNAME option, essentially disabling the "**" match?23:42
milki thats a better question for the mailing list23:42
SaCu probably :)23:43
jason237 left23:43
panpainter left23:43
eletuchy joined23:43
cbreak left23:44
yaroslav left23:44
alunduil joined23:44
eletuchy left23:45
fisted joined23:47
cooloney joined23:47
warthog9 joined23:47
ahferroin7 joined23:48
thiago left23:48
diegoviola left23:48
gavin_huang joined23:49
gitinfo joined23:50
ChanServ set mode: +o23:50
thierryp joined23:50
thierryp left23:55
glennpratt left23:55
rchavik joined23:56
rchavik left23:56
rchavik joined23:56
gitinfo left23:58

Logs Search ←Prev date Next date→ Channels Documentation