IRCloggy #git 2012-04-26

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-04-26

kenperkins left00:00
master-lincoln left00:01
DangerousDave joined00:01
Araxia_ left00:03
avu Is there anything in the plumbing that has an exit code of 0 only if the current working directory is completely clean (ie no unstaged changes, no untracked files, 'git status' would turn absolutely nothing)? (I would want to run this in a pre-deploy script)00:03
Araxia_ joined00:03
FauxFaux exit $(git status -s | wc -l)00:03
macmartine joined00:03
avu FauxFaux: yes, I am aware I can "parse" the output of 'git status', I was asking if there's something neater futher down in the plumbing00:04
dreiss left00:04
satyanash left00:04
macmartine left00:05
vinay left00:05
thursday joined00:05
FauxFaux I'm reasonably sure there isn't.00:05
jrnieder avu: "git update-index --refresh -q >/dev/null 2>&1"00:05
that's my favorite way to spell it00:05
AaronMT joined00:06
jrnieder others will probably curse at you because the exit code is just a side-effect00:06
AaronMT left00:06
jrnieder that's doesn't check for untracked files though, I think00:06
eletuchy left00:06
jrnieder you might also want to run "git ls-files -o"00:06
avu that also lists ignored files though. and the former also returns 0 if there are staged changed00:07
jnxa left00:07
jrnieder if ignored files are ok, they you'll need --exclude-standard00:07
s/they/then/00:08
mikepack joined00:08
Shishire left00:08
avu s/changed/changes/00:08
jrnieder avu: and you're right about it accepting staged changes00:08
aleperalta joined00:09
jrnieder so you might want to use "git diff-index --exit-code HEAD" instead00:09
nif joined00:09
isao left00:09
ericmuyser left00:09
jrnieder refreshing first is probably a good idea to avoid false positives after "touch"-ing a file, and people won't curse at you for it00:09
aleperalta Hello, can I cherry-pick and then edit the files? as I don't want a particular line to be merged.00:09
jfelchner1 joined00:09
Shishire joined00:10
jrnieder aleperalta: sure00:10
FauxFaux aleperalta: cherry-pick --no-commit00:10
jrnieder as FauxFaux said, or commit --amend when done00:10
timtowdi00:10
aleperalta FauxFaux, jrnieder, thanks a lot00:10
avu jrnieder: alright, seems that a combination of ls-files and diff-index can do what I want. Now I have to decide if I think that's better or worse than parsing the output of status :)00:11
jfelchner left00:12
avu jrnieder, FauxFaux: thanks for your help00:12
jrnieder avu: status --porcelain :)00:12
krzkrzkrz joined00:12
jrnieder I just like the commands that express exact intent a little more00:12
I think the primary intended purpose of "git status --porcelain" is as input for a GUI that wants to show the same information as "git status" does00:14
nif left00:14
Shishire left00:14
avu jrnieder: yeah, sure, if I parse status' output then I will use it like this, otherwise who knows how the user's config alone might break the script :)00:14
ehsan left00:14
krz left00:14
krzkrzkrzkrz00:14
avu I just would have prefered something with a nice exit value I can just throw at fabric's local() ;)00:15
anyway, again, thanks for all the input!00:15
avu left00:15
jrnieder cheers00:15
davidbanham left00:16
master-lincoln joined00:16
brngardner left00:16
tizzotizzo-afk00:16
Vert joined00:16
ology left00:16
jim0203 left00:17
jim0203 joined00:17
berserkr left00:17
replore_ joined00:17
brngardner joined00:18
jfelchner1 left00:18
alberto56 left00:18
Radium left00:19
victorbarna joined00:20
tqmz left00:20
victorbarna left00:21
diegoviola left00:21
jrnieder left00:21
skaushik92 left00:23
cccaldas left00:23
diegoviola joined00:24
krzkrzkrz joined00:24
jalama joined00:25
pun joined00:26
krz left00:27
krzkrzkrzkrz00:27
davidbanham joined00:27
cakehero left00:28
ehsan joined00:30
krzkrzkrz joined00:32
master-lincoln left00:34
krzkrzkrz_ joined00:35
krz left00:35
krzkrzkrz_krz00:35
krzkrzkrz left00:37
edude03 joined00:38
Infiltrator left00:38
Infiltrator joined00:39
w09x_ joined00:40
w09x left00:43
fyolnish joined00:43
Eridius left00:44
streblo left00:44
xsbeats left00:45
v4n_ joined00:46
usmanity left00:47
fir31ight left00:47
avinashhm left00:47
dirkle joined00:47
fir31ight joined00:47
edude03 left00:48
Eridius joined00:50
thelazydeveloper left00:51
BrutalBob joined00:52
edude03 joined00:55
DangerousDave left00:55
dreiss joined00:55
brngardner left00:56
enmand left00:56
w09x_ left00:57
w09x joined00:57
kukks left00:58
enmand joined00:59
nrichards joined01:02
v4n_ left01:02
v4n_ joined01:03
alesan joined01:04
alesan hi01:04
gitinfo alesan: welcome to #git, a place full of helpful gits. If you have a question, just ask it–somebody should answer shortly. For more information about git and this channel, see the links in the topic. It can't hurt to do a backup (type !backup for help) before trying advice you receive here.01:04
alesan I am using git submodule that is very very tricky01:04
alberto56 joined01:04
dfr|lghtninghall joined01:04
alesan at some point I get this:01:04
v4n__ joined01:04
alesan Initialized empty Git repository in /ephemeral/staging/build/wireless/.git/01:05
fatal: reference is not a tree: 97db460da18ebaf88eaaea8e8d13c0b0d0df86bb01:05
Unable to checkout '97db460da18ebaf88eaaea8e8d13c0b0d0df86bb' in submodule path 'wireless'01:05
what could it be?01:05
this is after git submodule update --init and while doing git pull01:06
no sorry01:06
this is while git submodule update --init01:06
cooloney joined01:07
Goplat joined01:07
w09x_ joined01:07
w09x_ left01:08
w09x_ joined01:08
w09x_ left01:09
w09x_ joined01:09
mister_m left01:10
w09x left01:10
w09x_ left01:11
wilmoore left01:11
CannedCorn left01:11
w09x joined01:11
weiyang joined01:11
claudiu__ left01:13
lectrick left01:13
bcardarella left01:13
tfnico_ left01:13
xerxas left01:13
denysonique left01:13
jaequery left01:13
etcetera left01:13
offbyone left01:13
claudiu__ joined01:13
bcardarella joined01:14
jaequery joined01:14
bcardarella left01:15
MetaCosm left01:15
johtso left01:15
claudiu__ left01:15
nobitanobi joined01:15
jnewland left01:15
pl0sh_ left01:15
v4n_ left01:16
alberto56 left01:16
actel left01:16
nobitanobi When I do git diff I can see the changes that hasn't been commited yet. How can I see the changes that have been commited, and that are about to be pushed?01:17
dreiss left01:17
v4n__ left01:17
atdt joined01:18
v4n_ joined01:19
v4n__ joined01:19
CEnnis91 joined01:20
v4n_ left01:20
denysonique joined01:21
pureluck joined01:21
bcardarella joined01:21
claudiu__ joined01:21
Mowsh joined01:21
jmcantrell joined01:22
marhaban left01:22
shirish left01:23
pl0sh_ joined01:23
marhaban joined01:24
thebignoise left01:24
akraut joined01:24
GameGamer43 joined01:24
kodie left01:24
jbergstroem joined01:24
kodie joined01:25
jbergstroem If I have a remote tag and branch with the same name, how do I remove the branch?01:25
dstorrs left01:25
pikpik joined01:26
macmartine joined01:26
sayd left01:27
jameswarren left01:27
thebignoise joined01:28
ben225 joined01:28
g00s left01:28
pandeiro joined01:28
arnihermann_ joined01:28
johtso joined01:28
tfnico_ joined01:29
jameswarren joined01:29
MetaCosm joined01:30
Araxia_ left01:30
mbrochh joined01:30
mbrochh left01:30
mbrochh joined01:30
ben_alman left01:30
actel joined01:30
Vampire0 joined01:31
Vampire0_ left01:33
ColKurtz left01:33
twisted` left01:33
weiyang left01:34
shirish joined01:34
Targen joined01:34
thearthur left01:35
thebignoise left01:35
ben225 left01:35
alesan left01:36
twisted` joined01:36
HyperNerdV2 left01:37
ben_alman joined01:39
harish left01:39
jalama left01:42
lectrick joined01:43
xerxas joined01:43
xjiujiu joined01:44
ben225 joined01:45
mister_m joined01:46
X99 joined01:47
v4n__ left01:47
NimeshNeema joined01:47
ben225 left01:47
palyboy left01:49
shirish left01:49
nobitanobi left01:49
xjiujiu left01:50
SegFaultAX|work left01:50
smw joined01:50
luke3321 joined01:50
timoxley left01:51
pandeiro left01:52
frogonwheels joined01:53
X99 left01:53
xjiujiu joined01:53
cakehero joined01:54
w09x_ joined01:54
palyboy joined01:56
weiyang joined01:56
mgpcoe left01:56
timoxley joined01:56
etcetera joined01:56
w09x_ left01:57
w09x_ joined01:57
jbergstroem left01:57
w09x left01:57
intripoon_ joined01:58
w09x_ left01:58
w09x joined01:58
zdk joined01:59
Slix` joined01:59
gavin_huang joined02:00
Eridius left02:00
intripoon left02:01
matthiaskrgr left02:02
darren_ left02:03
v4n__ joined02:03
darren_ joined02:04
ericmuyser joined02:05
pun left02:08
MissionCritical left02:09
jcastelli left02:09
alexim joined02:10
darren_ left02:10
davidbanham left02:12
ben225 joined02:15
ChaoWang joined02:16
Eridius joined02:16
thebignoise joined02:16
xiangfu joined02:16
mischat left02:16
ben225 left02:17
DofLeFou joined02:19
dcarper left02:20
krzkrzkrz joined02:21
luke3321 left02:21
marhaban left02:23
krz left02:23
krzkrzkrzkrz02:23
hyperair left02:24
urbanmonk joined02:25
urbanmonk how do I undo a commit .. I mean to start a new branch with my changes and commit there ... nothing has been pushed02:26
SethRobertson have you committed the changes?02:27
tshauck joined02:27
urbanmonk yes02:27
i've made one commit to master02:27
which i meant for a new branch02:28
EugeneKay urbanmonk - !fixup02:28
gitinfo urbanmonk: 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!02:28
SethRobertson Then !fixup will tell you, but `git branch newbranch; git reset --hard HEAD^` will probably work, subject to exclusions that fixup tells you02:28
gitinfo 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!02:28
xpot-mobile joined02:28
dreiss joined02:28
urbanmonk can I do git reset --soft HEAD^1 ..02:28
wait won't --hard change all the files02:28
don't i want --soft02:28
I want to keep the changes02:29
just move them to a new branch02:29
BrainFreak__ joined02:32
fuzzybunny69y joined02:33
dreiss left02:34
scruple joined02:34
Per4u3e joined02:35
Yuuhi` left02:36
oogatta joined02:36
Vortex34 left02:38
hwrd|work joined02:39
maestrojed left02:40
Vesperus joined02:41
bcardarella left02:43
jackh joined02:43
tyatpi joined02:45
offbyone joined02:46
desaila joined02:46
krzkrzkrz joined02:47
ericmuyser left02:49
krz left02:49
krzkrzkrzkrz02:49
orafu left02:49
orafu joined02:50
Mowsh left02:51
DofLeFou left02:52
matthiaskrgr joined02:54
RobW joined02:56
JEntrep left02:56
weiyang left02:56
hyperair joined02:56
enmand left02:56
dv310p3r left02:57
todd_dsm left02:58
Lulzon left02:59
aleperalta left03:00
guampa left03:01
rockets left03:02
seoaqua joined03:02
jalama joined03:03
JEntrep joined03:03
jexmex_ joined03:03
ISF joined03:04
jexmex_ I did a checkout of a branch, but now if I try to checkout master again, it complains files that were added by checking out brach will be overwritten03:04
how do I handle this?03:04
JD joined03:05
JD left03:05
Adys_Adys03:05
JD joined03:05
JD left03:05
jexmex_ these files are part of a submodule on the new branch03:05
but I dont want them to be merged yet (the same files, essentially anyways, exist on the master. We deleted them in the branch and made the a submodule pointing to another repo)03:06
kami8785 left03:06
jexmex_ should I just force it?03:06
tshauck left03:06
dstorrs joined03:07
Vesperus left03:08
jalama left03:08
yoklov left03:09
Davey left03:10
jim0203 left03:11
todd_dsm joined03:11
tyatpi left03:12
yoklov joined03:12
krzkrzkrz joined03:13
krz left03:15
krzkrzkrzkrz03:15
i10neorg left03:15
simplew joined03:17
simplew in git archive is possible to start from a subdir form the git repo?03:18
SethRobertson: ping03:19
jfelchner1 joined03:24
agile joined03:26
mikepack left03:26
tyatpi joined03:27
jiggliemon joined03:28
jameswarren left03:28
bodom joined03:29
Twey left03:29
jiggliemon Prob a newb question. I have a key on my host machine, and I try moving it to my VM (ubuntu 11, w/ git installed) but I still get this: http://cl.ly/0K0J46264218213H3K3U What's the deal yo?03:29
Twey joined03:29
subho joined03:29
milki probably not using the key...03:31
cakehero left03:32
jiggliemon milki: You got any suggestions ?03:33
milki ssh -i to make sure the key works03:33
if it does, you need to either put it in an agent or use .ssh/config03:33
weiyang joined03:33
gitinfo set mode: +v03:36
RobW hey I'm using a submodule I only have pull access to, and the owners have put two tags on the same commit.03:36
anyone know if there's a way to check out one specific tag?03:36
maletor left03:36
RobW git seems to default to the tag that was added first, no matter which I check out. Wouldn't matter but the tags hook into an update system.03:37
maletor joined03:38
Slix` left03:39
fission6 joined03:42
marc_kdab left03:45
dreiss joined03:46
ericmuyser joined03:49
hagabaka joined03:49
hagabaka left03:49
hagabaka joined03:49
timoxley left03:51
gigamonkey joined03:53
jiggliemon left03:53
krz left03:53
codeshah joined03:54
akiress joined03:54
macmartine_ joined03:55
bambams Did anybody happen to skim over my blog post to make sure I got it right? :\03:56
maletor left03:56
macmartine left03:57
macmartine_macmartine03:57
derp joined03:57
g00s joined03:58
beautifulmind joined03:58
mister_m left03:58
redrocket joined03:58
wilmoore joined03:59
derp left04:00
leo2007 joined04:00
sayd joined04:01
BrutalBob left04:02
jeby joined04:02
leo2007 In fixing the broken vc-git-state in emacs, I need to find a way to get the status of a file? Ideas?04:03
the output of which is then parsed by emacs04:03
jeby left04:04
jeby joined04:05
jceb joined04:05
sam113101 left04:05
RobW left04:06
brngardner joined04:07
brngardner left04:07
satyanash joined04:09
leo2007 git diff-index -p --raw -z HEAD -- 80python.el04:10
returns04:10
:100644 100644 d5b1daa9b80734dc4fabbcf8efc086da8faa4469 0000000000000000000000000000000000000000 M80python.eldiff --git a/80python.el b/80python.el04:10
but that file has no changes04:10
dstorrs left04:13
jeby left04:13
jeby joined04:13
mccann left04:16
igotnolegs left04:16
akiress left04:17
h0bbit joined04:19
leo2007 <sha1> is shown as all 0's if a file is new on the filesystem and it is out of sync with the index.04:19
xpot-mobile left04:20
ehsan_ joined04:21
dcarper joined04:21
smw left04:21
gchristensen left04:22
albel727 left04:22
codeshah left04:22
maletor joined04:23
camdenx left04:23
mritz joined04:23
ehsan left04:24
madewokherd left04:24
dcarper left04:25
albel727 joined04:25
caseymcg joined04:25
flaviocamilo left04:26
w09x_ joined04:27
w09x_ left04:27
w09x_ joined04:28
jeby left04:28
jameswarren joined04:28
w09x_ left04:28
w09x left04:29
jeby joined04:29
w09x joined04:29
ferdna joined04:29
joshsmith joined04:29
infogulchinfogulch|afk04:29
timoxley joined04:31
jeby1 joined04:32
jeby left04:32
subbyyy joined04:32
subbyyy left04:33
SeySayux left04:36
subbyyy joined04:38
akiress joined04:43
akiressGuest3809604:43
SeySayux joined04:43
g00s left04:44
igotnolegs joined04:44
davidbanham joined04:44
dreiss left04:45
`Assassin joined04:46
maestrojed joined04:48
Milossh left04:48
ericmuyser left04:48
JohnyBaby joined04:52
simplew left04:52
_Vi left04:53
dirkle left04:53
yoklov left04:54
hwrd|work left04:55
fuzzybunny69y left04:55
lcpfnvcy left04:55
ceej left04:55
lcpfnvcy joined04:55
v4n__ left04:56
leo2007 what does it mean by "out of sync"04:58
bob2 ENOCONTEXT04:58
JEntrep left04:59
jexmex_ left05:00
wilmoore left05:01
hendry hi, I have a shallow copy of git which I've commited too, and now I want to prune it so it's "depth 1" again. My general taxi is to do a "depth 1" clone the repo, but I can't clone for an already shallow copy...05:01
So I'm asking how to make a shallow clone, of an already shall clone, if that makes sense05:02
wereHamster why do you want to make it depth 1 again?05:02
giallu joined05:03
codewrangler left05:03
hendry wereHamster: make this as small as possible for delivering to customer05:04
hagabaka left05:04
xecycle joined05:05
xecycle left05:05
hendry oh this might be the answer http://stackoverflow.com/a/7937916/453405:08
wereHamster make a tarball05:08
leavittx joined05:08
Bunbury left05:08
neersighted|AFKneersighted05:09
hagabaka joined05:10
hagabaka left05:10
hagabaka joined05:10
bodom left05:11
khmarbaise joined05:13
herdingcat joined05:13
fmPirate joined05:13
dreiss joined05:13
fuzzybunny69y joined05:13
fuzzybunny69y left05:14
jceb left05:18
g00s joined05:19
isao joined05:21
neersightedneer|tf2|koth05:21
neer|tf2|kothneersighted05:22
subho left05:24
diegoviola left05:27
neunon joined05:27
neunon left05:28
neunon joined05:28
JohnyBaby_ joined05:28
fmPirate left05:30
fmPirate joined05:30
leavittx left05:30
JohnyBaby left05:31
airborn joined05:34
krz joined05:34
jceb joined05:35
slikts left05:37
JohnyBaby_ left05:37
dfr|lghtninghall left05:38
dstorrs joined05:38
macmartine left05:39
JohnyBaby joined05:39
khmarbaise left05:41
dc5ala joined05:43
harshpb joined05:45
maletor left05:45
friskd joined05:45
xjiujiu left05:46
jceb left05:47
edude03 left05:50
mishok13 joined05:51
hwrd|work joined05:53
Sigma joined05:55
shruggar joined05:56
bitslip_ joined05:57
BiggFREE joined05:58
BiggFREE left05:58
milki left05:58
BiggFREE joined05:58
RandalSchwartz left05:58
jpalmer left05:59
catsup joined05:59
pfFredd joined05:59
crazed_ left05:59
machine1 joined05:59
khmarbaise joined06:00
up_the_irons joined06:01
JStoker joined06:01
crazed joined06:03
milki joined06:03
blorbx joined06:03
ferdna left06:04
wilmoore joined06:04
maletor joined06:05
JohnyBaby left06:06
smw joined06:06
JohnyBaby joined06:07
pfFredd left06:07
sq-one joined06:07
ggherdov joined06:08
gmarseliss joined06:08
gmarseliss left06:08
glcrazy joined06:08
arvind_khadri joined06:08
rurufufuss joined06:09
macrover joined06:09
khmarbaise left06:10
glcrazy left06:10
glcrazy joined06:11
project2501b left06:11
tsdh joined06:12
joshsmith left06:13
wilmoore left06:16
g00s left06:16
cbreak-work joined06:16
rurufufuss_ joined06:16
cbreak-work left06:16
cbreak-work joined06:17
papegaaij joined06:17
Sitethief joined06:18
JohnyBaby left06:18
l4m6da left06:19
macrover left06:21
harish joined06:21
dcarper joined06:21
barrbrain left06:22
OOPMan left06:23
JohnyBaby joined06:23
hwrd|work left06:23
rurufufuss_ left06:24
mishok13 left06:24
shruggar left06:25
flijten joined06:26
dcarper left06:26
DofLeFou joined06:28
jceb joined06:29
Per4u3e left06:32
crazed left06:33
tewecske joined06:34
chepre joined06:34
scruple left06:34
isao left06:34
Dave^| joined06:34
crazed joined06:34
_sundar_ joined06:35
h0bbit left06:38
Pugnax joined06:41
shruggar joined06:41
airborn left06:42
dharrigan joined06:42
dharrigan left06:43
dharrigan joined06:43
Goplat left06:43
aspotashev left06:44
shruggar left06:45
tsdh left06:46
JohnBat26 joined06:46
igotnolegs left06:46
tizzo-afktizzo06:48
flijten left06:48
tsdh joined06:48
ThomasLocke joined06:49
neersightedneersighted|AFK06:49
neurodrone left06:50
ggherdov left06:51
ISF left06:52
mishok13 joined06:52
pantsman joined06:52
crazed left06:53
dpino joined06:53
mritz left06:53
crazed joined06:54
krz left06:55
tqmz joined06:55
dekroning joined06:56
vals_ joined06:56
Radium joined06:57
tango_ left06:57
vals_tango_06:59
SamB joined06:59
OOPMan joined07:01
WillMars_ left07:01
Eridius left07:04
marthinal joined07:05
timoxley left07:07
na3r joined07:08
papegaaij left07:11
papegaaij joined07:11
arvind_khadri left07:13
dr_lepper joined07:13
dr_lepper left07:13
dr_lepper joined07:13
papegaaij left07:13
arvind_khadri joined07:14
arvind_khadri left07:14
arvind_khadri joined07:14
arvind_khadri left07:14
subbyyy left07:14
pro_metedor joined07:15
Per4u3e joined07:16
dropdrive left07:17
scientes joined07:17
scientes im using mozilla-central in git07:17
how do i look up by hg commit ids?07:18
dr_lepper left07:18
papegaaij joined07:18
Element9 joined07:18
dr_lepper joined07:18
harish_ joined07:20
harish left07:20
lb joined07:21
bondar joined07:21
ben225 joined07:22
Adys left07:22
resmo_ joined07:23
shruggar joined07:24
dropdrive joined07:24
papegaaij_ joined07:26
papegaaij left07:26
Chib joined07:27
ivan12347 joined07:27
ivan12348 joined07:27
QaDeS joined07:28
ivan12345 left07:30
ivan12346 left07:31
Per4u3e left07:33
cbreak-work scientes: git has nothing to do with hg07:34
e-ndy|afke-ndy07:34
Radium left07:36
fuzzybunny69y joined07:36
fayaz joined07:36
xiangfu left07:36
amcsi_work joined07:37
scientes its just a hg repo hosted as a git clone07:37
so i was wondering if it provided lossless conversion07:37
like hg-git does07:37
Radium joined07:39
beautifulmind left07:40
cbreak-work define lossless07:42
I doubt commit messages or history would get lost07:42
scientes hg-git can take a git repo, and keep all the git commit sha1s07:42
cbreak-work of course...07:42
because SHAs are derived from content07:43
scientes and its reproducable, so the same edit will produce the same git commits07:43
cbreak-work and it'd not be much of an scm if it'd change content07:43
scientes even when done in mercurial07:43
thursday left07:45
angelsl joined07:47
netiru joined07:47
bondar left07:48
ipalaus_ joined07:48
Chappo joined07:51
Bass10 left07:52
rvsjoen left07:53
rvsjoen joined07:53
jdpacker joined07:53
jdpacker left07:54
glcrazy left07:55
TTSDA left07:56
rtuin joined07:56
timoxley joined07:56
flijten joined07:56
arvind_khadri joined07:57
Shusshu joined07:57
arvind_khadri left07:58
adhawkins joined07:58
glcrazy joined07:58
arvind_khadri joined07:58
arvind_khadri left07:58
arvind_khadri joined07:58
xiangfu joined08:00
machine1 left08:00
Pugnax_ joined08:01
Pugnax left08:03
sq-one left08:03
machine1 joined08:04
twb joined08:04
sayd left08:04
e-ndye-ndy|afk08:05
Orbitrix left08:05
hagebake joined08:05
hagebake left08:05
hagebake joined08:05
twb I have LESS=SR, but when using git I would prefer it to be LESS=SRF which is what git sets it to. Currently I do this by unsetting LESS if I happen to be doing a lot of git runs, but is there a way I can make that automagic? I doubt there's a GIT_LESS, but GIT_PAGER='env -u LESS less' seems pretty fugly.08:06
hagabaka left08:06
e-ndy|afke-ndy08:06
Chappo left08:06
twb GIT_PAGER='env -u LESS less' wouldn't work anyway, come to think of it, because git sets LESS iff its not set when *git* runs, not when less runs. So I guess I'd have to alias git=env -u LESS git08:06
odin_ left08:07
thiago joined08:07
robbyoconnor joined08:08
robbyoconnor left08:08
robbyoconnor joined08:08
netiru left08:08
machine1 left08:08
Orbitrix joined08:09
LimeBlast joined08:10
sfiku joined08:10
tizzotizzo-afk08:10
pro_metedor left08:11
eijk joined08:12
wereHamster twb: git sets LESS=FRSX08:12
filier joined08:12
wereHamster twb: man git-config08:12
gitinfo twb: the git-config manpage is available at http://jk.gs/git-config.html08:12
twb wereHamster: it only sets it if LESS is not already set08:13
wereHamster twb: the core.pager option08:13
twb That's the problem08:13
TomyLobo joined08:13
tyatpi left08:13
ben225 left08:13
twb Hm, I see the git-config manpage has some notes that might be related08:13
Zenopus_ joined08:13
kevinfagan joined08:14
Iota_ joined08:14
maletor left08:15
danmackay_ joined08:15
charon_ joined08:15
charon_ left08:15
charon_ joined08:15
twb It looks like I can do something like GIT_PAGER='less -F' to get the behaviour I want08:15
charon left08:15
charon_charon08:15
ph^ joined08:15
dj_tjerk| joined08:15
ramlev joined08:16
jabosh joined08:16
Twey left08:16
comboy_ joined08:16
twb That would break if less isn't installed, but I'm unlikely to run into that.08:17
ed8 joined08:17
zenazn joined08:17
mitsuhiko_ joined08:17
ed8 hi, I want to start hosting a git projects on my company network. Is there a tutorial for that ?08:18
\toothrot joined08:18
\toothrot left08:18
\toothrot joined08:18
tureba_ joined08:18
hsb_ joined08:18
CellKill_ joined08:18
muep_ joined08:18
bbuss_ joined08:18
ChoiZ_ joined08:18
kadoban left08:18
hgb_ joined08:18
twb ed8: you can just create --bare repos and put them in a group-editable area08:18
quuxman_ joined08:18
et ed8: looking at gitolite would probably be a good start08:18
Twey joined08:18
phillijw_ joined08:18
Nikoli_ joined08:18
twb Yeah or gitolite if you want a web UI thingo08:18
dzan_ joined08:18
luka12346 joined08:18
f0i joined08:18
tonyj joined08:18
helium-3 joined08:19
Rafusek_ joined08:19
cods_ joined08:19
legnaleurc_ joined08:19
et gitolite isn't a web-ui-thing ...08:19
berserkr joined08:19
twb Huh. So it provides what, the git:// smart server?08:19
cods left08:19
selckin1 joined08:19
anildigital_ joined08:19
Harzilein_ joined08:20
Harzilein_ left08:20
armani__ joined08:20
Harzilein_ joined08:20
Harzilein_ left08:20
Harzilein_ joined08:20
Harzilein_ left08:20
Harzilein_ joined08:20
Harzilein_ left08:20
e-ndy- joined08:20
Harzilein_ joined08:20
Harzilein_ left08:20
Harzilein_ joined08:20
lake1 joined08:20
Harzilein_ left08:20
Harzilein_ joined08:20
Harzilein_ left08:20
danmackay left08:20
shibayu36 left08:20
dzan left08:20
Zenopus left08:20
macUzer left08:20
bla left08:20
ramlev` left08:20
zeom left08:20
lake left08:20
Iota left08:20
Poapfel left08:20
hgb left08:20
mitsuhiko left08:20
phillijw left08:20
__class__ left08:20
bolt left08:20
pa left08:20
joeytwiddle left08:20
tureba left08:20
selckin left08:20
tonyj_ left08:20
markatto left08:20
Evanlec left08:20
e-ndy left08:20
Rafusek left08:20
[E]sc left08:20
merkosh left08:20
legnaleurc left08:20
Nikoli left08:20
The-C0mpiler joined08:20
Harzilein_ joined08:20
Harzilein_ left08:20
Zenopus_Zenopus08:21
cods_ left08:21
Harzilein_ joined08:21
pro_metedor joined08:21
Harzilein_ left08:21
Harzilein_ joined08:21
Harzilein_ left08:21
_class_ joined08:21
Harzilein_ joined08:21
cods joined08:21
demi` joined08:21
batrick_ joined08:21
markatto joined08:21
Evanlec joined08:21
linduxed joined08:21
armani__ left08:21
Poapfel joined08:21
jab416171|Cloud joined08:21
zorzar_ joined08:21
et twb: it usually (but does not have to) works over ssh, and provides repository- and branch-level access control, also logs stuff so you can see who pushed what ... etc08:21
luke joined08:22
bolt joined08:22
dcarper joined08:22
twb Oh, OK08:22
joeytwiddle joined08:22
dcarper left08:22
piti joined08:22
lukeGuest3731608:22
ed8 left08:22
ivan joined08:22
dcarper joined08:22
Valodim joined08:22
shibayu36 joined08:23
[E]sc joined08:23
twb (As you might have guessed, I am too lazy to do anything fancier than POSIX DACs)08:23
FACEFOX-DOT-COM left08:23
Guest37316crooksey08:23
monty joined08:24
hagebake left08:24
camdenx joined08:24
FACEFOX left08:24
_class___class__08:24
mattp_ joined08:25
Milossh joined08:25
Pugnax_ left08:25
h0bbit joined08:25
tsdh left08:27
babilen joined08:27
fission6 left08:27
twb Hm, I'm looking at gitolite's docs to see what it's special sauce is. Does it take the same approach as rrsync, where it adds advice via an authorized_keys forced command?08:28
marcogmonteiro joined08:28
camdenx left08:28
bla joined08:29
hagabaka joined08:29
hagabaka left08:29
hagabaka joined08:29
zeom joined08:29
zeomGuest9401608:29
pa joined08:30
FACEFOX joined08:32
Lord_DeathMatch joined08:32
achadwick joined08:32
userToto joined08:33
ipalaus_ left08:33
Geralt joined08:33
Geralt left08:33
Geralt joined08:33
delight left08:34
FACEFOX-DOT-COM joined08:34
ed8 joined08:35
userToto left08:35
userToto joined08:37
userToto left08:37
PigeonFriend joined08:37
kami8785 joined08:38
Targen left08:38
Vinnie_win left08:39
sitaram twb: lots of rum and coke went into the making of gitolite08:39
sauce, not so much08:40
userToto joined08:40
cmn so you're saying you were drunk when you wrote it?08:41
maestrojed left08:41
hagabaka left08:41
The-C0mpiler left08:41
PigeonFriend left08:41
Vinnie_win joined08:42
The-Compiler joined08:42
userToto left08:42
sitaram cmn: you know I like to be precise. Lots of rum and coke does not always mean drunk :)08:42
JackyJackyAlcine08:42
cmn sure, it does generally imply it08:42
sitaram twb: this may be a good starting point: http://sitaramc.github.com/gitolite/glssh.html (how gitolite uses ssh)08:43
cmn but I appreciate that you left the time-scale open08:43
twb sitaram: thanks08:43
papegaaij_ left08:43
PigeonFriend joined08:43
pmatthews joined08:44
twb cmn: there was still some blood in is alcohol stream08:44
s/is/his/08:44
userToto joined08:44
Vile left08:44
userToto left08:44
twb sitaram: yeah it looks like you take the same approach with gitolite-shell as the rrsync script does08:45
userToto joined08:45
theotherguy joined08:45
theotherguy left08:45
papegaaij joined08:45
gitinfo set mode: +v08:45
twb rrsync is a little perl thing that prevents rsync from accessing files it shouldn't, e.g. if you want to use rsync to back up /etc as root, but don't want the backup user to have write access as root to all of /08:45
sitaram twb: rrsync? I thought you typo-d rsync. Hmm...08:46
sitaram googles08:46
twb Nope it's a separate thingo08:46
It should ship with rsync08:46
In Debian it's in /usr/share/doc/rsync/examples/rrsync.gz IIRC08:46
hagabaka joined08:46
twb s/examples/scripts/08:46
JackyAlcineJacky08:46
netiru joined08:47
knopkodav joined08:47
userToto hello I've got a problem with Git and I don't know where it comes from : when I want to fetch from my devhost I get upload-pack failed to find object... and when I got a git gc it works why do I have to do this everytime ?08:47
I explained a little more my situation here : http://pastebin.com/Vdi3Cyan08:47
ed8 tg: you told about gitosis/gitolite, do you recommend a tutorial ? I would also be interested for one about git-web08:48
twb sitaram: example usage: http://paste.debian.net/165372/08:48
master-lincoln joined08:49
cmn userToto: your HEAD ref is messed up, make it point somwhere else08:50
but the real question is why are you merging on the server?08:50
ed8 does gitosis still under development ?08:50
twb sitaram: I haven't worked out if forced command actually locks out stuff like the internal-sftp server, or having sshd to chroot into /srv/vcs first, though08:50
scientes left08:50
thiago ed8: gitosis is no longer developed08:50
twb sitaram: kudos for your docs saying "if you deploy this, you ARE a sysadmin, bloody well go learn to use SSH properly" :-)08:51
sitaram twb: :)08:52
userToto cmn: why is it messed up ? as user 'developper1' I can see git log working the files don't change between 'commitUSER' and 'developper1'.08:52
ed8 thiago: should I install gitweb to manage my projects ?08:52
cmn git said it was messed up08:52
g00s joined08:52
userToto cmn: as for the merge on SERVER it's not my policy I have to do so08:52
shame joined08:53
cmn then change it08:53
thiago ed8: you can install gitweb, but it can't manage projects08:53
cmn it's only going to cause problems08:53
thiago ed8: I recommend gitolite08:53
ed8 thiago: is there a web UI with it ?08:53
babilen left08:53
userToto cmn: but it's only messed for one user not the other and also how to do I make it point to something valid ?08:53
sitaram twb: this will blow your mind: https://github.com/sitaramc/gitolite/blob/g2/contrib/adc/rsync (warning: not yet ported to gitolite v3; only works on v2.x)08:54
thiago ed8: ask the channel. I've never personally installed it. (never needed)08:54
ed8 is there a web UI with gitolite or should I isntall gitweb alongside ?08:54
cmn userToto: it's probably a permissions issue08:54
sitaram ed8: no web UI with gitolite but someone made one: google gitlab08:54
pro_metedor left08:55
cmn since you're trying to log in to someone else's computer and access their personal files08:55
agile left08:55
stodan joined08:55
twb sitaram: yeah that looks pretty similar, at least in intent if not execution08:55
satyanash left08:55
LekeFly joined08:56
sangi joined08:56
twb The main advantage of rrsync is it's tiny so you can just drop it somewhere and have it work08:56
sitaram twb: agreed; gitolite is overkill if all you want is rsync. But even if you want different permissions to different paths for the same user, rrsync won't cut it08:56
AFAICT08:56
userToto cmn: Ok will see if my umask is correct08:57
twb sitaram: correct08:57
sitaram: unless you have one key per share per user08:57
sitaram which they will hate you for :)08:57
twb Or you bind-mount all the shares into a common dir and allow access to it08:57
sitaram: usually I run both ends for my backup (not git) case ;-)08:57
And hey I am >this< close to forcing them to use browser-side TLS certs08:58
:-)08:58
tatsuya_o joined08:58
sitaram twb: if you do use this let me know so I can up the priority on porting rsync, because it will be quite different in gitolite v3.009:00
pro_metedor joined09:00
andreagelati joined09:01
master-lincoln left09:01
twb Unlikely that I'll give a shit in the near future, sorry09:01
OOPMan left09:02
ed8 when installing gitolite on a server for the whole company, what public key should I use in : gitolite setup -pk your-name.pub ?09:02
Pugnax joined09:02
ed8 If I use mine, will I be the only to have access to the repo ?09:02
e-ndy- left09:02
twb sitaram: incidentally, have you seen monkeysphere?09:02
ed8 I need other to get access to it09:02
twb sitaram: it uses gnupg to bolt a web of trust model on top of ssh authorized_keys09:02
e-ndy joined09:03
twb Including key revocation09:03
glcrazy left09:03
oehman joined09:03
fisted_ joined09:03
hsb_ left09:05
hsb joined09:05
_Qman joined09:05
satyanash_ joined09:05
noisebleed joined09:06
noisebleed left09:06
noisebleed joined09:06
cedeon joined09:06
fisted left09:06
thiago left09:08
whitman joined09:09
userToto cmn: Thanks it worked using find and adding the +x right to directories under .git :)09:09
bolt left09:10
userToto Bye09:10
Tocacar left09:10
userToto left09:10
dreiss left09:12
lindenle left09:13
PapaSierra left09:13
Vile joined09:14
project2501b joined09:15
project2501a left09:17
ssp_ joined09:17
g00s left09:19
Shusshu left09:20
mischat joined09:21
tsdh joined09:22
ocharles left09:23
_iron joined09:24
davidbanham left09:25
ocharles joined09:26
babilen joined09:26
ssp_ left09:27
davidbanham joined09:27
warthog9 left09:29
fuzzybunny69y left09:30
ed8 I'm trying to clone the gitolite-admin repo from my server with: git remote add origin git@moorea:repositories/gitolite-admin.git09:31
but I got the error:fatal: Not a git repository (or any parent up to mount parent /mnt)09:31
and : Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).09:31
does it ring a bell ?09:31
dr_lepper left09:32
dr_lepper joined09:33
wereHamster ed8: use git@moorea:gitolite-admin.git09:34
martinjlowm joined09:34
Jacky left09:34
_iron left09:36
xiangfu left09:36
ipalaus_ joined09:37
sitaram twb: monkeysphere? I've heard of it...09:39
Miika-- joined09:39
Miika-- Hello, on --pretty=format, what switch adds filename? I mean like %H adds the commit hash...09:40
twb Miika--: more than one file may be edited09:41
Miika--: perhaps you want --stat or --numstat ?09:41
Davey joined09:42
sitaram twb: oh damn; I'm getting old... http://sitaramc.github.com/gitolite/g2/monkeysphere.html09:42
bolt joined09:42
twb haha09:43
_Vi joined09:43
Per4u3e joined09:44
sitaram well that's a contributed doc and I forgot :)09:44
twb ah09:44
sitaram twb: honestly, sometimes I forget stuff I *wrote* so this is not that bad :)09:44
jackh left09:46
Geralt left09:49
Kicer86 joined09:49
thiago joined09:50
jalcine joined09:53
twb Miika--: I am doing some very nasty things which you might find appalling and/or interesting:09:53
git rev-list HEAD | while read i _; do git ls-tree -r $i; done | while read _ _ _ i; do echo $i; done | sort -u | while read f; do echo "$(git rev-list --count HEAD -- "$f") $f"; done | sort -nr > $PWD.total-manifest-by-count; git rev-list HEAD | while read h; do git show --numstat --oneline $h | { read h d; c=0; while read x y _; do c=$((c+x+y)); done; echo "$h $c $d"; }; done | sort -nk2 > $PWD.commits-by-size09:53
The-Compiler wow09:54
Miika-- twb: :)09:54
jalcine left09:54
Miika-- i just creaated an alias for log that produces xml-like output09:54
twb That generates two summaries in ../ -- one of the commits by their size (in number of lines added+removed), and one listing files by the number of commits made to them09:54
I'm doing those to find things to rebase + squash prior to publishing09:55
hgb_ left09:55
twb And then this to find commits that are probably squashable, with the aforementioned sorting by size:09:55
git show $(grep 'B\(l\(\(arg\|e\(rg\)?\)h\)\|raino\)\|F\(ix\|nord\|oo\|uck\)\|Meh\|Oops\|T\(weak\|ypo\)\|U\(gh\|ndo\)\|Whitespace\|Yuk\|b\(l\(\(arg\|e\(rg\)?\)h\)\|raino\)\|f\(ix\|nord\|oo\|uck\)\|meh\|oops\|t\(weak\|ypo\)\|u\(gh\|ndo\)\|whitespace\|yuk' $PWD.commits-by-size | cut -d' ' -f1)09:55
beautifulmind joined09:56
twb You could pass the same regex to git log -p --grep09:56
weiyang left09:56
Miika-- There's a list of placeholders for --pretty=format: but cannot find one that outputs changed filenames09:57
caseymcg left09:58
twb Well, good luck. It's pub time09:58
twb left09:58
J0rd4n joined09:58
Pugnax left09:59
tr-808 left10:00
cmn Miika--: that doesn't fit in a placeholder10:00
replore_ left10:00
cmn use --name-status or --name-changed10:00
--name-only sorry10:00
ikrabbe hi, is there a way to define an alias with arguments? git myAlias-CMD REVISION10:00
martinjlowm left10:01
cmn what got mixed up in there is that maybe you want 'git whatchanged'10:01
martinjlowm joined10:01
cmn ikrabbe: they're like that already10:01
fyolnish left10:01
mischat_ joined10:02
ehsan joined10:02
f0i left10:03
Miika-- I have it like this, but I would add changed filenames too10:03
ikrabbe cmn: so I can define “git config alias.myAlias '!'"echo \"Revision=$1\"; git show \"$1\""” i.e.?10:03
Miika-- http://stackoverflow.com/questions/6327276/parsing-git-log-output-preferably-as-xml10:03
fyolnish joined10:03
netiru left10:03
mischat left10:04
mischat_mischat10:04
batmanian joined10:04
andreagelati left10:04
ikrabbe my problem is, that I need the argument multiple times, not just as the last one, appended10:04
fyolnish left10:05
cmn ikrabbe: either that or you might have to define a function to use $110:05
ikrabbe: parse it10:05
Miika--: sorry, that first to ikrabbe was to you10:05
ikrabbe cmn?parse it?10:05
cmn yeah10:06
ikrabbe what does that mean?10:06
cmn the word parse?10:06
shuaib joined10:06
ikrabbe in this context10:06
shuaib how can I tell git on the command line which ssh key to use10:06
DofLeFou left10:06
ehsan_ left10:06
Kabaka joined10:06
cmn it means the same as in any other context, grab the output and figure out where stuff is10:06
ikrabbe you want to tell me to write a command that parses its arguments, right?10:07
ehsan left10:07
cmn yes10:07
Miika-- cmn: any links on that?10:07
ikrabbe hmm, that renders alias useless for that case, ok10:07
cmn ikrabbe: wait, I 'm getting my people confused10:07
ikrabbe: I mean function in the sense of a shell function10:08
c1de0x joined10:08
cmn '!f() { echo yada yada $1} f' is a typical construct10:08
shuaib I am getting permission denied saying public key issue, even though my keys are in ~/.ssh10:09
what could be the issue10:09
cmn I couldn't see any in the config manpage, but I'm sure the Internet is full of examples10:09
shuaib can I mention what key to use to git on the command line10:09
cmn shuaib: you need to configure ssh to use the right key10:09
ryannathans joined10:09
shuaib cmn, elaborate please?10:09
ryannathans git gui, best software out.10:09
for windows i couldn't get it working in comment prompt10:10
tr-808 joined10:10
ryannathans so i use the ui10:10
DofLeFou joined10:11
cmn shuaib: write the configuration in ~/.ssh/config to tell ssh which key you'd like it to use10:11
pro_metedor I need to update a submodule, but I don't see files I have added to the submodule10:11
what can I do to make them tracked?10:12
martinjlowm left10:12
martinjlowm joined10:12
netiru joined10:14
aJacom joined10:15
harish_ left10:15
master-lincoln joined10:16
Textmode left10:16
Radium left10:17
bobsleer joined10:19
DofLeFou left10:19
f0i joined10:21
JackyAlcine joined10:22
JackyAlcine left10:22
JackyAlcine joined10:22
JackyAlcine left10:22
jalama joined10:22
marhaban joined10:24
camdenx joined10:24
herdingcat left10:24
arietis joined10:25
camdenx left10:26
berserkr left10:27
DofLeFou joined10:29
berserkr joined10:30
jalama left10:30
glcrazy joined10:30
thierryp joined10:30
DofLeFou left10:34
shuaib left10:34
shruggar left10:34
iocor joined10:35
Per4u3e left10:36
DofLeFou joined10:36
marhaban left10:37
shruggar joined10:40
Per4u3e joined10:43
DofLeFou left10:44
borwar joined10:44
DofLeFou joined10:45
Altreus joined10:45
Altreus When I do `git fetch origin master`, and it receives stuff, should I expect origin/master to have advanced beyond master?10:46
using git log with --branches shows them all to be in the same place10:46
SicoWork joined10:47
FauxFaux Altreus: !four10:48
gitinfo Altreus: [!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).10:48
cmn in other words, no, because you've just told git not to update it10:49
pro_metedor_ joined10:49
Sitethief left10:49
Altreus Is there a doc I can read to get a better understanding of what fetch does?10:49
tsdh Altreus: git fetch --help ?10:50
pro_metedor left10:50
pro_metedor_pro_metedor10:50
Altreus key word "better"10:50
I read that and my understanding is at level 010:50
wello OK 110:50
tsdh Altreus: If that's the case, you'll probably won't need it anyway. ;-)10:51
cmn have you read progit?10:51
Altreus I have not10:51
cmn then do10:51
Altreus ok10:51
oh brillpads it's in ebook formats10:52
now I just need an ebook reader10:52
tsdh Altreus: http://progit.org/book/ You can also read it as PDF or HTML.10:53
Altreus I found it :)10:54
I might get the dead tree version10:54
oh maybe work will pay for it10:54
John___ joined10:54
j0ran joined10:54
f0i left10:55
jalcine- joined10:56
tsdh Altreus: Go for it. It's definitively worth it.10:56
kcm1700 left10:57
kcm1700 joined10:57
Pugnax joined10:58
Peste_Bubonica joined10:58
hyperboreean left10:59
hyperboreean joined11:00
elnn left11:00
j0ran left11:01
elnn joined11:01
thorpe_ joined11:01
enmand joined11:02
w09x_ joined11:03
jmd joined11:05
John___ left11:05
jmd How can I stop git from setting everything to read-only on reset?11:06
oogatta left11:06
w09x left11:07
ryannathans left11:08
aJacom left11:10
ChaoWang left11:11
fuzzybunny69y joined11:11
zdk left11:12
Vile1 joined11:14
Valodims1n1st3r11:14
s1n1st3rValodim11:14
tvw joined11:14
popcorn joined11:14
popcorn left11:14
cmn jmd: everything meaning what? the files in the worktree?11:15
that's probably a umask issue11:15
rchavik left11:15
Vile left11:15
FernandoBasso joined11:19
chronos left11:19
dc5ala left11:19
dekroning left11:19
rgr joined11:19
pro_metedor I am trying to commit a submodule modified file, but it is untracked. Git add doesn't work!11:20
http://book.git-scm.com/5_submodules.html11:20
Lord_DeathMatchLord_Deathmatch-11:20
rgr Hi, I have a pack file which is 320M ... dont know how or way. I'm at a stage where I dont mind losing old stuff in my git repo. Can I somehow get it to remove all code from say before a month ago? Or better to delete the repo completely and recreate?11:20
Lord_Deathmatch-L_DM-eating11:20
rgr (its failing to rsync across ssh to hostgator)11:21
n2diy joined11:21
marhaban joined11:22
w09x joined11:22
roflin_roflin11:22
pro_metedor git add a/a.txt11:23
fatal: Path 'a/a.txt' is in submodule 'a'11:23
TomyLobo left11:23
lapistan- left11:23
vervic joined11:24
lapistano joined11:24
cmn pro_metedor: why are you trying to add a submodule's file to the supermodule?11:24
skylamer` joined11:25
master-lincoln left11:25
pro_metedor I am trying to commit modified submodule file11:25
I have modified it but don't know...11:25
cmn go into its repo11:25
pro_metedor maybe I shotld commit it from inside a submodule dir11:25
cmn the submodule is a different repo11:26
w09x_ left11:26
cmn if you want to do stuff to it, do it there11:26
ndim Make sure that the submodule working dir has a branch checked out.11:26
cmn and that the branch makes sense11:27
or better yet, treat the submodule as what it is, which is a separate project11:27
pro_metedor you mean different than master?11:27
cmn if that's what makes sense11:27
pro_metedor yeah, I am getting it now11:27
yeah ok, I see11:28
RaceCondition joined11:28
subho joined11:29
marhaban left11:29
leo2007 left11:29
Burgov_ joined11:30
kcj left11:30
Burgov_ left11:31
burgov joined11:31
gitinfo set mode: +v11:31
burgov hi11:31
gitinfo burgov: welcome to #git, a place full of helpful gits. If you have a question, just ask it–somebody should answer shortly. For more information about git and this channel, see the links in the topic. It can't hurt to do a backup (type !backup for help) before trying advice you receive here.11:31
burgov I have one very large object in my repository (36 MB). How can I find out what it is and possibly get rid of it?11:31
rgr me too : a pack file thats 320M! Trying to find the same.11:32
FauxFaux There's a set of scripts called things like "git object sizes" that'll tell you what's huge.11:32
wereHamster burgov: google 'git find-large'11:32
marhaban joined11:33
ipalaus_ left11:33
FauxFaux rgr: I believe the easiest way to throw away old history is to man git replace large blocks of your history with a reference to a much older commit, or a new empty commit (git checkout --orphan), but it's messy.11:33
gitinfo rgr: the git-replace manpage is available at http://jk.gs/git-replace.html11:33
dv310p3r joined11:33
rgr FauxFaux: thanks. messy sounds bad ;)11:34
I'll look into that11:34
ipalaus_ joined11:34
FauxFaux Or, if it's recent or the history is short, just delete the commits from rebase --interactive, or something.11:34
Per4u3e left11:34
burgov that should be doable11:34
thanks for the tips11:34
fayaz left11:35
Per4u3e joined11:36
rchavik joined11:37
rchavik left11:37
rchavik joined11:37
iocor left11:37
ccc joined11:39
ChrisLE joined11:39
gitinfo set mode: +v11:41
lb left11:41
ChrisLE hi, is it possible to make commit or push rules like: your bracket is not set in the next line. You have not 3 spaces in befor your statement.11:41
lb joined11:41
Miika-- left11:41
jexmex_ joined11:42
Per4u3e left11:42
FauxFaux ChrisLE: Sure. You can run arbitrary code during hooks. Make them do whatever you want.11:42
ChrisLE ok, it calls git hooks?11:42
helium-3dilfridge11:42
FauxFaux Yes.11:42
Per4u3e joined11:43
ChrisLE ah ok, only code or maybe executeables?11:43
ccc left11:43
ketas left11:44
FauxFaux What?11:45
ChrisLE these rules are written in what? c, perl, python or what? And can I invoke a analyser.exe for example?11:46
FauxFaux It's a shell script (or maybe anything #!able? I have no idea.), so, yeah, you can just directly call analyser.exe.11:47
ChrisLE ah ok thx :)11:47
guampa joined11:47
ChrisLE can I bypass each hook or have I set it to my self?11:47
J0rd4n left11:49
linusoleander joined11:49
wereHamster a hook can be anything that can be any executable11:49
git simply exec()s the file11:50
ChrisLE ok thx I will take a look11:51
bartek joined11:51
mischat_ joined11:52
burgov left11:53
dr_lepper left11:54
mischat left11:54
mischat_mischat11:54
cannonball joined11:55
dv310p3r left11:56
RandalSchwartz joined11:56
RandalSchwartz left11:56
RandalSchwartz joined11:56
L_DM-eatingLord_DeathMatch11:58
LmAt joined11:58
J0rd4n joined11:58
J0rd4n left11:58
J0rd4n joined11:58
dr_leppe1 joined11:59
davidbanham left11:59
replore_ joined12:00
_Qman left12:00
n1x joined12:00
jackh joined12:00
_iron joined12:01
felgru joined12:01
mintux joined12:02
lihaitao joined12:02
mintux I want to push to remote over http but I got this error : error: unpack failed: unpack-objects abnormal exit12:02
master-lincoln joined12:02
burgov joined12:02
ChrisLE left12:03
Gentlecat left12:03
edude03 joined12:05
_Qman joined12:05
thierryp left12:05
gusnan joined12:06
thierryp joined12:07
i10neorg joined12:07
n1x left12:07
tsdh left12:07
ipalaus_ left12:08
jackh left12:09
jexmex_ left12:09
davidbanham joined12:11
leavittx joined12:12
jn_ joined12:13
keller joined12:14
marhaban1 joined12:14
jn_ Hi me and my friend is resting out git... we have two branches A and B if I push to branch B and my mate switched to B and do pull, it tells him repo is already up to date? Im using linux and he's using windows if it matters.. repos are on github12:14
testing *12:14
marhaban left12:15
jalcine- left12:15
thorpe_ left12:16
adhawkins jn, do you both have the branches set to track the remote branch (at github)?12:17
Briareos1 joined12:17
Briareos1 is there a way to auto generate simple commit messages ? e.g. "hello.txt was deleted ; 4 lines changed in foo.txt ..."12:17
cbreak-work Briareos1: sounds stupid. Can't you just use --stat or --numstat?12:18
thorpe joined12:18
gitinfo set mode: +v12:19
thorpe Anyone know any good resources on svn -> git migrations? Ive read a few but am still researching.12:19
bobsleer left12:20
cbreak-work man page for git-svn? :)12:20
Briareos1 cbreak-work: never heard of those - how do you enter them (not in manpage)12:21
thorpe Yeah, ive been using git-svn as a client for 6 months or so.12:21
jn_ <adhawkins> sorry can you tell me how I can check up on that ?12:21
adhawkins git remote -vv12:21
thorpe Just looking for some more info on a complete migration from svn to git.12:21
adhawkins It will list your branches, along with any remote branches they track12:21
jn_ on branch B i do your command and i get origin for pull and fetch12:22
adhawkins Sorry, git branch -vv12:22
My mistake12:22
marhaban1 left12:22
jn_ ah I think they differ12:23
adhawkins For example, I get:12:23
* schema-change-2012-04 90fb1a5 [origin/schema-change-2012-04] Add Number12:23
That shows my local schema-change-xxx branch is tracking the same one on origin12:23
jn_ my mate don't have origin when using that command, only me12:23
adhawkins If they're not, then you have two branches, one locally and one on origin12:23
bobsleer joined12:23
adhawkins Have him do12:23
chronos joined12:23
adhawkins git branch -u origin branchname12:23
fuzzybunny69y left12:24
adhawkins In the branch12:24
I think that should resolve it?12:24
ketas joined12:24
nrichards left12:24
g00s joined12:24
chronos left12:24
jn_ git complains about the -u i think12:24
think *12:24
error: unknown switch `u'12:25
adhawkins My head isn't working today12:25
Yuuhi joined12:25
adhawkins git push -u origin branch12:25
jn_ hehe :)12:25
camdenx joined12:25
Deck` left12:25
bobsleer why does git reports (for 1 of my 100 repo's) inconsistent tags list, between *git clone* and *git fetch (from a remote)*? I could provide more info with a public test repo.12:25
there's 1 tag not available after the *git fetch (from remote)*.12:26
jn_ my mate gets an : rejected non-fast-forward12:26
wereHamster bobsleer: git fetch --tags12:26
jn_: !non-ff12:26
bobsleer wereHamster: i try now12:26
wereHamster !nonff12:26
!ff12:26
gitinfo A fast-forward is a special type of merge where you have a revision and you are "merging" another branch's changes that happen to be a descendant of what you have. In such these cases, you do not make a new merge commit but instead just update to his revision. This will happen frequently on a remote-tracking branch of a remote repository. (From man gitglossary) See also:12:26
adhawkins jn_, he might need to explicitly merge the remote branch first12:26
wereHamster why is there no help for !non-ff ?12:27
marhaban joined12:27
jn_ Can my mate just reset only that branch to head ?12:28
oehman left12:28
et wereHamster: because no one created it - at least that's my guess12:28
bobsleer wereHamster: holy f*ck.. why without --tags, a part of tags are available?12:29
wereHamster: also thanx for your help12:29
camdenx left12:29
cbreak-work only those that point to things you're fetching anyway afaik12:30
jsoa joined12:30
sentinal8473 joined12:30
d0k joined12:30
mintux left12:31
mischat left12:31
zealiod joined12:31
zealiod whats the phrase i use in gitolite.conf to output debug info?12:31
bobsleer wereHamster: never mind, I read the man now12:31
tango_ left12:32
ehsan joined12:33
tango_ joined12:34
marhaban left12:35
jas4711 joined12:35
harshpb left12:36
cbreak-work Briareos1: they should be in man git-log12:38
gitinfo Briareos1: the git-log manpage is available at http://jk.gs/git-log.html12:38
cbreak-work or man git-diff12:38
gitinfo the git-diff manpage is available at http://jk.gs/git-diff.html12:38
BiggFREE left12:41
papegaaij left12:42
cchivers joined12:42
ripero left12:44
TrahDivad joined12:44
crane joined12:45
Bass10 joined12:45
freeed joined12:46
ceej joined12:46
gitinfo set mode: +v12:46
crane hi, im currently working in a branch but now i noticed a bug in master and want to fix it. but i dont want to commit... how can i handle this?12:46
oriba joined12:47
bobsleer left12:47
g00s left12:47
ipalaus_ joined12:47
cebewee joined12:48
cebewee hi everyone12:48
gitinfo cebewee: welcome to #git, a place full of helpful gits. If you have a question, just ask it–somebody should answer shortly. For more information about git and this channel, see the links in the topic. It can't hurt to do a backup (type !backup for help) before trying advice you receive here.12:48
et crane: option a) you commit, but don't push that branch, and amend that commit later12:48
cebewee is there a way to fetch an unreferenced commit from another (local) repository12:49
crane et: i remember some kind of cache where this "pre-"commit could be saved...?12:49
et crane: or you stash your changes, fix your stuff, then apply the stuff from stash12:49
crane yes... that was what i meant :D12:50
thanks12:50
leavittx left12:50
crane i forgott the stash ^^12:50
eightyeight left12:50
jacky joined12:51
iocor joined12:51
txomon left12:52
zealiod left12:53
cebewee (the commit is not actually unreferenced, but in a non-standard location: refs/testboard/$NAME)12:53
FernandoBasso left12:53
macabre joined12:53
eightyeight joined12:56
kukks joined12:56
harish_ joined12:57
ipalaus_ left12:57
n1x joined12:58
cebewee sorry, it seems i had some typo in there before -- now it works in the expected way13:00
glennpratt joined13:00
warthog9 joined13:01
neurodrone joined13:01
kaen left13:02
burgov left13:03
thierryp left13:03
Pugnax left13:04
herdingcat joined13:04
rtuin left13:05
kpreid left13:05
thierryp joined13:05
eerdogan left13:06
eerdogan joined13:06
_iron left13:07
Deck` joined13:07
bartek left13:08
eerdogan left13:08
eerdogan joined13:08
dekroning joined13:08
jexmex_ joined13:08
master-lincoln left13:09
shruggar left13:10
bglusman joined13:10
jexmex_ left13:10
shruggar joined13:11
revagomes joined13:11
SicoWork left13:11
herdingcat left13:11
the_cybersphinx joined13:12
isao joined13:12
cakehero joined13:12
_Vi left13:13
OOPMan joined13:13
t4nkd joined13:14
ishi hi :)13:14
cybersphinx left13:15
ishi I'm trying to fix something that was rejected in review in gerrit. I execuded the command gerrit suggested (the fetch && checkout).13:16
marhaban joined13:16
dv310p3r joined13:16
ishi next I did the checkout -b fix (as suggested by git)13:16
cybersphinx joined13:16
ishi I did the 'fixing'13:16
jas4711 left13:16
dekroning left13:16
selckin1 left13:16
ishi next, I did the commit --amend -a13:16
so far so good, or at least I think so ;)13:17
selckin joined13:17
ishi now I'd like to push the changes so that they can be reviewed again...13:17
so I do: git push origin fix:/refs/for/master13:17
which doesn't work13:18
shame left13:18
cebewee left13:18
cmn take a look at the refspec again13:18
ishi I get: [remote rejected] fix_pom -> /refs/for/master (not valid ref)13:18
cmn it's not a path13:18
ishi yeah... now I only need to find out which bit is the 'path' and wich is 'refspec' ;)13:19
cmn there is no path13:19
w09x left13:19
amigojapan joined13:19
iocor left13:20
the_cybersphinx left13:20
vectorshelve joined13:20
ishi I'm rading man git-push13:20
gitinfo the git-push manpage is available at http://jk.gs/git-push.html13:20
style joined13:20
cmn you're thinking too complicated, take a look at the refspec you gave push13:21
there's an extra slash13:21
vectorshelve I have been having changed files in my rep for a long time.. is it possible to list the files(changes) that have been done post a particular date ?13:21
ishi you mean the leading one?13:21
style Hi, any ideas why git clone works when I do it locally (git clone /var/git/asd) but when I do it over ssh (git clone ssh://user@server/var/git/asd) it says error: refs/remotes/origin/master does not point to a valid object!13:21
ishi wow... thanks13:21
now... I how I could 'get it' from the 'error message'... I don't know ;)13:22
cmn it tells you it's not a valid ref13:23
vectorshelve cmn: ^^ help13:23
master-lincoln joined13:23
cmn so you need to take a look at that part of the ref that gerrit would care about13:23
ishi so now I could go back to my work, by doing git checkout master, wait for the 'patch' to be reviewed, right?13:23
Geralt joined13:23
ishi cmn: well.. but if I put there foo/bar/goo, it'd just as well tell me that it's wrong13:23
in the same way13:24
codewrangler joined13:24
cmn right13:24
jrdavid joined13:24
cmn hm, does it have the same error string?13:24
I'd expect it to say that it doesn't exist13:25
ishi hmm...13:25
I'm affraid to check ;)13:25
I wouldn't be able to 'fix my workspace' if it, for some reason, worked ;)13:26
juanfer joined13:26
ericmuyser joined13:26
yoklov joined13:26
brngardner joined13:27
ericmuyser left13:27
cmn style: the first clone isn't a real clone, it just copies some stuff over in the filesystem13:27
kermit left13:27
cmn you should run git fsck on the repo13:27
nrichards joined13:27
r0bby joined13:28
yoklov left13:28
gitinfo set mode: +v13:28
vectorshelve I have been having changed files in my rep for a long time.. is it possible to list the files(changes) that have been done post a particular date ?13:28
the_cybersphinx joined13:29
cmn you can tell log when it should stop listing things13:29
but dates aren't very important for git13:29
r0bby_ joined13:29
dcarper left13:30
beautifulmind left13:30
cmn once you get the commit you want from log, you can use git diff --name-only <thatcommit>13:30
robbyoconnor left13:31
pro_metedor left13:31
jeby1 left13:32
kami8785 left13:32
yizumi joined13:32
kermit joined13:32
tyatpi joined13:33
cybersphinx left13:33
r0bby left13:33
jn_ Can I reset the branch Im standing on to master head, and only that branch ?13:34
AaronMT joined13:34
style cmn: fsck just says that threre is one dandling commit13:34
cmn: git clone over ssh works on windows btw, but not in other linux13:35
cmn that's really odd13:35
style indeed13:35
cmn maybe with GIT_TRACE=113:35
style cmn: output is the same as previous13:36
cmn right13:36
vectorshelve cmn: no in my case the files have been in changes state for a long time and not commited.. now I need the recently edited files among them13:36
cmn but the important thing is the debug output13:36
saml hey, what's good branching stuff? isn't gitflow so complicated?13:37
cmn vectorshelve: then use some script around ls -l or stat or something13:37
that's really not a git problem13:37
vectorshelve cmn: any command for it13:37
style cmn: I can't get any debug output13:37
cmn there is no command, I'd use some combination of ls, sort and awk13:37
vectorshelve cmn: k thanks man13:37
friskd_ joined13:37
cchivers left13:38
cmn style: can't meaning what?13:39
did you set GIT_TRACE=1?13:39
style in terminal yes, and after that I ran clone command13:39
sfiku left13:40
iocor joined13:40
cmn after as in after pressing enter?13:40
mrwalker joined13:40
friskd left13:40
friskd_friskd13:40
style oh sorry, I forgot to export it13:40
yizumi left13:40
linusoleander left13:41
amcsi_work hello13:41
gitinfo amcsi_work: welcome to #git, a place full of helpful gits. If you have a question, just ask it–somebody should answer shortly. For more information about git and this channel, see the links in the topic. It can't hurt to do a backup (type !backup for help) before trying advice you receive here.13:41
Geralt left13:42
saml hey amcsi_work13:42
amcsi_work git diff shows no modifications in my file, but git status shows a bunch with line ending errors13:42
ishi bugger... say, someone -2-ed my changeset. I fixed and pushed it (thanks cmn). Now on gerrit he +2-ed it, but it doesn't seem to 'catch on'13:42
amcsi_work maybe because I didn't convert my local files to dos yet13:42
how do I diff --name-only with also listing the line-ending different files?13:43
cmn ishi: catch on as in what? did you use a Change-Id?13:43
amcsi_work because it isn'T listing them13:43
saml can i checkout a tag?13:43
JohnyBaby left13:44
cmn you can checkout any commit13:45
bremner but beware !detached13:45
gitinfo A detached HEAD occurs when your HEAD does not point at a branch. New commits will NOT be added to any branch, and can easily be !lost. This can happen if you a) check out a tag, remote tracking branch, or SHA; or b) if you are in a submodule; or you are in the middle of a c) am or d) rebase that is stuck/conflicted. See !reattach13:45
cmn if that tag points to a commit, you can also checkout that tag13:45
rtuin joined13:45
saml so, i'm trying to have one remote master branch that's stable enough for production release.. and i tag the branch whenever i build a release candidate. when i need to release a hotfix, i checkout a tag, patch, and release?13:46
cybersphinx joined13:46
cmn no13:46
saml or do i create master and release branch on remote?13:46
cmn you commit on top of the release branch you have for that version13:46
saml development pushes to master and when things are stable merge master to release?13:46
so, remote has two branches: master and release13:47
each release gets a branch?13:47
ishi the change didn't become 'MERGED'... but it seems to be 'OK' now... I don't know what happened ;)13:47
cmn saml: each supported release should get a branch13:48
karsten joined13:48
saml i release daily.. so create a branch daily?13:48
w09x joined13:48
the_cybersphinx left13:49
ISF joined13:49
jackh joined13:49
cmn do you release a completely new version every day?13:49
dcarper joined13:49
cmn ok, so replace 'version' by 'minor version'13:49
JohnyBaby joined13:50
vectorshelve left13:50
saml i mean.. it's a web application.. tickets come in.. developers close ticket and release13:50
cmn then you do hot-fixes either on the stable branch or a branch off of that one13:50
and merge into the stable branch and whatever main dev branch you have13:51
saml yah13:51
TheHaven joined13:52
amcsi_work I want to have all the files listed in git status as changed so I can pipe and xargs them into a unix2dos13:52
but git diff --name-only isn't showing the files with only name changes13:53
cmn what are name changes?13:53
PerlJam --name-only doesn't do what you think it does :)13:53
cmn the -only is the counterpart to -status13:54
maxamillion joined13:54
ishi ok, now, if I understand it, I created a branch 'fix', but now I merged it to my 'master'... why do I still see branch 'fix' when I do git branch?13:54
w09x_ joined13:54
cmn because you never deleted it?13:54
maxamillion anyone know why running 'git branch' and 'echo $(git branch)' offer up such different output? and is there a way to make them the same?13:54
sebrock joined13:54
ishi how do I get rid of it... it was only 'temporary' branch for fixing the commit...13:54
cmn man git branch -d13:54
gitinfo the git-branch manpage is available at http://jk.gs/git-branch.html13:54
cmn maxamillion: different in what way?13:55
SkAzZ joined13:55
w09x_ left13:55
maxamillion cmn: did you run them?13:55
cmn yyes13:55
ishi cmn: do I want to do it? I mean... I don't want the changes from this branch to be lost, or something...13:55
cmn and the only difference is the one you're forcing on to it13:55
ishi: you merged it, no?13:55
then they're in the other branch as well13:55
maxamillion cmn: oh wait, nvm ... its the asterisk, the shell is globbing13:56
ishi I hope so, yes ;)13:56
et uh13:56
ishi ok, it seems to have worked ;)13:56
amcsi_work PerlJam: "--name-only13:57
Show only names of changed files."13:57
et maxamillion: switch to zsh, it doesn't do this madness ;) (at least not by default)13:57
ishi goes back to coding13:57
seoaqua left13:57
maxamillion et: I've pondered it13:57
DofLeFou left13:57
maxamillion anyhoo, thanks for entertaining my noob moment :D13:57
maxamillion left13:57
seoaqua joined13:57
satyanash_ left13:57
cmn maxamillion: why do you want to put branch through echo, anyway13:57
OOPMan left13:58
BarryCrayon joined13:58
seoaqua left13:58
gitinfo set mode: +v13:58
w09x left13:58
cmn it's porcelain, and doesn't guarantee stable output, so it's not something you should use in a script13:58
seoaqua joined13:59
seoaqua left14:00
seoaqua joined14:00
beautifulmind joined14:00
_Vi joined14:01
Gentlecat joined14:01
style cmn: problem was old version of git, it was 1.7.4 after upgrading to 1.7.10 it worked, thanks for your help!14:01
master-lincoln left14:02
fission6 joined14:03
alansaul joined14:03
ehsan left14:03
edude03 left14:03
marhaban left14:04
cmn style: that really shouldn't be a problem14:04
mritz joined14:04
cmn the wire protocol hasn't changed between them14:04
Amginequieropintardene14:05
style cmn: weird, but anyways upgrade helped so there is no problem anymore14:05
cmn is the repo public?14:05
style nope14:05
cmn ok14:05
sentinal8473 left14:06
eightyeight left14:06
eerdogan left14:06
quieropintardeneqieropintarnegro14:06
pro_metedor joined14:06
isao left14:07
marhaban joined14:10
CalimeroTeknik joined14:10
iocor left14:11
CalimeroTeknik I was slowly browsing though folders to git cat-file a given file at a given commit, and wondered, is there a faster way?14:11
through*14:12
oriba left14:12
CalimeroTeknik I had to run like, 15 git cat-file -p commands14:12
cbreak-work CalimeroTeknik: to do what?14:12
CalimeroTeknik it made me want to code a FUSE fs for git cat-file14:12
eightyeight joined14:12
CalimeroTeknik to cat a file but at its state at a given commit14:13
not at its current state14:13
cmn use show14:13
sagsousuke joined14:13
replore_ left14:13
cmn git show commit:path14:13
cbreak-work git cat-file is the best tool for that14:13
CalimeroTeknik oh! thanks14:13
ellisonch left14:13
dr_leppe1 left14:13
chepre left14:13
cbreak-work git show is the same with a similar syntax14:13
(for files)14:13
iocor joined14:13
cmn hm, yeah, nowadays, cat-file understands commit:path as well14:13
kini what's the point of having separate commands then14:14
CalimeroTeknik that's perfect, thanks14:14
cbreak-work cat-file is plumbing14:14
show is not14:14
they act differently for commits/trees14:14
and cat-file has more accessors14:14
CalimeroTeknik cat-file -p commit:file is like cat, show commit:file uses less14:14
amcsi_work please help me someone14:14
there has to be a simple way to do this14:14
pro_metedor left14:15
RaceCondition left14:15
RaceCondition joined14:15
dr_leppe1 joined14:15
CalimeroTeknik sorry amcsi_work but I didn't see a question; asking for help won't solve that14:15
LmAt left14:15
satyanash joined14:15
amcsi_work how do I list all the files that are modified by name-only, and including the ones with line ending changes only14:16
becuase git diff --name-only doesn't list the files with only line-ending changes14:16
Ineed to change those files with piping to xargs unix2dos to fix the line ending issues14:16
cmn you'd need to inspect them14:16
newbie999 left14:17
cmn or set up the automatic eof conversion14:17
amcsi_work there are like 100 files14:17
cmn or just pass all of them14:17
canton7 git status -s | grep M works for me...14:17
amcsi_work what automatic eof conversion? git is going to commit them in a different format which will show too many changes in the log14:18
pro_metedor joined14:18
beatak joined14:18
amcsi_work and how do I remove the M parts in them?14:18
cmn the automatic eof conversion git does if you tell it to14:18
amcsi_work autocrlf is on, if that's what you're saying14:19
Vile1 left14:19
cbreak-work you don't need dos2unix if you have autocrlf14:19
cmn he's using unix2dos though14:19
for whatever reason14:19
cbreak-work that'll be useless too14:20
since git will convert it back14:20
cmn right14:20
Vile joined14:20
cbreak-work disables all this line ending change stuff14:20
edude03 joined14:20
cmn the real solution is to fix the editor14:20
xsbeats joined14:20
ThomasLocke left14:21
cmn so yeah, disable the conversion, and pass your files through that filter14:23
airborn joined14:23
cmn you can probably convince grep to search for lack of ^M14:23
cbreak-work or just filter everything? :)14:23
syphar joined14:23
cmn that assumes that the filter is smart enough not to turn \r\n into \r\r\n14:24
alansaul left14:24
Jackneill joined14:24
master-lincoln joined14:25
amcsi_work My editor is fine. The editor of the people who uploaded the files to the ftp suck.14:25
camdenx joined14:25
cmn so you do have a place where you can know which ones are wrong?14:27
martinjlowm-lptp joined14:27
amcsi_work I converted a unix file that was marked as modified to dos, and now git doesn'T show it as modified14:28
camdenx left14:28
amcsi_work which is great14:28
now I want to do the same for the other 100 versioned, text files14:28
felgru_ joined14:29
cbreak-work files are supposed to be in unix format14:29
wereHamster for file in <all files>; do ...; done14:29
chrisgeorge joined14:30
amcsi_work yea, the <all files> is the part I'm stuck at. please help me with that14:30
wereHamster so.. all versioned files?14:31
amcsi_work yes14:31
mritz left14:31
cbreak-work ls-files14:32
felgru left14:32
edude03 left14:32
dfr|lghtninghall joined14:34
marhaban left14:34
FernandoBasso joined14:34
ipalaus_ joined14:36
resmo__ joined14:36
gusnan left14:36
Lord_DeathMatch left14:37
amcsi_work thank you!14:37
ben_alman left14:38
ehsan joined14:38
amcsi_work great, and now it only shows the real modified files as modified files now, cool14:38
newbie999 joined14:38
dcarper left14:39
amcsi_work btw, does core.autocrlf = true put files as LF in my repository automatically?14:39
new files14:39
or does only core.autocrlf = input do that?14:39
harshpb joined14:39
bgerber left14:39
thebignoise left14:39
cmn the actual rules are a bit more complicated and you're referring to the old way of doing things14:39
jmd left14:39
ISF left14:39
cmn if you want conversion, you should use attributes14:40
master-lincoln left14:40
resmo left14:40
JohnyBaby left14:40
amcsi_work could you show me a simple way of making it so automatic conversion would be made to all _newly_ added files and to make them be LF in the repo?14:41
iocor left14:41
lihaitao left14:42
leavittx joined14:42
gigamonkey left14:42
frogonwheels left14:42
JohnyBaby joined14:43
_Qman left14:44
vervic left14:44
RaceCondition left14:45
jatt joined14:45
Fullmoon joined14:45
amcsi_work you say gitattributes? If so, do I have to give every single type of text file extension and tell them each to be LF?14:46
cmn new files aren't special14:46
ben_alman joined14:46
Guest94016 left14:46
zeom joined14:46
cmn you can put '* text' and then say which ones aren't14:46
amcsi_work then I'd have to specify all the different kinds of binary files14:47
that is a lot of manual work, and is error prone14:47
I like git's built in binary detecting14:47
arvind_khadri left14:47
bgerber joined14:48
tuopppi_ left14:49
RaceCondition joined14:49
iocor joined14:50
amcsi_work do you disagree?14:51
Altreus left14:52
beautifulmind left14:52
pierrelechelle joined14:53
bartek joined14:54
tsdh joined14:55
eph3meral joined14:55
borwar left14:55
eph3meral so it appears we've lost a fair bit of data somehow, neither I nor my co-worker are quite sure how it happened or who's responsible, but we think it's probably because one of us (likely me) did a rebase and a force push without first pulling his changes14:55
juanfer left14:56
tizzo-afktizzo14:56
juanfer joined14:56
orspeeder joined14:56
orspeeder left14:56
crooksey left14:57
canton7 that would probably be it... force pushes are generally a bad idea in a shared situation14:57
speeder joined14:57
eph3meral he has since deleted his branch and so doesn't appear to have the history14:57
and neither do i14:58
speeder I saw on some git sites, the expression "pull request". What it means?14:58
qieropintarnegroAmgine14:58
airborn left14:58
eph3meral progit.org says that unless you try really hard, git still has all your info14:58
is this true? and how would I go about trying to find this stuff? or is it in fact just "gone" ?14:58
canton7 eph3meral, so he pushed some data and you overwrote it? The branch he deleted is probably in his reflog somewhere14:58
man git-reflog or !gka on his computer14:58
gitinfo the git-reflog manpage is available at http://jk.gs/git-reflog.html14:58
For a better way to view the reflog, try: gka() { gitk --all $(git log -g --format="%h" -50) "$@"; }; gka14:58
eph3meral ok thanks14:59
JackWinter left14:59
amcsi_work what does autocrlf = input do? Does that automatically enforce LF in the repo? Because I'd rather use that in windows then14:59
canton7 eph3meral, or you can try git fsck --lost-found on the server, look for dangling commits, and use git show / git cat-file -p to look at them. See if you can find the commit which was at the tip of the branch before it was rewritten14:59
Per4u3e left14:59
Dragooon joined14:59
canton7 speeder, conceptually, it's where I clone your repo, commit some changes, and send you a message saying "pull this repo, branch x, to get some awesome new changes"!15:00
speeder, sites like github formalise this, and allow you to send a message to someone else through github with all the required details filled in automatically15:01
eph3meral canton7, ok thanks I'll try that stuff15:01
canton7, oh and by the way "on the server" essentially means github.com15:01
JackWinter joined15:02
canton7 eph3meral, ah, don't think there's a way to do any recovery server-side then -- at least I haven't come across a way to with github15:02
dpino left15:02
slikts joined15:02
eph3meral canton7, ok, so I guess my only option is to check the reflog on his machine then eh?15:03
and $@ is the params list right?15:03
are there some other common params?15:03
as in, isn't $@ the argv array that gets passed to bash?15:03
(or rather that bash passes to a function?)15:03
speeder canton7: oh nice15:04
canton7 eph3meral, yup. and yes, that's what the $@ is -- it defines a function gka, then passes any arguments given to gka to the underlying gitk command. Tbh you probably don't need to pass any args though15:04
theCole joined15:05
oriba joined15:07
cooloney left15:07
pmatthews left15:07
neurodrone left15:07
davidbanham left15:08
ajpiano left15:08
angelsl left15:08
jsoa_ joined15:08
cbreak-work left15:09
eph3meral canton7, hmmm... so... git log = "the reflog" ?15:10
ajpiano joined15:10
bremner no15:10
JohnyBaby left15:10
bremner eph3meral: man git reflog15:10
gitinfo eph3meral: the git-reflog manpage is available at http://jk.gs/git-reflog.html15:10
eph3meral bremner, yes, apparently you haven't been following our conversation15:10
canton7 eph3meral, no. git-reflog = the reflog. git log can also get at the reflog, though, with -g15:10
eph3meral ahhh, -g is the reflog ok cool15:10
bremner eph3meral: well, missing context or not, git log != reflog15:10
pierrelechelle Hey guys, I've a little problem with Git (and Github), I'm trying to get directory on git without any files. I've create empty file in each directory, and Git still doesn't see directories. I can't get my gitignore to work (file : http://pastebin.com/ACp0sSwM)15:11
bumb joined15:11
jsoa left15:11
jsoa_jsoa15:11
thiago left15:11
PerlJam pierrelechelle: you want to put a non-empty file in each dir.15:12
bumb left15:12
PerlJam pierrelechelle: usually that's .gitignore that ignores everything15:12
luka12346 left15:14
luka12345 joined15:14
tsdh left15:14
resmo_ left15:16
bumb joined15:16
reels joined15:17
mikepack joined15:18
ToBeFree joined15:18
Mowsh joined15:18
ellisonch joined15:18
Guest38096 left15:18
bumb left15:18
hennekey joined15:19
pierrelechelle PerlJam: I've put an empty file in each directory and it's name is "empty", I've add a rule to the gitignore for that (!empty)15:19
PerlJam pierrelechelle: read what I wrote again :)15:19
pierrelechelle PerlJam: Can you explain it differently ? My poor english can't understand :D15:20
crane left15:20
style left15:20
PerlJam pierrelechelle: to store the directory structure in git, you need non-empty files that git is not ignoring to be in each directory.15:21
gitinfo set mode: +v15:22
harshpb left15:22
jim0203 joined15:22
JohnyBaby joined15:22
pierrelechelle PerlJam: I understand now ! But Git is not ignoring my empty file in cache and logs directory :s15:23
thierryp left15:24
kadoban joined15:24
LmAt joined15:24
isao joined15:24
TeckniX joined15:25
hennekey_hennekey15:26
ToBeFree left15:26
_hennekeyhennekey15:27
amcsi_work how do I delete the git status cache?15:27
cakehero left15:27
ToBeFree joined15:27
FauxFaux amcsi_work: Is there a git status cache?15:28
amcsi_work I dunno, but diff shows no difference in the files, but status says there is15:28
rockets joined15:28
aldodelgado joined15:28
FauxFaux amcsi_work: Probably autocrlf being terrible.15:29
bumb joined15:29
TomyLobo joined15:29
amcsi_work well, I turned it off15:29
bumb left15:30
RaceCondition left15:30
amcsi_work I don't know what I have to change to make the file not be considered modified15:30
gigamonkey joined15:30
amcsi_work when it's unix, it there is no diff, but the file is considered modified. when I convert it to dos, it shows all lines changed, and the file is considered modified15:31
harshpb joined15:31
oriba left15:31
amcsi_work what am I supposed to do (other than checkout) to fix this?15:32
jackh left15:32
hyperair left15:32
legnaleurc_ left15:32
RaceCondition joined15:33
thearthur joined15:33
gitn00b joined15:33
drvanon joined15:34
legnaleurc joined15:34
gitinfo set mode: +v15:34
amcsi_work left15:34
pierrelechelle PerlJam: Any idea ?15:34
gitn00b Is there a way to tell git that even though a file changed a lot across a rename, it's still the same file? The only way I can think of is to make two commits, one with all the changes, and a second one with the file rename.15:34
yoklov joined15:35
amcsi_work joined15:35
dfr|lghtninghall left15:35
FauxFaux gitn00b: Yep, that's the only way.15:35
amcsi_work I fsomeone answered me, I didn't receive anything, because I was disconnected15:35
gitn00b FauxFaux: Sigh, I wish you could explicitly mark renames. Oh well.15:35
mishok13 left15:36
Radium joined15:36
FauxFaux gitn00b: Come up with a way to store that information that fits within the existing git model, all the code to get log / diff / etc. to honour it, then convince over half of the mailing list that what you want makes sense, then!15:36
offby1 gitn00b: actually I like that git doesn't "know" a file's name.15:36
makes it simpler.15:36
gitn00b offby1: Two commits are better than one, I guess.15:37
mbreit_ left15:37
FauxFaux I still maintain that the detection of splitting of files sucks, but I can't be bothered to discuss it again.15:37
hyperair joined15:38
isao left15:38
Targen joined15:39
harshpb left15:39
gitn00b Speaking of git models, this reminds me: why doesn't git store a global commit index?15:40
yoklov So, I committed some code in master which I didn't end up liking, checked out a previous commit, branched from it, how can I get this back into master without ruining everything?15:40
gitn00b An index of all commits?15:40
pmatthews joined15:40
dvide left15:40
rchavik left15:40
xsbeats left15:41
bremner gitn00b: is this another mercurial troll?15:41
gitn00b This would eliminate: (1) detached HEADs (2) lost commits (3) slowdown to find a commit very far from a branch ref (4) bare repos15:41
irqq joined15:41
gitn00b bremner: I'm just wondering why does git not do this.15:41
Menno gitn00b: what's wrong with two commits?15:42
changes+renames are a nightmare in any VCS15:42
gitn00b Menno: No, not in any VCS. Only in some, like git.15:42
Menno: But two commits aren't too bad, agreed.15:42
dr_leppe1 left15:42
neurodrone joined15:42
Menno The ability to do it in one commit comes at a high price.15:43
Targen_ joined15:45
thiago joined15:46
tizzotizzo-afk15:47
Targen left15:48
lb left15:48
mishok13 joined15:49
dr_lepper joined15:49
dr_lepper left15:49
dr_lepper joined15:49
fyolnish joined15:49
maestrojed joined15:50
`Assassin left15:50
rtuin left15:50
e-ndye-ndy|afk15:51
jpalmer joined15:51
filier left15:51
jceb left15:51
yoklov figured it out, git branch -f master was what i was looking for.15:51
ology joined15:51
fling left15:52
enmand left15:52
jn_ left15:52
Radium left15:53
hwrd|work joined15:53
harshpb joined15:54
RaceCondition left15:54
JEntrep joined15:54
enmand joined15:54
dvgsvc left15:55
ronniy joined15:55
brngardner left15:56
chrisshattuck joined15:57
gitn00b left15:57
Icedream joined15:57
jeshwanth joined15:57
IcedreamGuest3718615:58
Guest37186 left15:58
Guest37186 joined15:58
Guest37186Icedream15:58
master-lincoln joined16:00
raatiniemi joined16:00
jeshwanth left16:02
amcsi_work By the way, core.autocrlf converts all new files' line endings to lf in the repo16:02
so it's pretty safe and good16:03
jeshwanth joined16:03
macmartine joined16:03
JohnyBaby left16:03
amcsi_work what's great about it is that when I see there are line ending problems, I know that I just have to convert all my files to end with CRLF on windows16:03
seoaqua left16:03
amcsi_work instead of checking per file which kind of line ending it should have16:04
wilmoore joined16:04
Vinnie_win What do I do to get git onto my mac?16:04
amcsi_work g2g bye16:04
harshpb left16:04
shruggar Vinnie_win: "port install git" probably works16:05
Vinnie_win thanks I will try that16:05
amcsi_work left16:05
mishok13 left16:05
Vinnie_win "port: not found"16:05
Davey left16:05
hwrd|work left16:05
shruggar install macports, then ;)16:05
harshpb joined16:05
haarg git is built in with newer versions of os x16:05
Vinnie_win strange because I'm on 10.7.316:05
Araxia_ joined16:06
haarg /usr/bin/git16:06
Mkaysi Vinnie_win: from git homepage, http://code.google.com/p/git-osx-installer/downloads/list?can=316:06
brngardner joined16:06
haarg or maybe it comes with xcode or something?16:06
pierrelechelle left16:06
yoklov left16:06
cmn Xcode bundles the dev tools, clang, git at least16:07
Davey joined16:07
dvgsvc joined16:08
Vinnie_win Mkaysi: I guess I will try that. I thought it was built in16:08
pandeiro joined16:08
jeshwanth left16:09
tchan left16:09
jeshwanth joined16:09
irqq left16:11
jeshwanth left16:11
cmn git isn't part of the standard packages of any OS16:11
hm, base packages might be a better way of saying it16:11
bremner it is in debian16:11
ok,16:11
hennekey left16:12
Davey left16:12
bremner but the distinction seems to be more important on MacOS than on a typical linux distro.16:12
fyolnish left16:13
FauxFaux Really should talk some of the distros into shipping etckeeper, which depends on /a/ vcs, by some point.16:15
Davey joined16:15
Destos joined16:16
harshpb left16:16
leavittx left16:16
aldodelgado left16:16
bremner FauxFaux: what do you mean by "shipping"? don't most distros make it available?16:17
pro_metedor left16:17
pro_metedor joined16:17
FauxFaux Heh. I meant "enable".16:17
haarg i think it used to be included with os x by default. now it comes with xcode.16:17
ShooterM_ left16:18
ShooterMG left16:18
ShooterMG joined16:18
ShooterM_ joined16:19
camdenx joined16:19
diegoviola joined16:19
pro_metedor left16:19
mritz joined16:19
reels left16:22
starsinmypockets joined16:22
BarryCrayon left16:22
cmn true, OSX does have some non-base Apple provided packages, and that includes git16:24
but most other packages, you'll have to build yourself using a third-party tool16:25
yoklov joined16:25
qt-x joined16:25
shirish joined16:25
starsinmypockets This is very basic but if pull from my upstream repo and add a branch (say, 'dev') - when I push this back up, it will ad the branch to the upstream repo?16:26
sayd joined16:27
tizzo-afktizzo16:27
maletor joined16:27
cmn add a branch as in create it locally?16:28
ph^ left16:28
cmn the push semantics depends on what you've configured16:28
by default, a 'git push' won't try to create branches16:29
jceb joined16:30
flijten left16:30
n2diy_ joined16:30
agile joined16:30
hydrozen joined16:30
adhawkins left16:31
LimeBlast left16:31
cmn starsinmypockets: ^^16:33
SegFaultAX|work joined16:33
n2diy left16:34
asedeno_work left16:34
Iota_ left16:34
Iota joined16:34
Iota I made a modification on a file without making a branch. I commited it so I was 1 commit ahead of the server. I then git checkout origin/master, how do I switch back to my other version? Using git branch it just shows "* (no branch)" and "master"16:34
asedeno_work joined16:34
williamcotton left16:35
cmn and what did you want to do when you ran 'git checkout origin/master'?16:35
Iota I wanted to see if the files there had changed (stupidly remembering after that I didn't push them). I'm still learning. :(16:36
cmn in the remote-tracking branch? that gets updated by fetch16:36
you modified whatever branch you were on16:36
Iota Ah yes. So checking out a remote branch is never a good idea?16:37
cmn rarly16:37
neersighted|AFKneersighted16:37
asedeno_work left16:37
Iota Ah, thanks. I've gotten back to where I was meant to be.16:37
theCole left16:38
arvind_khadri joined16:39
dcarper joined16:39
master-lincoln left16:40
vama89 joined16:40
JohnBat26 left16:40
dcarper left16:41
felgru_ left16:41
dcarper joined16:41
mishok13 joined16:41
leavittx joined16:42
TheHaven left16:42
starsinmypockets cmn - right, if I create a branch locally, will that be pushed up, or just the master (by default)16:42
cmn neither of them16:42
the default is 'matching' so it'll try to push any branches that have the same name16:43
take a look at man git config push.default16:43
gitinfo the git-config manpage is available at http://jk.gs/git-config.html16:43
starsinmypockets cmn I do have this in my config git config remote.unfuddle.push refs/heads/master:refs/heads/master16:43
thebignoise joined16:44
marc_kdab joined16:44
cmn I've never heard of that config option16:44
knopkodav left16:44
Dragooon left16:44
cmn and it doesn't exist on my version of the documentation16:45
ph^ joined16:45
cmn if it's an option for some third-party tool, git won't honour it16:45
pmatthews left16:45
poohtarou left16:46
ed8 left16:47
pandeiro left16:48
thearthur left16:48
gavin_huang left16:48
usmanity joined16:49
avinashhm joined16:49
fir31ight left16:49
gusnan joined16:49
Davey left16:49
starsinmypockets cmn interesting - it's unfuddle.com which is a project management tool... not sure what git's doing with it... I'll read those docs.. thanks16:50
cmn git's won't do anything with it16:50
sq-one joined16:50
cmn that tool might use git repos16:50
duckxx joined16:50
shirt left16:51
Poapfel left16:51
Poapfel joined16:51
neersightedneersighted|AFK16:52
berserkr left16:52
Shusshu joined16:52
berserkr joined16:54
asedeno_work joined16:54
avinashhm Hi friends , how do we create a http weblink to the current git repo .. we are having a working git repo in a group of 4 to 5 ppl .. we want a web interface ... something similar to kernel.org .. what things i need to install so create http links ..16:55
Mowsh left16:55
vama89 left16:56
JohnyBaby joined16:56
amigojapan left16:57
spaceonline joined16:58
Davey joined16:58
luxurymode joined16:58
elasticdog joined16:59
cmn kernel.org uses gitewb16:59
gitweb*16:59
avinashhm cmn, great .. thanks ... i will check gitweb and install ..17:00
iocor left17:00
eph3meral left17:00
cedeon left17:01
ipalaus_ left17:01
iocor joined17:01
starsinmypockets Is there a way to use git to show diffs between files and/or directories (not commits)?17:01
cmn just tell it what you want to diff17:01
nioncode joined17:02
elasticdog is there a plumbing command to see if a commit is necessary? http://hastebin.com/qeronupoga.sh17:02
I'm wanting to auto-commit things, but want to test and see if it's necessary after I've updated the index17:03
wereHamster elasticdog: check if working tree is dirty?17:03
test -z "$(git status -s)" && exit17:03
quick and dirty17:03
elasticdog that may work17:04
wereHamster of course it does. But it's still dirty17:04
iocor left17:04
BadCodSmell joined17:04
BadCodSmell How do I ignore a folder's contents but not the folder its self?17:05
elasticdog wereHamster: yeah, I'm wondering if there's a command like status that will give exit codes based on whether or not there is anything staged17:05
bolt left17:05
canton7 there is something... let me find it17:06
elasticdog note I do have a typo in that paste /ls-file/ls-files/17:06
PigeonFriend left17:06
shruggar left17:06
canton7 elasticdog, https://github.com/nvie/gitflow/blob/ab7fda21f1009d8cc073fc9ae6152731f6bfee8a/gitflow-common#L82 . It's not my code, and I don't know how well-advised those techniques are, but it's a start. a return value of 1 = unstaged changes, 2 = uncommitted changes17:07
iocor joined17:07
elasticdog BadCodSmell: is the trouble that it's not including the "empty" folder because of your ignores?17:07
canton7: thanks!17:07
Dave^| left17:08
upasna left17:09
thelazydeveloper joined17:09
cmn BadCodSmell: git doesn't track directories17:10
jatt left17:10
Targen joined17:10
JohnyBaby_ joined17:10
yoklov left17:10
Targen_ left17:11
canton7 BadCodSmell, stick a .gitignore with the contents "*" in that folder, and track that .gitignore17:11
elasticdog BadCodSmell: in order to include the directory, you'd have to commit a hidden file or something under it17:11
achadwick left17:11
elasticdog that's a nice solution canton717:11
ipalaus_ joined17:11
isao joined17:11
codeshah joined17:12
iocor left17:12
upasna joined17:13
wbednarski joined17:13
dreiss joined17:13
kadoban left17:14
isao1 joined17:14
cakehero joined17:15
isao left17:16
brngardner left17:16
williamcotton joined17:16
bolt joined17:17
brngardner joined17:18
brngardner left17:18
rockets left17:19
akiress joined17:20
Spockz left17:20
master-lincoln joined17:21
gigamonkey left17:21
thierryp joined17:21
yoklov joined17:22
poohtarou joined17:22
dstorrs left17:23
gigamonkey joined17:23
jeshwanth joined17:24
kenperkins joined17:25
fisted_ left17:25
NukeTanuki joined17:25
MyTallest joined17:28
marcogmonteiro left17:30
jstout24 joined17:30
netiru left17:30
blorbx left17:30
kevinfagan left17:31
elasticdog canton7: `git diff-index --cached --quiet HEAD` was exactly what I needed...thanks!17:31
vama89 joined17:31
Dave^| joined17:32
OOPMan joined17:32
jeshwanth left17:33
tchan joined17:33
ColKurtz joined17:34
quazimodo left17:34
quazimodo joined17:34
sq-one left17:35
spaceonline left17:35
brngardner joined17:36
h0bbit left17:36
Targen left17:36
osmosis joined17:38
fir31ight joined17:40
RaceCondition joined17:41
RaceCondition left17:41
krz joined17:41
mikepack left17:41
aristidesfl1 joined17:41
aristidesfl1 left17:41
irqq joined17:41
ben225 joined17:42
RaceCondition joined17:44
berserkr left17:44
canton7 elasticdog, cool :)17:44
yoklov left17:44
whitman left17:44
babilen left17:44
ntelford joined17:45
gitinfo set mode: +v17:45
tvw left17:45
ntelford can you commit a single file irrespective of what's staged for commit?17:45
i.e. git commit -m <msg> <file>17:45
Vile left17:47
_sundar_ left17:48
cbreak ntelford: yes17:48
but I recommend against it.17:48
ntelford excellent17:48
cbreak and I recommend against using -m too17:48
ntelford cbreak, why?17:48
to both questions17:48
cbreak -m because it makes people write shitty oneliners as commit messages17:49
j416 joined17:49
cbreak singlefilecommit because of granularity and workflow considerations17:49
alberto56 joined17:49
Spockz joined17:50
lausi left17:50
lausi joined17:50
ntelford cbreak, the -m one I understand17:50
chrisshattuck left17:50
ntelford the only reason I wanted to commit a single file was because I had a small change that was orthogonal to my current set of changes already staged17:51
alvaro_o joined17:51
cbreak well, it's your choice17:51
technically there's no problem17:51
but if you get used to it, you might do it once and then later notice that you committed two orthogonal things because they happened to be in the same file17:51
btanaka joined17:52
cbreak or that you committed something that does not compile but you never tested that because of side effects of your other changes17:52
infogulch|afkinfogulch17:52
fission6 left17:52
cbreak as with everything in git: You have the power, you just have to know how to use it :)17:52
talexb joined17:54
fir31ight left17:55
oso96_2000 left17:55
squentin left17:55
squentin joined17:56
fir31ight joined17:57
isao1 left17:57
isao joined17:57
jameswarren left17:57
DerekPioneer left17:59
asedeno_work left17:59
asedeno_work joined18:01
Gentlecat left18:01
Gentlecat joined18:02
Chillance joined18:02
candybar left18:02
shruggar joined18:02
gigamonkey_ joined18:03
sneakyness_wk joined18:03
pandeiro joined18:03
berserkr joined18:03
bartman left18:03
dreiss left18:03
oso96_2000 joined18:04
gigamonkey left18:04
gigamonkey_gigamonkey18:04
sigmonsays joined18:04
sigmonsays Is there an ascii way to print all branches as a tree of where they stem from?18:04
ceej left18:04
scientes joined18:04
ISF joined18:04
syphar left18:05
cmn --graph shows the commits as a graph18:05
with --oneline for readability18:05
drvanon left18:06
sigmonsays thank you18:06
cbreak throw in --decorate18:07
gigamonkey left18:08
milki --extra-icing18:08
--with-a-cherry-on-top18:08
Araxia_ left18:09
elasticdog log --all --date-order --oneline --graph --decorate -M -C18:09
Araxia_ joined18:09
bartman joined18:10
soc42 joined18:10
elasticdog I alias `git lo` to that, and sing to myself every time I type it18:11
alvaro_o left18:12
quazimodo left18:13
Nibato left18:13
Textmode joined18:14
ulm joined18:15
NukeTanuki git lo, git lo, it's off to code I go...18:16
kermit left18:16
scientes left18:17
scientes joined18:17
dreiss joined18:17
adhawkins joined18:17
idl0r joined18:18
Nibato joined18:18
e-ndy|afke-ndy18:19
ulm hi, I've a repo that was converted with svn2git, but unfortunately some of the commits contain a bad author line18:19
git fsck reports:18:19
error in commit 09c857cb2313767cc108e8933bcc5f1f58f53324: invalid author/committer line - missing space before email18:19
so my question is, is there any way to fix these commits?18:20
cmn rebase -i and edit them; use commit --amend --author=...18:21
jlebar left18:21
BadCodSmell left18:21
kevlarman filter-branch might be more practical depending on the number of affected commits18:21
ulm cmn: I've tried that already, but it chokes at the bad commits18:21
and generates merge conflicts as well18:22
cmn of course it chokes, that's when you fix it18:22
but the flattening of the history will be a problem, so try with filter-branch, like kevlarman said18:22
senny left18:23
ulm kevlarman: 15 commits out of a total of about 100018:23
Vile joined18:23
ulm ok, I18:24
'll look into filter-branch then18:24
thanks18:24
arvind_khadri left18:25
janhouse joined18:26
janhouse error: The following untracked working tree files would be overwritten by merge:18:27
nowhereman joined18:27
janhouse how can I ignore those?18:27
as in, leave my own and just... I dont'know. remove them from the repo? no clue.18:27
jim0203 left18:27
idl0r git stash18:28
ipalaus_ left18:28
bremner I don't think that will help here18:28
yoklov joined18:28
janhouse so, what would?18:29
bremner janhouse: is this a one-time thing, or you want to permanently untrack the file?18:29
sneakyness_wk left18:29
janhouse well it is a different configuration file that I want to ignore on this box.18:29
like forever18:29
the whole app/Config/ folder.18:30
bremner ah, so I guess you want !config18:30
gitinfo [!configfiles] the recommended way is to change your application so that you can (perhaps optionally) store site-specific configuration/data in separate files, then keep those files out of version control. Still, see https://gist.github.com/1423106 for ways people have worked around the problem.18:30
nowhere_man left18:30
bremner in particular the link18:30
janhouse and then there is some stupid log folder that was added. can I remove that one?18:30
chrisshattuck joined18:31
Nibato left18:31
iocor joined18:33
iocor left18:34
felgru joined18:34
jameswarren joined18:34
TravisCarden joined18:34
janhouse how can I untrack stuff in git?18:34
TravisCarden left18:34
kevlarman janhouse: git rm18:34
(--cached if you want your working copy to stay around)18:35
shruggar1 joined18:35
Nathandim joined18:35
shruggar left18:36
spaceonline joined18:36
talexb I'm interested in using a post-commit hook, but I have Linux and Windows users .. will the same hook work on all platforms?18:36
janhouse git rm --cached?18:36
hmm18:36
raatiniemi left18:37
_iron joined18:37
Russell^^ joined18:37
talexb To complicate matters, I have command line users as well as Eclipse users going through eGit .. which I've heard doesn't just map the UI to git commands, but rather talks to the git repo directly.18:37
jacky left18:39
pdtpatrick left18:39
Nibato joined18:40
shruggar1 left18:41
jsoa_ joined18:43
juanfer left18:44
juanfer joined18:44
jsoa left18:45
jsoa_jsoa18:45
StubbornTurtle joined18:45
StubbornTurtle For some reason, after rebasing a feature branch ("git rebase master"), it won't let me push that branch anymore. It gets rejected. However, if I pull, it starts taking me through all of the same merge conflicts I just dealt with in the rebase…. why?18:47
hydrozen left18:47
milki explain wont let you push18:48
Dave^| left18:48
FauxFaux You can't push because you just !rewrit your history. Pull also makes no sense anymore.18:48
gitinfo [!rewriting_public_history] 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)18:48
StubbornTurtle So, should I not have rebased in the first place? Done a merge instead?18:49
vama89 left18:49
FauxFaux As is normally the case with git, it depends what you want. Sounds like you either want to: a) Delete your feature branch and push what you have to master, or b) force the push to your feature branch and ignore the consequences.18:50
eli left18:50
vama89 joined18:50
ISF left18:51
StubbornTurtle FauxFaux: I'm trying to use it as a working branch. Making changes, and them being merged into master every once in a while.18:52
FauxFaux: I'm rebasing to bring in the latest changes from master into my feature branch so I can be working on the "latest greatest"18:52
brngardner left18:54
mikepack joined18:54
stodan left18:54
jsoa left18:54
EuroTrash joined18:55
wedgeV joined18:55
jsoa joined18:55
EuroTrash How do I tell git not to use my ssh key but prompt for a password instead?18:55
ipalaus_ joined18:55
wedgeV hi, how would i get a list of commits to a branch that happened after a certain commits for which i have the SHA?18:56
FauxFaux EuroTrash: That's an ssh setting. Although, for it to happen, the server must be accepting your ssh key. Do you have a weird authorised_keys setup?18:56
wedgeV i tried "git log --since <sha> <branch>", but not sure wether that works18:56
FauxFaux wedgeV: git log [sha1] # does that, doesn't it?18:56
Oh, after.18:56
EuroTrash FauxFaux: bitbucket might have...18:56
FauxFaux EuroTrash: Do bitbucket allow passwords at all?18:57
EuroTrash FauxFaux: yeah, I've done it on other machines that don't have ssh keys.18:57
codeshah left18:57
EuroTrash I suspect this key is added to a different account than the one I'm trying to clone from.18:57
FauxFaux [email@hidden.address] doesn't support passwords. At all.18:57
dreiss left18:58
wedgeV FauxFaux: git log <sha>..<branch> maybe?18:58
FauxFaux: it seems to work, but i don't really understand what that command exactly does18:58
EuroTrash FauxFaux: I'm pretty sure I've used passwords before, not sure if it was git@ though.18:58
FauxFaux wedgeV: ".." means between. So from that commit until the commit that's at the top of the branch.18:58
EuroTrash: I'd wildly guess that you were using an https url instead. man git remote if you want to change url.18:59
gitinfo EuroTrash: the git-remote manpage is available at http://jk.gs/git-remote.html18:59
wedgeV FauxFaux: ok, thats what i want, thanks!18:59
EuroTrash Odd, this key is on my account.19:01
EuroTrash is baffled19:01
FauxFaux EuroTrash: !ssh19:01
gitinfo EuroTrash: [!gitolite_ssh] See http://sitaramc.github.com/gitolite/sts.html for steps to troubleshoot ssh/gitolite19:01
EuroTrash Woa it works now.19:01
Must have been a hickup19:02
isao left19:02
EuroTrash Thanks for the pointers anyhow19:02
eli joined19:02
brngardner joined19:04
jargon- left19:04
redstone joined19:04
n1x left19:05
redstone left19:06
nax joined19:06
naxGuest3297519:06
iocor joined19:06
isao joined19:07
JohnyBaby left19:09
francisfish joined19:09
Peste_Bubonica left19:10
thirdknife joined19:11
JohnyBaby_ left19:11
dreiss joined19:11
marthinal left19:13
mister_m joined19:14
Peste_Bubonica joined19:14
osmosis left19:15
codewrangler left19:15
brngardner left19:16
osmosis joined19:16
Shusshu left19:16
ToBeFree left19:16
quuxman_ left19:16
gtrak joined19:16
gtrak hey, is there any way to to make a git svn clone go faster? the svn server is local to my box and it's not using https19:17
j416 left19:17
cmn use the filesystem instead of going through the svn protocol19:17
other than that... it's a slow process19:17
luxurymode left19:18
gtrak oh? how do I do that?19:18
soc42 left19:19
sq-one joined19:19
cmn you use file:///path/to/repo19:19
r0bby_robbyoconnor19:19
gtrak ah, excellent19:19
drizzd joined19:20
osmosis left19:21
gtrak that's brilliant19:22
ntelford left19:22
gtrak i imagine it also avoids any interuption errors from the server19:23
ipalaus_ left19:23
cmn no idea what that is19:23
ISF joined19:23
cmn basically, all the reading from svn is done by svn itself, so whatever makes svn fast will work here as well19:24
gtrak ah, I did not know that19:24
spaceonline left19:24
shruggar joined19:24
selckin linux?19:24
subho left19:25
gtrak windows actually19:25
gitinfo set mode: +v19:25
gtrak everything's cygwin19:25
tatsuya_o left19:25
selckin it'll be about 100x faster if you conver it on linux19:25
no joke19:25
asoltys hi, I want to remove multiple files at once with one call to git rm. some have spaces in the filename, so I've quoted them in double quotes. I've put the list of files in a bash variable but i think i'm getting bash variable or quote interpolation wrong somewhere. can someone help me? https://gist.github.com/250222319:26
spaceonline joined19:26
gtrak how about a linux vm?19:26
CannedCorn joined19:26
gtrak selckin, why would that be the case, though?19:27
selckin possiblty, its mostly cygwins fault & perl, there is always some wua thing you can turn off that gives a little improvement19:27
gtrak it doesn't seem like an I/O problem, and cpu usage is right weird, 46% usage, yet system idle process is at 75%19:28
doing the 'show processes from all users'19:28
selckin trust me, you won't believe your eyes if you run the same command on linux from the text flying by, while its now like 1 line a second19:28
kevlarman asoltys: you have too many quotes19:29
asoltys: just use tab completion to escape them properly19:29
gtrak if I do it in my dual-boot install, can I move the git repo over to a windows fs and still work with there?19:29
selckin it wil19:29
gtrak it'll be alright?19:29
selckin yes19:29
gtrak awesome19:30
will do, then19:30
h0bbit joined19:30
gtrak left19:30
asoltys kevlarman: i actually have a list of over a hundred that i want to put into a bash variable, so what would be the right way to quote them assuming i wanted to pass them as a variable?19:34
gtrak joined19:34
kevlarman asoltys: um, how are you generating this list?19:35
asoltys: sounds like you should be using xargs or something instead of trying to stuff it in a variable19:35
asoltys it's the result of a find command. i'm going to be doing it in a filter-branch operation on my whole history so i'm looking for performance hence trynig to avoid xargs or looping19:36
marcogmonteiro joined19:36
FACEFOX left19:36
kevlarman asoltys: xargs is fast19:36
asoltys: though you can just find -exec git rm --cached --ignore-unmatch {} + to skip the extra pipe19:37
(+ does xargs style expansion rather than calling it for each file)19:37
gusnan left19:38
asoltys i'm trying to avoid doing even the find every time though by doing it once up front and caching the results in a variable19:38
gtrak left19:39
selckin is it actually slow? the fs stuff will be cached by the OS, find should be instant19:39
after the first time19:39
FACEFOX joined19:39
FACEFOX left19:39
spaceonline left19:39
kevlarman asoltys: git ls-files is fast19:39
if you want to avoid the fs hit19:39
FACEFOX joined19:39
FACEFOX left19:39
asoltys selckin: it is slow, yeah. and i'm not sure why so experimenting with different things. i also tried doing the whole filter operation in my /run (tempfs) mounted folder so it would all be done in memory19:39
cmn if tempfs is slow, the problem is somewhere else19:40
Aaeriele joined19:40
kylef joined19:40
bartek I dont seem to understand git pull --rebase. Will git basically put anything on my branch up and push any merged changes below those?19:41
asoltys i guess it's just a lot of (large, binary) files and a lot of revisions.19:41
kevlarman recursing over a tmpfs is still slower than reading the list from the index19:41
selckin unless he has 100s of thousands of files shouldn't notice much19:42
freeed left19:42
iocor left19:42
kevlarman selckin: actually it makes a huge difference when you switch from a tree filter to an index filter19:42
asoltys give me a sec and i'll paste the full command i'm using19:42
freeed joined19:42
e-ndye-ndy|afk19:43
kevlarman even writing to tmpfs is slow when you have to do it for every commit19:43
FACEFOX joined19:43
selckin find over my 30gb of source code is like 0.5s19:43
FACEFOX left19:43
asoltys kevlarman: i am using index-filter btw19:43
FACEFOX joined19:43
FACEFOX left19:43
kevlarman selckin: now multiply that by 5k commits19:43
drizzd_ joined19:44
selckin and divive by 300x less files19:44
RaceCondition left19:44
danmackay_danmackay19:44
FACEFOX joined19:45
FACEFOX left19:45
freeed left19:45
d0k left19:45
astm joined19:45
_Vi left19:45
d0k joined19:45
FACEFOX joined19:45
FACEFOX left19:45
astm left19:46
jargon- joined19:46
asoltys shiver me timbers.. seems to be working reasonably fast now using the find -exec command you posted earlier kevlarman.19:46
well, thanks :D19:46
FACEFOX joined19:46
FACEFOX left19:46
spaceonline joined19:47
drizzd left19:47
idl0r left19:48
jceb left19:48
FACEFOX joined19:48
vpopov joined19:49
cjb` joined19:50
cjb` left19:51
cjb joined19:51
cjb Oops, I just did "rm .git/index" instead of "rm .git/index.lock". Any tips?19:51
gtrak joined19:51
cjb (I don't need to recover any changes, just want to get an index back.)19:52
selckin clone again?19:52
kylef left19:52
Tasser joined19:52
cjb ah, found something:19:53
selckin: http://robots.thoughtbot.com/post/8484599870/how-to-fix-rm-f-git-index19:53
singingwolfboy joined19:53
singingwolfboy When I run `git commit`, my editor opens with a listing of the files that were changed in the commit. Is there a way to make it instead display the full diff for that commit?19:54
selckin if you don't need to recover, seem like the obvious way to fix anything :)19:54
cjb selckin: obvious but slow; it's a kernel repo.19:54
Vert left19:54
selckin true19:54
cmn cjb: read-tree19:55
cjb cmn: yep, that's what the URL says, thanks19:55
spaceonline left19:55
cjb it worked19:55
kevlarman singingwolfboy: -v19:55
cmn or read-tree HEAD if it's being stubborn19:55
cjb ("git read-tree --reset HEAD")19:55
kermit joined19:55
sp3ctum left19:55
kevlarman singingwolfboy: although that isn't commented out, so it's up to you to deal with the diff somehow19:55
cmn doesn't it get created under the three dashes?19:56
nevermind, that's git-am, nothing to do with commit19:56
Fleep joined19:56
airborn joined19:57
Jackneill left19:59
Poapfel left20:00
ronniy left20:01
spaceonline joined20:03
kadoban joined20:03
Poapfel joined20:03
beatak_m joined20:03
Davey left20:04
ogzy joined20:04
thirdknife left20:04
ogzy when i was commiting, i excidentally wrote git commit -m"message" so all my changes are sent, but i was planning to do it only for one file, how can i fix it?20:04
selckin did you push already?20:05
StubbornTurtle left20:05
ipalaus_ joined20:05
selckin git reset HEAD^, the undo the last commit20:05
ogzy selckin: no20:06
beatak left20:06
ben225 left20:07
FernandoBasso left20:07
enmand left20:09
skylamer` left20:09
Davey joined20:11
nutron joined20:12
tatsuya_o joined20:12
francisfish left20:12
i10neorg left20:14
i10neorg joined20:14
oriba joined20:14
whitman joined20:14
cmn if you didn't push, your changes weren't sent anywhere20:14
use commit --amend20:14
francisfish joined20:14
Dave^| joined20:14
beatak_m left20:14
cjb left20:15
keller left20:15
brngardner joined20:16
Milossh left20:16
janhouse left20:16
ogzy cmn: git reset HEAD^ was fine20:17
janhouse joined20:17
Milossh joined20:17
FACEFOX left20:17
isao left20:19
francisfish left20:19
FACEFOX joined20:19
imarcusthis left20:20
selckin yw20:22
blorbx joined20:22
brngardner left20:23
Sigma left20:23
marcogmonteiro left20:24
imarcusthis joined20:24
speeder left20:25
na3r left20:25
user64 joined20:25
janhouse left20:26
dabd joined20:26
ehsan left20:26
ehsan joined20:26
isao joined20:27
singingwolfboy left20:29
hagabaka left20:29
teweWORK joined20:29
drizzd_ left20:31
nevyn joined20:32
marcogmonteiro joined20:32
claaud joined20:32
claaud left20:33
ipalaus_ left20:33
FreeArtMan joined20:34
sq-one left20:34
FreeArtMan left20:35
user64 left20:35
Icedream left20:36
whitman left20:36
spyro left20:36
ShadeTornado joined20:36
RaceCondition joined20:38
sayd yay or nay on submodules for dependencies?20:38
selckin nay20:38
cmn nay for the most part20:39
sayd better alternative?20:39
cmn that depends on what you want to do20:39
selckin for a problem you haven't explained20:39
sayd so20:39
cmn but, you know, 4220:39
ipalaus_ joined20:39
RaceCondition left20:39
sayd :)20:39
elasticdog left20:39
sayd i have a dependency on twitter bootstrap, which has its own git repo.20:40
right now its added as a submodule to vendor/bootstrap20:40
usmanity left20:40
sayd im not sure how to keep things in sync as different commits of my super repo may be tied to different commits of the submodule repo20:41
janhouse joined20:42
Davey left20:43
dabd left20:43
vpopov left20:44
Vert joined20:44
ben225 joined20:45
ulm left20:45
nemish1 joined20:45
nemish1 left20:46
brngardner joined20:47
jsoa left20:49
spaceonline left20:51
pdtpatrick joined20:51
gigamonkey joined20:52
janhouse left20:52
janhouse joined20:52
spaceonline joined20:53
neersighted|AFKneersighted20:56
marhaban joined20:56
NukeTanuki left20:58
irqq left20:58
babilen joined21:00
thirdknife joined21:01
ben225 left21:02
janhouse left21:02
janhouse joined21:03
chrisshattuck left21:03
fisted joined21:03
jatt joined21:03
ben225 joined21:04
ceej joined21:04
pantsman left21:04
rurufufuss left21:04
mister_m left21:05
whitman joined21:07
mrwalker left21:09
martinjlowm-lptp left21:09
martinjlowm-lptp joined21:09
cannonball left21:11
mishok13 left21:11
spyro joined21:12
Quadrescence left21:12
janhouse left21:13
janhouse joined21:13
MyTallest left21:14
Quadrescence joined21:16
isao Hiya.. so I have an svn repo S and a git repo R of the same files. Unfortunately, R was not created with git-svn clone, and patches to one have been manually applied to the other.21:17
Now.. I must make the git repo R the source of truth (or die trying).21:18
aspotashev joined21:18
isao what's the best way to sync git to svn at this point?21:18
automatically..21:18
dcarper left21:18
kevlarman isao: can you just get rid of the svn repo?21:19
isao yes21:19
kevlarman do that21:19
beatak joined21:19
isao ok..21:20
FauxFaux You /could/ git-svn import the svn repo, git-replace together two old commits (causing it to look like history has forked), then merge history back together (and pray).21:20
kevlarman FauxFaux: ew21:21
FauxFaux: there are better ways to repair history21:21
spaceonline left21:21
vork joined21:21
vork What's the opposite of stg init? How can I un-stgit a branch?21:21
RaceCondition joined21:21
jatt left21:22
FauxFaux kevlarman: I think that maps quite well to what's gone on, and is quite likely to give the expected result, especially if you just commit-tree dirty-merge the tip; what would you do?21:22
kevlarman FauxFaux: git svn clone, then some careful rebasing21:23
willmars_ joined21:24
FauxFaux kevlarman: Rebasing is going to ruin the order of history. (Normally I'd never, ever suggest merging.)21:25
kevlarman FauxFaux: huh? i mean for commits that exist only in git21:25
FauxFaux: a merge will ruin any attempts to write back to svn21:25
martinjlowm-lptp left21:25
martinjlowm-lptp joined21:26
kevlarman (and if you can just get rid of svn, then there's nothing to be done)21:26
adhawkins Any way in git to get the last modified date of a file? Thinking for a commit hook to modify a date in the header21:26
kevlarman adhawkins: terrible idea21:27
milki that info isnt tracked21:27
adhawkins kevlarman: I'm getting fed up with myself forgetting to update copyright notices at the top of files :)21:27
spaced0g joined21:27
martinjlowm left21:28
adhawkins Any suggestions?21:28
kevlarman adhawkins: then write a hook that nags you21:28
martinjlowm joined21:28
isao adhawkins: git filters?21:28
kevlarman automatically modifying it is going to cause you problems21:28
adhawkins isao: Explain? kevlarman: What problems?21:28
agile left21:29
martinjlowm left21:30
martinjlowm joined21:30
isao adhawkins: I've never used, but… here http://progit.org/book/ch7-2.html re "Keyword Expansion"21:30
adhawkins isao: Yes, that's what I was envisaging21:31
starsinmypockets left21:31
marhaban left21:31
adhawkins kevlarman: What problems would it cause?21:31
rockfruit joined21:34
isao FauxFaux, kevlarman: so if I just forget about the svn-side for now, here's what I think you were suggesting: 1) git svn clone newsvn 2) cd newsvn; git pull git-truth master, 3) git svn dcommit… 4) can I repeat and automate this safely, assuming no users write to "newsvn" ?21:36
kevlarman adhawkins: let's say you do something like rebase -i21:36
and it changes old commits21:36
airborn left21:36
dcarper joined21:37
kevlarman isao: no, you just created a merge21:37
isao :(21:37
adhawkins So probably the best idea is a pre-commit hook that looks for a Copyright line, and rejects it if it doesn't contain the current year?21:37
Or would that have the same issue with rebasing etc.?21:38
HyperNerdV2 joined21:38
EuroTrash left21:38
tr-808 left21:38
t4nkd left21:38
kadoban why do you even have a line in every file with the year?21:38
sayd to cherry pick a range of commits: cherry-pick start-hash:end-hash?21:39
tr-808 joined21:39
milki or make it a variable21:39
that you replace when you package21:39
!21:39
Element9 left21:39
martinjl` joined21:39
mister_m joined21:40
_iron left21:40
martinjlowm left21:41
ixti joined21:42
mister_m left21:43
revagomes left21:43
pandeiro left21:43
w09x joined21:43
thirdknife left21:44
saml left21:46
nrichards left21:46
ixti left21:48
Russell^^ left21:48
ixti joined21:48
juvenal joined21:49
jalama joined21:49
mister_m joined21:50
Diemuzi joined21:52
wedgeV what's the best way to delete a branch in a remote repo?21:52
kevlarman wedgeV: git push remote :branchname21:52
ShooterM_ left21:52
jalama left21:52
wedgeV thanks21:53
vork How can I find out which remote branch the current branch is tracking?21:53
berserkr left21:53
ISF left21:53
kevlarman vork: git config branch.<yourbranch>.remote and .merge21:53
ixti left21:54
berserkr joined21:54
dcarper left21:55
macabre left21:55
ShooterM_ joined21:56
arietis left21:56
kcj joined21:57
Leftmost joined21:57
davidbanham joined21:57
mritz left21:58
sebrock left21:58
canton7 vork, git branch -vv also iirc21:58
Leftmost I have a branch which split from master at commit A. The branch is now at commit B and master at commit C. I want to revert all changes between A and C in master and replace it with the commits between A and B. What is the correct way to do this?21:59
canton7 Leftmost, has master been pushed anywhere?21:59
Leftmost Yes.21:59
Reversing the patch is fine.21:59
canton7 do you care about anyone who might be tracking master? :P21:59
enmand joined22:00
Leftmost It's checked out elsewhere, but no one should have made any changes at all.22:00
Recloning is okay.22:00
Dave^| left22:01
canton7 hrm, people pulling rewritten history is a bad idea... it tends to merge together the two versions of history22:01
your options are 1. pretend that the commits on master never existed, and replace them with those from the branch22:01
marhaban joined22:01
canton7 2. keep the commits on master, make a commit which resets the working copy back to commit A, then stick the branch's commits on top22:01
glcrazy left22:02
nioncode left22:02
Slix` joined22:02
btx94 left22:02
canton7 the former is !rewriting_public_history, the latter is safe22:02
gitinfo 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)22:02
ehsan left22:02
kaen joined22:03
kaen left22:03
kaen joined22:03
ben225 left22:03
Destos left22:03
vork Thanks canton7, kevlarman.22:03
Leftmost Thank you, canton7.22:04
LittleFoot joined22:04
LittleFoot hi22:04
gitinfo LittleFoot: welcome to #git, a place full of helpful gits. If you have a question, just ask it–somebody should answer shortly. For more information about git and this channel, see the links in the topic. It can't hurt to do a backup (type !backup for help) before trying advice you receive here.22:04
Leftmost Is there a speedy way to create a commit to revert the changes? git revert foo..bar will work in a pinch, but a single commit seems cleaner.22:04
LittleFoot anyone want to test out my diff alg?22:04
http://noteys.com/notes/details/18122:05
btx94 joined22:05
Leftmost Oh, nevermind.22:05
Found -n. :P22:05
canton7 Leftmost, there's also a trick: git rm -rf *; git checkout <commit> -- .22:06
brngardner left22:06
ogzy left22:06
madsy left22:06
ixti joined22:07
jargon- left22:07
madsy joined22:07
madsy left22:08
madsy joined22:08
ixti left22:09
eijk left22:09
seank-efi joined22:09
bartek_ joined22:10
sayd it i want to cherry-pick a range of revisions that happend in the same branch but in the past, whats the best way?22:10
vork sayd: rebase22:10
kevlarman sayd: um, cherry pick them?22:10
juanfer left22:10
cmn what's wrong with using cherry-pick to cherry-pick?22:11
thearthur joined22:11
sayd kevlarman: the range is the tricky thing. i just read through man gitrevisions and im still unclear22:11
gitinfo kevlarman: the gitrevisions manpage is available at http://jk.gs/gitrevisions.html22:11
vork Don't know. Rebase might be easier.22:11
cmn vork: not if what he wants is to cherry-pick stuff from the past22:11
sayd git cherry-pick 131231:3923492 kinda thing?22:11
vork cmn: Uh..?22:11
cmn sayd: the range is negative..positive22:11
sayd or is it ...22:11
martinjl` left22:11
vork cmn: Since when did rebase care about when the commits were made?22:12
cmn sayd: where did you get the colon for ranges from?22:12
sayd ok22:12
kevlarman vork: rebasing published history is a terrible idea22:12
cmn vork: in the past means that they're not at the tip22:12
sayd so oldhash..newerhash22:12
cmn yeah22:12
vork kevlarman: cherry-picking published history is just as terrible.22:12
kevlarman vork: no it isn't22:12
sayd thats inclusive, yeah?22:12
cmn vork: completely different hings22:12
kevlarman vork: cherry-picking doesn't rewrite22:12
vork Why isn't it? It's pretty much the same thing, isn't it?22:12
martinjlowm joined22:12
tqmz left22:12
kevlarman vork: not even close to it22:13
cmn sayd: yeah, it'll start at newerhash and stop when it finds oldhash22:13
bartek left22:13
vork kevlarman: What do you mean, it doesn't rewrite?22:13
cherry-pick creates a new commit object, with a new SHA-1.22:13
kevlarman vork: cherry-pick doesn't rewrite history, rebase does22:13
cmn vork: they're not, one puts your commits on top of other ones and the other puts other commits on top the current tip22:13
they're pretty much opposites22:13
gitinfo set mode: +v22:14
martinjlowm left22:14
vork cmn: Well, it's the same operation, just different ways of specifying the commits.22:14
martinjlowm joined22:14
sayd hmm, Automatic cherry-pick failed22:14
vork kevlarman: I don't understand, "cherry-pick doesn't rewrite history".22:14
canton7 vork, the main difference is that rebase *changes* commits. cherry-pick *copies* commits. When you cherry-pick, the original commit remains22:14
vork It rewrites it just as much as rebase does. The main difference is that git-rebase tends to want to move your source ref, whereas cherry-pick doesn't.22:15
canton7 ..which is a critical difference22:15
vork canton7: Rebase does not change commits, it creates new ones, and (by default) deletes the old ref.22:15
adamm joined22:15
canton7 vork, I know. I know where you're coming from. The difference, as I say, is that rebase removed the ref to the old commits. It re-writes a branch, if you want to define such a thing22:15
juvenal left22:15
AaronMT left22:16
HyperNerdV2_ joined22:16
dr_lepper left22:16
ShooterM_ left22:16
vork canton7: That's about the only difference.22:16
sayd why would cherry-pick conflict?22:16
vork If you create a new ref in the middle of an old branch, and then rebase it, no refs are lost.22:16
cmn sayd: becase you've made changes22:17
ShooterM_ joined22:17
martinjlowm left22:17
martinjlowm joined22:17
cmn fix the conflict and continue22:17
vork: the other critical difference is that rebase takes the whole branch; cherry-pick lets you specify which commits you're interested in22:18
HyperNerdV2 left22:18
sayd yeah, i see the conflict is within a block that i changed removed22:18
vork cmn: Yes.22:18
dv310p3r left22:18
sayd so i can just blast out the whole <<>> ?22:18
vork What sayd said sounded like an old topic branch, that's why I thought of rebasing.22:18
mikepack left22:19
cmn sayd: you're the only one who knows22:19
bartek_ left22:19
Briareos1 left22:19
CellKill_ left22:19
HyperNerdV2_ left22:20
sayd ok.. im just a machine that does git's bidding22:20
teweWORK left22:20
ben225 joined22:21
tewecske left22:21
duckxx left22:21
vork Git exists to serve man, and not to rule over him.22:21
CellKill joined22:21
milki no it does22:21
nt22:21
seank-efi Hi guys, I think i did something dumb. My initial commit contains sensitive files and I cant seem to do a rebase -i and pick my first commit. Is there any hope?22:22
milki you cant rebase the first commit22:22
sayd i didnt get any of the commits i thought that range would give me :(22:22
linguini joined22:22
milki but you can probably filter-branch it still22:22
seank-efi hmmm22:22
menardII joined22:22
milki or just create an orphaned branch22:22
redo the commit22:22
and name the new branch master22:23
and delete the old master22:23
fmPirate left22:23
milki not in that order22:23
its just the first commit22:23
make a new repo22:23
>.>22:23
thiago left22:23
milki unless theres more commits...22:23
seank-efi no there are several commits, but i suppose I dont really need the history22:23
milki if you want the history, i suggest filter-branch22:23
TeckniX left22:24
seank-efi Ill have a read about filter-branching22:24
thx!22:24
milki github has a nice page on sensitive data removing22:24
redbrain joined22:24
martinjlowm-lptp left22:25
sayd do I just continue to go through each conflict, fix, commit and then retry the cherry-pick?22:25
milki context?22:25
vork sayd: Yep.22:25
milki o22:25
milki reads up22:25
sayd a conflicting cherry-pick22:25
there doesnt seem to be a --continue flag like rebase22:26
vork I think cherry-pick *should* automatically skip already-applied commits.22:26
sayd: Actually there is.22:26
sayd seems like i could diff rev2..rev10 and create a pactch22:27
would that still conflict?22:27
martinjlowm left22:27
vork It's likely to.22:28
cmn there is --continue22:28
willmars_ left22:28
vork I prefer resolving conflicting commits one at a time.22:28
Adys joined22:29
thiago joined22:29
shruggar left22:29
Leftmost left22:30
sayd it just keeps conflicting22:30
vork What, the same commit?22:31
williamcotton_ joined22:31
gitinfo set mode: +v22:31
menardII i'm trying to figure out how to "unsquash" a big commit -- bisect has told me that it's the cause of a problem, but when i eyeball its changes i can't figure out what they are22:31
sayd cherry-pick --continue \nusage: git cherry-pick [options] <commit-ish>22:31
williamcotton left22:32
williamcotton_williamcotton22:32
paphio joined22:32
vork menardII: git checkout -b problem <problem-commit> && git reset HEAD~1 && git add -p22:32
felgru left22:32
cmn then you should stop using an ancient version of git22:32
v0n left22:33
LucasTizma left22:33
cmn you'll have to pick one-by-one I guess22:33
menardII vork: aha! so obvious now that you mention it. thanks22:33
frogonwheels joined22:34
whitman left22:34
marhaban left22:34
gtrak left22:34
marhaban joined22:34
beatak left22:34
Chillance left22:36
Fullmoon left22:38
QaDeS left22:38
linguini I'm trying to "rewrite history"; git merge --no-commit --no-ff is almost what I want; but I'm not sure if I want a "merge" or a "rebase".22:39
d0k left22:40
paphio left22:43
paphio joined22:43
vork left22:44
iocor joined22:44
oso96_2000 left22:46
marcogmonteiro left22:46
thelazydeveloper left22:46
linguini http://paste.lisp.org/+2ROD22:48
Araxia_ left22:48
Briareos1 joined22:48
CannedCorn left22:49
mikegerwitz joined22:49
paphio left22:49
maestrojed left22:49
rgr left22:51
brngardner joined22:51
Briareos1 left22:52
oso96_2000 joined22:52
berserkr left22:52
Diemuzi left22:52
ology left22:53
isao left22:54
berserkr joined22:54
vama89 left22:54
pastime joined22:54
pastime left22:55
john_anderson joined22:55
fling joined22:58
seank-efi hmmm22:58
git filter-branch -f --index-filter 'git rm --cached --ignore-unmatch InterractingWithFreeEMS.png' --prune-empty -- --all22:58
Rewrite 13e888c8e6c4faf95816d5a3061a61bd6c68d3c5 (10/10)22:58
WARNING: Ref 'refs/heads/master' is unchanged22:58
WARNING: Ref 'refs/remotes/origin/master' is unchanged22:58
WARNING: Ref 'refs/stash' is unchanged22:58
texasmynsted joined22:59
dreiss left22:59
Vinnie_win can git-svn import from the local file system or must it have a server?23:00
master-lincoln left23:00
seank-efi if I do git branch temp f6a5494f61bacf703bc8a527d681396dfa1e813e the InterractingWithFreeEMS.png is still there23:00
pnorman joined23:01
karsten left23:01
karsten joined23:01
yogo joined23:02
chronos joined23:02
chrisgeorge left23:03
cmn Vinnie_win: it uses svn underneath and can use whatever svn can23:04
pnorman I have a local repo and a remote one that I want to merge into it. I don't want the remote one to end up in a subfolder, I want it in the same folder. There is one file with a duplicate name that I do not want to get from the remote repo. I would like to preserve history. Any pointers?23:04
cmn seank-efi: if it was in that commit, it will always be in that commit23:04
seank-efi: what you have to look at is the rewritten history, not the one you already had23:04
Vinnie_win cmn: hmm... It seems I have "svnadmin" and when I run it on the svn repo everything is verified properly (its a local drive). How can I import that to git ?23:04
btanaka left23:04
Vinnie_win pwd23:04
^^ forget about that23:04
cmn git svn clone <path>23:04
svn likes its fs-paths to have file:// in front23:05
pnorman If all else fails I suppose I could just copy the files.23:05
\toothrottoothr23:06
yogo left23:07
krzkrzkrz joined23:07
Vinnie_win cmn: http://codepad.org/nHv6qbq723:07
cmn: When I run svnadmin from /e/OldDrive/svn/Dev it seems fine.23:07
menardII left23:07
cmn that's not a valid fs URI23:08
Vinnie_win cmn: I'm on Windows23:08
cmn you're missing the root slash for the path23:08
Vinnie_win so three / ?23:08
Guest32975 left23:08
cmn two for the protocol specifier and one because that's how you root paths23:08
Vinnie_win http://codepad.org/PRNxpDHS23:08
cmn your svn version is too old23:09
Vinnie_win that is something I can probably remedy23:09
Nice work thanks...you sure know your svn!23:09
krz left23:09
krzkrzkrzkrz23:09
gigamonkey Is there any way to git stash just certain files?23:09
Vinnie_win cmn: my svn is sliksvn from mar 8 201223:10
cmn no idea wth that version is meant to be23:10
Vinnie_win cmn: is it my git, or my svn, that needs updating?23:10
cmn the important version is the one that libsvn has23:10
that's what git-svn uses23:11
I don't think git-svn forces a version, but I prefer not to look at that monstrosity23:11
Vinnie_win subversion.tigris.org23:11
rpk_ joined23:11
Vinnie_win Oh...well, don't worry I'm on my way out. I just got my foot caught in the door.23:11
LucasTizma joined23:11
WillMarshall joined23:12
dreiss joined23:13
rpk_ left23:13
rpk_ joined23:13
rpk_ I just ran merge --squash --no-commit branch and committed. Some files that were "Auto-merged" with no conflict now have duplicate sections of code in them. Is there anything I can do to fix / prevent this?23:14
TomyLobo left23:15
seank-efi cmn: is there anyway to eradicate it ? I messed up and it's part of my initial commit.23:15
cmn it will get deleted once the safe-time is passed23:16
just make sure it's not part of the history you're going to pusblish23:16
rgr joined23:16
LucasTizma left23:16
project2501a joined23:16
seank-efi cool and thx !23:16
cmn you'll have to delete refs/original/*23:16
once you're sure the rewrite gave you something you want23:16
LucasTizma joined23:16
scientes left23:17
adhawkins left23:18
scientes joined23:18
Vinnie_win cmn: Even after using the latest binaries from Apache I still get the format error when doing git svn clone23:18
cbx33 joined23:18
blorbx left23:18
cmn the problem isn't in the binaries, it's in the library that git-svn uses23:18
which may or may not be the ones that come with the distribution you just downloaded23:19
Vinnie_win cmn: ah so the command line version of svn has nothing to do with what git-svn is using23:19
cmn the command-line svn uses libsvn, same as git-svn23:19
Vinnie_win I'm on windows23:19
cmn yes, so you keep saying23:19
which is why this is likely23:20
Vinnie_win the svn I installed came with its own libsvn_client.dll etc separate from what git has23:20
cmn the version you're using when you type 'svn' may not be the same one that git-svn is using23:20
right23:20
williamcotton left23:20
brngardner left23:20
Vinnie_win damn23:20
giallu left23:20
Vinnie_win the libsvn files are from 200923:21
rpk_ Also, I consistently end up having to remerge changes (that is, both local and the merge branch have the same changes, and the destination file shows old changes)23:21
Vinnie_win cmn: I'm going to try splicing in a newer client dll and see what happens23:21
Nathandim left23:21
cmn rpk_: if you're using --squash, you're not merging23:22
putting in a new DLL might work, or it's just as likely that the bindings will blow up23:23
Vinnie_win cmn: It didnt blow up it just generated a different error23:23
cmn you might want to try using msysgit to build a newer version23:23
Vinnie_win cmn: Hmm...you mean, build a new version of the svn dlls ?23:23
cmn yes23:23
rpk_ cmn: I need to squash my changes before pushing them back23:24
Vinnie_win cmn: It would probably be easier to just run a local svn server temporarily23:24
cmn Vinnie_win: or use svn-dump-fast-export23:24
rpk_: if that's what you need to do fine, but you're not merging23:24
rpk_ cmnL and the output message is literally "Auto-merging rails-root/app/models/file.rb"23:24
Vinnie_win cmn: Does that include history? I'm trying to splice the old svn history at the back of my existing git repo23:25
cmn and whatever do you mean by "destination file"?23:25
rpk_: that's a different thing23:25
ajpiano left23:25
cmn Vinnie_win: yes23:25
it takes the dump and replays it23:25
brngardner joined23:25
rpk_ cmn: I meant the file that I merge into. I end up with local, server, and then merge into a file which currently has changes from a revision back, with local and server both different (and sharing some identical changes) into that file23:26
Vinnie_win cmn: I've never used svn command lines before. So I would issue svnadmin dump .... and then run this other tool on that to produce a git repo? I should try that before installing apache and svn daemon and all that jazz23:26
cmn the svn-dump-fast-export produces a fast-import stream, which you can use to create a git repo23:27
Vinnie_win so I dont use svnadmin at all23:27
cmn you need to create a dump23:27
rpk_ cmn: (I'm aware that the file just delineates differences using some tags, but I'm trying to explain that git is flagging some things as changed that haven't)23:27
batmanian left23:27
ajpiano joined23:27
yogo joined23:27
Vinnie_win cmn: svnadmin dump then svn-dump-fast-export then a git command23:27
cmn roughly, the webpage has the exact commands23:28
noahnoah joined23:28
Vinnie_win I cant find a .exe23:28
rgr left23:28
cmn I doubt he has them23:29
noahnoah Hello,23:29
gitinfo noahnoah: welcome to #git, a place full of helpful gits. If you have a question, just ask it–somebody should answer shortly. For more information about git and this channel, see the links in the topic. It can't hurt to do a backup (type !backup for help) before trying advice you receive here.23:29
cmn rpk_: git tries to do a three-way merge whenever possible, so you might be seeing the base version which git is showing you for comparison23:29
maqr left23:30
mritz joined23:30
cmn rpk_: and if you keep bringing in changes without telling git about it, then it's no wonder it gets confused about what version is which23:30
noahnoah I have made a bunch of updates on a local machine that I want to push to the remote repository. The problem is that there may have been some other updates made from another machine, so things might be out of sync. I don't care about any of the other updates and want to just force the current version on my machine as the most recent in the remote. However, when I push, Git gives me an error, "non fast-forward updates were23:30
rejected. How can I resolve this?23:30
rpk_ cmn: yes, but its doing it incorrectly in two different ways. 1) Auto merging and creating duplicates ( I added =begin =end around a block of code and the entire section now appears twice in the auto-merged file, the original and commented version). 2) Detecting changes where there are none.23:31
thiago noahnoah: push -f. That will erase from history any updates made from any other machines.23:31
noahnoah Awesome. Thank You!!23:31
thiago noahnoah: it's as if they've never existed. Do not pull from those machines, you'll get into trouble.23:31
marhaban left23:31
noahnoah So I lose all history??23:31
thiago noahnoah: you lose the history created from those machines23:32
et !rewriting23:32
gitinfo [!rewriting_public_history] 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)23:32
mritz left23:32
thiago noahnoah: in general, if you created history in other nodes, it's because such history is useful23:32
marhaban joined23:32
Vinnie_win cmn: it doesnt build for me in msvc201023:32
thiago noahnoah: therefore, you don't want to waste it. You want to merge it, and that's what git pull does23:33
john_anderson left23:33
maqr joined23:33
noahnoah I'm the only developer, but juggle between home machine and work machine. I was screwing around on home machine and made a small update. Later, at work, I forgot to pull, and did a TON of work. The work machine is the current version. I don't care about what is done on the home machine. So, I just want to force the version on the work machine as current, and then pull that down to the home machone.23:33
thiago noahnoah: git pull and solve the conflicts23:34
cmn rpk_: if the diff isn't descriptive enough, it's possible for it to be applied wrong23:34
sorahn joined23:34
Vinnie_win noahnoah: you could branch your home changes then roll back the master to the place where work split off, and resolve the conflicts later23:34
cmn and as I said, if you keep lying to git about the origin of changes, it's going to be confused23:34
gigamonkey Does doing a git push origin --delete somebranch have any effect on the local version of somebranch, either immediately or the next time you pull?23:35
sorahn hey guys, i have a question, I'm using a hook to add the current branch name to my commit message, but if you do that, there's no way to abort the commit, as that the message is already different from what git is comparing against. Anyone know a way around this?23:35
noahnoah pulling and merging seems difficult. I mad a ton of changes on the work machine. Really have not need for the changes that I pushed last from the other machine.23:35
rpk_ how am I lying about the origin of the changes? I have a tracking branch, and a release branch. all of my changes get merged (no squash) into release, and then squashed into the tracking branch23:35
cmn ^23:35
Lord_DeathMatch joined23:36
noahnoah I think git push -f should do what I want.23:36
rpk_ There have not been any other changes on the remote tracking branch. It should appear that I just made a series of edits to a set of files all in one commit23:36
thiago noahnoah: if you are 100% sure, then do this: git fetch && git merge -s ours ${upstream}23:36
rpk_ and then merged that commit back from the branch where they were made23:36
noahnoah OK. Thanks!!23:37
thiago noahnoah: sorry, that's @{upstream}23:37
noahnoah OK23:37
john_anderson joined23:37
ben225 left23:37
cakehero left23:38
cmn rpk_: the squashing is where you lie to git about the source of the changes23:38
user64 joined23:38
user64 left23:38
limoges joined23:38
noahnoah left23:38
cmn and what meaning are you giving to "tracking branch" there?23:38
rpk_ cmn: then how do I produce a single aggregation of my changes that will merge correctly? The changes themselves are simple23:39
cmn you create a merge23:39
that's what it's there for23:39
rpk_ cmn: my git branch is proxied to another version control system23:39
cmn then that's probably where the problems come from23:39
rpk_ I have a remote branch tracking the other VCS. Merging multiple changes breaks the proxy23:39
brngardner left23:39
rpk_ cmn: but locally, they're just two git branches23:39
cmn there are two conflicting histories23:40
davidban_ joined23:40
DevilGirl joined23:40
wilmoore left23:40
rpk_ cmn: so given that, what should I do in order to get it to start merging and picking up changes correctly?23:41
ph^ left23:41
cmn rebasing23:42
Vinnie_win cmn: I got svnserve running how do I figure out the URL (its on my LAN)23:42
tatsuya_o left23:42
cmn svn://localhost/something I guess23:42
I've never run a svn server23:42
davidbanham left23:42
Vinnie_win cmn: its a miracle...the import is happening23:43
brngardner joined23:44
thearthur left23:44
cbx33 left23:45
Nibato left23:45
ph^ joined23:45
rjwill joined23:46
gitinfo set mode: +v23:46
rjwill hello, i have a quick git question. i have a master branch with 2 checkins, the first is a vanilla codebase and the second contains a few local changes to the codebase23:48
Vinnie_win That's a statement.23:48
rjwill i created a new branch called vendor to hold the pristine code since i need to upgrade23:48
rootfield joined23:48
rjwill so now i need to merge the new vendor branch and then apply only the one checkin from the current master to it23:49
cmn that's called rebasing23:49
rjwill sorry if my git terminology is incorrect23:49
cmn then again, since you still haven't asked that quick question23:49
rjwill how do i do that23:49
tharkun left23:50
rjwill i had to explain the current situation to ask the question23:50
cmn that depends on whether you actually want to merge or rebase23:50
there is still no question mark in sight, but whatever23:50
what you're describing is a rebase23:50
DevilGirl left23:50
cmn you take one branch and apply another branch's commits on top23:50
thearthur joined23:50
Nibato joined23:50
rjwill yes exactly, except I dont want the first commit since it is a previous version of what is currenlty in vendor23:51
Nathandim joined23:51
rjwill it should have been separated out initially i suppose23:51
seank-efi left23:51
tharkun joined23:52
elijah joined23:52
cmn if you don't want it, what help would it be to have separated out?23:52
sorahn st23:52
tharkun left23:52
tharkun joined23:52
RaceCondition left23:53
ajpiano left23:53
cmn and it should already be, from what you explained23:53
rjwill i should have had a vendor branch in the beginning23:53
tahts what i meant23:53
cmn and why didn't you base the vendor branch on the vendor commit you had?23:54
Jordan_ joined23:54
elijah I did a git checkout <hash> to about 10 versions back to match a database that should sync with it. It doesn't appear to be working because doing a git status leaves all sorts of untracked files. Is this normal, am I doing something wrong?23:54
cmn a branch can be started at any point23:54
JEntrep left23:54
cmn so if it should be based on the root commt, then that's where it should start23:54
and fixing it involves rebases as well23:55
man git rebase has graphs and explanations of different ways of doing it23:55
gitinfo the git-rebase manpage is available at http://jk.gs/git-rebase.html23:55
dcarper joined23:55
ajpiano joined23:55
rjwill thanks i'll go read that23:55
appreciate it23:55
alamaiso` joined23:55
rjwill have a good night23:56
rjwill left23:56
Lord_DeathMatch left23:56
thearthur left23:56
SkAzZ left23:56
heinrich5991 left23:56
limoges left23:56
RaceCondition joined23:57
alamaiso` left23:58
alamaiso` joined23:58
somedude joined23:58
tharkun left23:59
smw hi all. I am currently at an old commit in git. Is there any way to see the commits that came right after the current commit on the master branch?23:59

Logs Search ←Prev date Next date→ Channels Documentation