IRCloggy #git 2022-04-14

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.

2022-04-14

Codaraxis left00:02
causa_sui left00:02
causa_sui joined00:04
bindu left00:05
ghost43 left00:05
ghost43 joined00:05
bindu joined00:05
lantech19446 joined00:05
lantech19446 I'm having an issue getting ssh to work with my account when I run ssh -vT git@github everything authenticates properly but when I run git pull I get permission denied (publickey) and so far the documents on github and the stuff i've found on stack overflow haven't helped00:06
causa_sui left00:09
jjt joined00:11
Jong left00:11
jclsn left00:15
BtbN Do you have access to the repo you're trying to clone?00:15
lantech19446 yes00:18
it's my repo and I'm trying to pull right now I set the remote already but even when I specify it I get this error00:18
I don't want to delete the existing personal access tokens until I'm sure ssh is functional00:19
it says cannot read from remote repository00:19
causa_sui joined00:20
jclsn joined00:20
rgrinberg joined00:21
duxsco left00:24
lantech19446 do I need to clone it before it'll work?00:24
the site's all up and running so I didn't think I would need too00:24
causa_sui left00:24
BtbN not sure what you mean, clone it? What else are you trying to do?00:25
You need to add your public key to your github account settings, and then make sure ssh uses the corresponding private key00:26
lantech19446 the repo was already up and running on my computer under https I want it to run under ssh I didn't realize I had to start over00:27
bookworm you don't00:27
BtbN you'll need to update the remote to use ssh00:27
bookworm git remote add if you want to keep the old one, git remote --set-url if you don't00:27
lantech19446 yea neither fixed the issue I tried them00:28
I just destroyed the repo and cloned it again that seems to have fixed whatever it was00:28
BtbN Changing the remote url to ssh will sure make it use ssh00:28
lantech19446 oh it was trying the problem was it couldn't read the remote repository for some reason even though the ssh key was working perfectly00:29
dzho getting the form of the ssh URL correct can be a tricky business though, depending on the nature of the remote00:29
Sven_vB left00:30
mven joined00:30
BtbN it00:31
it's just github00:31
lantech19446 so here's another kink in the armor, 2wks ago I got hit by ransomware, this site runs on hyper-v I didn't know it at the time but hyper-v doesn't set an archive bit so you need a special version of the backup software I use to backup vm's anyway ended up with a 3yr old setup and had to do a git pull over it all it worked but clearly it screwed something up in the meantime00:31
BtbN Did you forget to turn the initial / to : when converting from https to ssh?00:31
lantech19446 nope I copied it straight off the site00:31
dzho maybe it's that I run old versions of git I don't know but I haven't gotten the URLs copied from github to work, I always have to change them00:32
lantech19446 I think I'll never know what happened but deleting the local repo and re-cloning has cleared it up00:32
dzho the ssh ones at least00:33
lantech19446 dzho: I mean for all I know that was my problem and since cloning does it for me it did whatever it needed done automatically00:33
dzho lantech19446: you might want to take a look then at the remote now as cloned to see what the form of the URL is for future reference00:33
lantech19446 good idea00:33
dzho git remote -v00:33
leftyfb left00:33
dzho something like that00:33
lantech19446 there's not a single thing different about it00:34
dzho shrugs00:34
dzho oh well00:34
_9pfs left00:34
lantech19446 yea hey I appreciate your and BtbN's help thanks for being here when I needed you00:34
leftyfb joined00:34
twb joined00:38
twb So today I wondered "has git switched to an cryptographically-secure hash yet?"00:39
bookworm no00:40
twb Based on https://git-scm.com/docs/hash-function-transition with "core.objectFormat = sha256" in a NEW repo, I get 64-byte hashes instead of 40-byte hashes.00:40
Can I viably switch real repos to SHA-2 yet?00:40
I guess an initial easy question is: does github understand SHA-200:41
BtbN tbf, git does not use the hashes for anything that requires cryptographic security00:42
so there is really no rush to break half the world and use something newer00:43
chenqisu1 joined00:43
twb maybe, but it's a lot easier for me to prove "SHA-1 is gone" than to prove "SHA-1 is safe, in THIS case"00:43
I do not care if my repo cannot be checked out by people running Fedora 1700:43
BtbN No idea what you're afraid of. It's not like someone can somehow "hack you" because your repo uses sha100:44
causa_sui joined00:44
twb I am not asking about that. I'm asking whether SHA-2 works right now.00:45
If it doesn't work in *current* versions of git, then I'll put this on hold for another 2 years.00:45
Strom left00:45
twb If it DOES work in current versions THEN we can argue about how much old shit will be unable to use a SHA-2 repo00:46
Strom joined00:47
Guest3765 joined00:48
causa_sui left00:49
twb It looks like if you have any existing commits, extensions.objectFormat=sha256 "breaks" them, and extensions.compatObjectFormat is not understood as at 2.30.2, so at a minimum you'd have to fast-export and fast-import back into a new repo that has always been sha200:49
gildasio left00:49
BtbN There is zero interoperability, and pretty sure it's still considered experimental00:50
so I wouldn't use it for production00:50
twb Fair enough00:50
sudoforge left00:51
sudoforge joined00:52
twb FWIW it looks like github doesn't support it yet.00:54
When pushing a SHA-2 repo into an empty repo on github, it says "fatal: protocol error: unexpected capabilities^{}"00:54
mackerman Most hosting is not at the stage of supporting it, no.00:55
twb Okey dokey. /me forgets about this for another couple years00:56
mackerman git init --object-format=sha256 # will create a repo with the new object storage00:58
Note the man page has experimental warnings.00:58
BtbN For git, there is really little to no benefit for a more crypographically secure hash. So any transition with regressiona won't be acceptable. Hence it takes a while.00:58
nyah left01:00
gildasio joined01:01
mackerman https://stackoverflow.com/questions/42433126/how-does-the-newly-found-sha-1-collision-affect-git01:02
causa_sui joined01:02
bambanxx joined01:03
Sulky_ joined01:05
mackerman I have yet to see sha1 in git intentionally broken. The fast attacks are probaby in the tens of GPU years scale of effort.01:05
mud joined01:07
Sulky left01:07
Dotz0cat- joined01:08
Dotz0cat left01:08
Dotz0cat-Dotz0cat01:08
causa_sui left01:09
robo- joined01:13
sudoforge left01:14
bertvvvs left01:14
madewokherd left01:15
sudoforge joined01:15
ThorMojito left01:17
_9pfs55 joined01:18
srinidhi left01:20
softirq joined01:21
softirq Is there a way to clone a branch such that the description added with --edit-description will be copied to the new branch?01:23
snake joined01:24
Jong joined01:24
causa_sui joined01:24
snake hey that was my cover letter "i like graphs"01:24
didnt get any calls from that one01:25
anyways, for git on windows, is there a way to make the portable exe i have on my thumb drive use the global configuration on my thumb drive or would it just need to be reconfigured on the new PC for my user there?01:25
R2robot joined01:28
causa_sui left01:29
vysn joined01:33
Shentino joined01:35
mns joined01:35
causa_sui joined01:37
jjt left01:41
causa_sui left01:42
causa_sui joined01:43
kaiseisei joined01:50
sa0 joined01:52
causa_sui left01:54
reset joined01:54
junktext_ left01:56
junktext_ joined01:58
littlebobeep left02:00
makara left02:04
makara1 left02:05
makara joined02:05
makara1 joined02:06
madewokherd joined02:08
causa_sui joined02:12
jclsn left02:15
jclsn joined02:16
causa_sui left02:17
justache left02:18
causa_sui joined02:20
justache joined02:20
jclsn left02:22
causa_sui left02:24
sa0 left02:26
jclsn joined02:27
Jacques joined02:30
maryo87 joined02:32
Codaraxis_ left02:34
coaxing left02:34
codedchaos joined02:35
Jacques left02:37
FinnElija left02:38
finn_elija joined02:38
finn_elijaFinnElija02:38
FinnElija left02:43
FinnElija joined02:44
bambanxx left02:44
terrorjack left02:47
causa_sui joined02:47
terrorjack joined02:48
bluepenquin_ joined02:52
bambanxx joined02:53
jclsn left02:53
causa_sui left02:54
maryo87 left02:55
mhugh joined02:56
furrymcg1e joined02:58
infogulch5 joined02:58
infogulch left02:59
infogulch5infogulch02:59
jclsn joined03:00
furrymcgee left03:01
bambanxx left03:02
bambanxx joined03:03
softirq left03:03
w_lehinsun joined03:07
maryo joined03:07
Jacques joined03:08
elastic_1 joined03:09
elastic_dog left03:10
elastic_1elastic_dog03:12
Codaraxis joined03:15
cdown left03:16
bytehackr joined03:21
littlebobeep joined03:26
Guest4 joined03:29
causa_sui joined03:29
Shentino left03:32
Shentino joined03:33
causa_sui left03:34
Sulky_ left03:35
wonko-the-sane left03:36
_9pfs55 left03:36
Guest4 HELLO there , i am unable to change my default branch name by this command "git config --global init.defaultBranch <nameOfnewbranch> can anybody help me with that03:41
Wulf joined03:44
bloody left03:44
Wulf Hello. I've got commits A and B. A changes things, B undoes this and adds something else. How can I squash them and keep the meta data of B?03:45
causa_sui joined03:46
causasui left03:48
Guest6932 left03:48
k8yun joined03:50
trollanon joined03:51
Guest4 left03:53
rewt Wulf, `git rebase -i A^`, then in the editor remove the first one (A), and change `pick` to `edit` for the 2nd one (B), and you'll probably have to resolve some conflicts (the things B undoes because now A never happened)03:56
Wulf rewt: thanks. But it's even better: for some reason there's nothing to resolve. I removed A and magially those changes disappeared from B too.03:59
Jacques left04:01
Willtech joined04:08
trollanon left04:10
bambanxx left04:14
zebrag left04:17
ChmEarl left04:19
pridence joined04:19
causa_sui left04:20
pridence left04:20
rgrinberg left04:24
Jacques joined04:30
bindu left04:31
causa_sui joined04:31
bindu joined04:31
dob1 left04:31
dob1 joined04:32
causa_sui left04:39
u0_a147 joined04:39
junktext_ left04:41
u0_a147 left04:41
u0_a147 joined04:42
mhugh left04:42
carl-- left04:45
u0_a147 left04:46
rektide joined04:46
u0_a147 joined04:46
u0_a147 left04:46
gast0n left04:52
howdoi left04:57
hpfr I have a repo I just aggressively gc'd and `git rev-list --objects --all | wc -l` is 810. `fd | wc -l` (which ignores `.git`) outputs 201. I have one branch and two commits. what forms the remaining ~600 objects?04:57
I tried git show on some of the outputs of the rev list command and I get some trees that have no output from `git ls-tree`?04:59
Guest3765blahboybaz05:00
dlwomw^ joined05:01
bluepenquin_ left05:02
geosmile left05:03
u0_a147 joined05:06
u0_a147 left05:07
madewokherd` joined05:07
u0_a147 joined05:08
u0_a147 left05:08
u0_a147 joined05:08
madewokherd left05:09
u0_a147 left05:10
u0_a147 joined05:11
rgrinberg joined05:12
u0_a147 left05:12
u0_a147 joined05:12
thiago left05:13
_9pfs9 joined05:14
u0_a147 left05:15
u0_a147 joined05:15
u0_a147 left05:17
infogulch left05:23
tyson2 left05:30
causa_sui joined05:34
bkircher_afkbkircher05:38
mud left05:38
causa_sui left05:39
causa_sui joined05:40
hpfr well in order to debug that, I tried removing a worktree and got `cannot remove working tree: <worktree-path>/.git is not a .git file, error code 2`. the worktree's .git is a symlink created by `git worktree add`, so it should work, no?05:42
maryo left05:43
great_taste left05:43
causa_sui left05:44
Misotauros left05:45
causa_sui joined05:49
srinidhi joined05:51
Willtech left05:52
k8yun left05:52
jianwu joined05:52
rgrinberg left05:52
sudoforge left05:52
causa_sui left05:53
mexen joined05:53
causa_sui joined05:55
causa_sui left06:04
gurkenglas joined06:05
carl-- joined06:05
RiFo left06:06
RiFo joined06:07
piwu left06:07
jbg joined06:07
piwu joined06:07
xkoncek joined06:08
samuelbernardo joined06:09
feriman joined06:09
bluepenquin_ joined06:12
roadie joined06:17
dionysus69 joined06:20
Vonter left06:21
Guest77 joined06:25
m5zs7k left06:30
m5zs7k joined06:30
_9pfs9 left06:31
m1dnight left06:33
w0ng left06:37
carl--- joined06:39
m1dnight joined06:39
carl-- left06:41
EvilDMP joined06:41
kenanmarasli joined06:43
dionysus69 left06:47
Shentino left06:50
Shentino joined06:51
feriman left06:51
jianwu left06:52
rfuentess joined06:53
carl--- left06:55
carl- joined06:55
carl- left06:57
feriman joined06:58
Gustavo6046 left06:59
Gustavo6046 joined07:00
iomari891 joined07:00
Misotauros joined07:02
arch_angel joined07:10
\\ joined07:11
palasso joined07:12
iomari891 left07:12
pretty_dumm_guy joined07:14
pretty_dumm_guy left07:14
iomari891 joined07:15
\\ left07:16
\\ joined07:16
pretty_dumm_guy joined07:17
tmz left07:19
Millicent left07:19
aindilis_ left07:19
___nick___ joined07:19
Millicent joined07:19
fjmorazan left07:19
tmz joined07:20
blahboybaz left07:20
fjmorazan joined07:21
aindilis joined07:23
tinhear joined07:29
coot joined07:30
dlwomw^ left07:33
tinhear FREENODE AND LIBERA MOVE TO irc.worldhacker.org is open for public #0day , [ 0day (xc) Our ] WhiteHat Hacker Team And Dev Official Public Channel : https://worldhacker.org , REQUEST PROGRAM , SOURCE CODE , OR ANYTHING HERE ... . NEED STORAGE OR VPS ??? Free07:34
ChanServ set mode: +o07:35
ikke kicked tinhear (tinhear)07:35
TheCatBehemoth joined07:38
Jacques left07:39
Thanatermesis left07:40
igemnace joined07:42
duxsco joined07:45
sa0 joined07:46
Sulky joined07:46
user24037 left07:49
user24037 joined07:53
user24037 left07:53
user24037 joined07:53
vimal joined07:54
jimklimov1 left07:55
hololeap left07:56
hololeap joined07:56
dionysus69 joined07:57
causa_sui joined07:59
ajfriesen1 left08:00
igemnace left08:00
vitali64 joined08:03
ajfriesen1 joined08:03
causa_sui left08:04
Vonter joined08:05
Haohmaru joined08:06
Jong left08:09
ajfriesen1 left08:11
ajfriesen1 joined08:14
[sr]|2 joined08:14
austin_ joined08:14
austin987 left08:14
leshaste left08:15
Techcable left08:15
leshaste joined08:15
Techcable joined08:15
awmv joined08:15
euidzero left08:16
euidzero joined08:16
sa0 left08:16
analpaper_ joined08:17
Roy_Mustang joined08:18
A_Dragon left08:18
roadie left08:19
Roy_MustangA_Dragon08:19
toulene8 joined08:19
dskullz joined08:19
haskl[error] joined08:20
constxo joined08:22
analpaper__ left08:22
[sr] left08:22
toulene left08:22
dskull left08:22
haskl left08:22
constxd left08:22
realtime-neil left08:22
dskullzdskull08:22
toulene8toulene08:22
realtime-neil joined08:23
causa_sui joined08:24
Jong joined08:24
Gustavo6046 left08:25
causa_sui left08:28
causa_sui joined08:29
rsx joined08:32
michele left08:32
emanuele6 left08:33
causa_sui left08:33
cousteau_ joined08:35
cousteau_cousteau`08:36
coldmountain joined08:36
malteger left08:37
cousteau joined08:39
cousteau Hi! (I'm on a mobile and very unstable connection, so my apologies in advance if I suddenly disconnect)08:39
fflam left08:40
cousteau Question: To rebase, or not to rebase?08:40
cousteau` left08:40
cousteau (there goes my ghost!)08:41
selckin if you can rebasing branches before merging makes life easy, so you need a reason to not do it, instead of one to do it08:41
malteger joined08:41
igemnace joined08:42
ajfriesen1 left08:42
cousteau_ joined08:44
cousteau_ has seen 1 message from selckin before disconnecting08:44
roadie joined08:45
cousteau left08:45
cousteau_ Personally I think it looks neat in the git history to have the actual snapshots of code you had while you were working, and could be useful as a map to see how development worked, and for debugging / finding regressions08:45
selckin no all worthless info08:46
ajfriesen1 joined08:46
cousteau_ Whereas rebasing means "making up fake snapshots of code that never actually existed", so maybe you're creating commits that don't actually work08:46
bookworm commits can help the reviewer, which is kinda good08:47
and chances are you weren't on the best track from the very beginning08:47
cousteau_ (not sure what the policy usually is, but I imagine that "all commits must work, at least partially" is a common policy)08:48
bookworm throw CI at it and test that if you want08:48
might be expensive to run though08:48
and if you have fixup commits in between that got reverted/rewriten down the line your code doesn't work either08:49
cousteau_ selckin, bookworm: wait, are we talking about collapsing all commits into one, or cherry-picking them individually on top of origin/master?08:49
selckin you want small logical commits that change single logical thing and cmopile and all tests pass, a branch is a bunch of these, you keep it rebased on top of master, till its merged08:49
and you should be free to edit the commits on the branch to those08:49
cousteau_ I was thinking more on the latter, but I now realize you might have been thinking about collapsing the feature branch into a single commit08:50
bookworm no08:50
not at all08:50
that's refered to a s a squash merge08:50
cousteau_ That was the word, "squash"08:50
bluepenquin_ left08:50
roadie left08:51
fflam joined08:52
vdamewood left08:52
txtsd joined08:53
[Tux] joined08:53
[Tux] Good-day from NL08:53
nyah joined08:54
[Tux] Testing 2.35.1 hangs in t7528-signed-commit-ssh.sh and it killed my ssh-agent08:54
reproducable on openSUSE Tumbleweed and Leap 15.308:54
cousteau_ selckin: do you mean "on top of your local heads/master", or "on top of remotes/origin/master, which you should be periodically merging into your heads/master and then rebasing your feature branch"?08:54
selckin those are the same thing08:55
cousteau_ ...not if you don't periodically pull master08:55
[Tux] when I restart ssh-agent, the test finishes (and PASSes)08:56
selckin well if you don't eat you die08:56
austin_ left08:58
cousteau_ The flow I had in mind was: (1) pull master, (2) create feature branch and append commits to it, (3) pull master again so that it is up to date, and (4) merge feature branch into master08:58
furrymcg1efurrymcgee08:59
austin987 joined08:59
causa_sui joined08:59
selckin 4 rebase on master, 5 resolve any conflicts 6 test everything again 7 merge08:59
cousteau_ "Everything" being "the last commit", or "every single commit"?09:00
Also, 4: with squash or as individual commits?09:00
selckin i'd do last commit09:00
vdamewood joined09:01
bookworm cousteau_: generally if people just say merge, they do mean a merge A proper one, the thing that generates a merge commit09:01
selckin you need a clean commit history, every commit should be a logical change, so if you have that don't squash, some ppl are stupid and commit every 5min and every little experimetan and wrong code they tried and just before lunch, and before thye left the office, so if htose commits are in there squash em into the void09:01
cousteau_ OK that makes sense. But it leaves the risk of having non working commits, which could be problematic for git bipart09:02
bookworm bisect*09:02
cousteau_ (but probably ONLY for git bipart, so I don't know how much of a problem that would be)09:02
bookworm bisect*09:02
cousteau_ Er that, bisect09:02
Er that, bisect09:02
(sorry, I stop reading other people's messages when typing)09:03
enkeyz joined09:03
causa_sui left09:04
cousteau_ selckin: I've seen people do that in Wikipedia and it gets on my nerves because Wikipedia doesn't allow you to "squash commits"09:04
bookworm: so "merge the changes", not "merge the commits" or "merge the branches", right?09:06
bookworm it's all the same09:06
vimal left09:07
bkircherbkircher_afk09:07
bookworm a branch is just a pointer to a commit, merge will merge whatever commits are reachable from the thing you merge that are not yet in the branch you merge into (or rather, take the two trees end result and merge that, the commits get pulled in by virtue of being a graph)09:08
Willtech joined09:10
cousteau_ or "merging the... graphs?" Maybe I'm confusing "merge" with "merge two trees, and then create a commit with two parents pointing to the commits that you merged, containing the resulting tree"09:12
ie, maybe conceptually "merge" actually means just "combine codes / worktrees", and not "do what the `git merge` command does", is that what you mean?09:14
bookworm eh? You seem confused. The two statements don't contradict one another?09:15
cousteau_ ie, "merge the content of commits", not "merge two paths as seen in the commit graph". I'm too used to seeing git as a graph, and only a graph.09:15
roadie joined09:18
cousteau_ One refers to the content of the commits (the code), the other refers to the graph (the commit history and parent relationships). They're not mutually exclusive, but they're not the same either.09:18
(...to clarify, I didn't want to imply that I'm not confused. I probably am.)09:20
bookworm a commit points to a tree09:21
Guest77 left09:21
roadie left09:23
causa_sui joined09:24
cousteau_ ...also I think I misread "they do mean a merge, a proper one" as "they don't mean a merge", which contributed to the confusion09:25
bookworm have you read https://git-scm.com/book/en/v2/Git-Internals-Git-Objects ? Maybe that helps?09:25
igemnace left09:26
lgc joined09:26
skapata left09:26
tsdh Is there a reason "git diff" shows symlinks as "+target-file" (which makes sense) but also with "\ new newline at end of file"?09:27
cousteau_ left09:29
lgc left09:30
han-solo joined09:31
drogas joined09:33
causa_sui left09:33
roadie joined09:37
jimklimov joined09:39
kaiseisei left09:42
roadie left09:42
roadie joined09:42
AbleBacon left09:54
cousteau joined09:56
cousteau This connection is really poor... ok, thanks for the help/info, bookworm and selckin, bye!09:57
cousteau left09:57
OnkelTem left09:59
rfuentess left10:00
OnkelTem joined10:02
sa0 joined10:03
vishal left10:08
sandipan joined10:08
bytehackr left10:09
vishal joined10:09
awmv left10:10
Tobbi_ joined10:15
jazzy2 joined10:15
jazzy left10:18
nwoob joined10:22
nwoob How do i commit from forked repo to original repo directly10:22
commit and push10:22
causa_sui joined10:24
selckin !remote10:24
gitinfo [!remote_commands] The only git porcelain commands which might interact with remote repos are: fetch, pull, push, remote, ls-remote, archive, submodule (plus plumbing, remote helpers, etc)10:24
iomari891 left10:25
selckin you can add multiple remotes in the same local repo, and then push/fetch to the one you specify10:25
awmv joined10:29
causa_sui left10:33
causa_sui joined10:34
drogas left10:35
nwoob selckin: so I have to add original repo as another remote and then push by specifying on which remote's branch I want to push10:35
selckin git remote add original https://somewhere; git push original master10:36
etc10:36
Guest82 joined10:39
causa_sui left10:39
Guest82 left10:39
causa_sui joined10:39
nwoob and this will push to the repo from which I have forked my repo10:39
bookworm well, if you set the new remote to be the origin10:42
if you cloned, your remote "origin" is set to the fork generally, not "upstream"10:42
coaxing joined10:43
[twisti] left10:43
bookworm chances are that if you had to "fork" you aren't in control of the upstream repo, else you wouldn't have had to fork in the first place10:43
so you can't directly write to it either, you don't have write permissions (generally)10:44
nwoob but if I want to push to upstream from my fork10:44
bookworm then you'd request the upstream to pull your changes10:44
nwoob then I can do git remote add upstream url and then git push upstream master10:44
zulutango left10:44
bookworm in GH speak that's a pull request, Gitlab it's merge request, gerrit it's change list or whatever, git send-email, you get the idea10:44
nwoob I don;t want to create PR. I want to write script10:45
bookworm do you have write access to upstream?10:45
nwoob that will push to upstream from forked repo10:45
yes I have write access10:45
bookworm what do you consider a "forked repo" ?10:45
generally, forking means you take code and push it to some other place, which diverges from upstreams code10:46
nwoob yes10:46
I understand that10:46
I forked a repo and now it;s in my userspace10:46
bookworm but sure, just `git remote add upstream $url` && `git push upstream $branch`10:47
the remote only needs to be added once, naturally10:47
nwoob now url is https://me_user/project10:47
and original repo url will be https://project10:47
understood10:48
bluepenquin_ joined10:49
causa_sui left10:49
sa0 left10:49
sa0 joined10:49
vitali64 left10:49
zulutango joined10:50
nwoob left10:53
vitali64 joined10:53
BlessJah left10:56
konrados left10:58
konrados joined10:58
BlessJah joined10:59
zer0bitz left11:03
DeFreeZe left11:06
jazzy2 left11:07
awmv left11:12
cdown joined11:13
structoha1 joined11:15
gildasio left11:15
gildasio joined11:16
kaiseisei joined11:20
bertvvvs joined11:24
a1eaiactaest joined11:25
XV8 left11:26
XV8 joined11:26
bindu left11:27
bindu joined11:29
structoha1 left11:30
geosmile joined11:31
Misotauros left11:34
littlebobeep left11:35
littlebobeep joined11:35
kaiseisei left11:36
olle joined11:42
olle Hmmmmm, for me, --word-diff=color is working for some changes but not others; for some changes, it still shows the entire line, or at least more than what was changed. Normal behaviour?11:43
Yorick_ joined11:43
ws2k3 joined11:43
_rgn joined11:45
_rgn is there a better way to alter the latest commit by picking hunks manually?11:45
git reset HEAD~ && git add --patch && git commit --reuse-message='@{1}' && git reset --hard11:45
pulse left11:46
moldorcoder7 left11:48
tealtabbycat left11:49
chenqisu1 left11:50
_sa0sin_ joined11:53
causa_sui joined11:54
hololeap left11:54
elastic_dog left11:56
hololeap joined11:56
epolanski joined11:56
sa0 left11:56
causa_sui left11:59
Murr left11:59
Murr joined11:59
causa_sui joined11:59
FinnElija left12:00
_sa0sin_ left12:00
FinnElija joined12:00
pulse joined12:01
elastic_dog joined12:01
causa_sui left12:04
sa0 joined12:07
chenqisu1 joined12:08
rafasc joined12:09
rafasc left12:10
rafasc joined12:10
konrados left12:12
konrados joined12:12
SteveR joined12:15
saroy|afk joined12:15
SteveR Hi there, i get this error, https://dpaste.org/YEkiP12:15
any idea on how to proceed further?12:15
bremner the message tells you?12:16
ikke It's not an error, just a warning12:16
'You are in 'detached HEAD' state. '12:16
sandipan left12:18
sandipan joined12:19
a1eaiactaest left12:20
causa_sui joined12:20
gh34 joined12:21
sandipan left12:21
sandipan joined12:22
saroy|afk left12:22
sandipan left12:24
cdown_ joined12:24
sandipan joined12:26
cdown left12:27
meator joined12:27
cdown_cdown12:27
meator Hello. How can I ignore uncommited changes in git blame?12:28
SteveR left12:29
faceface joined12:30
faceface hello12:30
when I say `git branch` I see, "* (no branch, rebasing master)", but I'm not sure where I'm stuck...12:30
wolfdale8 joined12:30
faceface git am --show shows, public/stylesheets/report.css changed, but I don't see a 'both modified' warning anywhere12:31
gurkenglas left12:33
bloody joined12:36
gurkenglas joined12:36
tyson2 joined12:40
Milos joined12:42
roadie left12:48
roadie joined12:48
Tobbi_ left12:49
osse faceface: what about git status?12:51
mjh4386 joined12:52
Tobbi_ joined12:53
wakeup joined12:56
iomari891 joined12:57
wakeup left12:57
saroy|afk joined12:58
chenqisu1 left13:00
sandipan left13:00
saroy joined13:00
sudoforge joined13:02
coot left13:02
saroy|afk left13:03
wakeup joined13:05
wakeup if I does "git checkout master" and then "git merge other-branch"13:05
which branch is merged into what?13:05
what are the source and destination branches?13:05
jast the currently checked out branch is always the destination13:06
wakeup so that would merge (i.e. add) the commits of other-branch into master?13:06
jast adding to a branch, be it a normal merge or a commit, always requires it being checked out, unless you use black magic13:06
yeah13:06
*normal commit or a merge13:06
_rgn git has very few commands, if any, that change a branch you're not on13:07
wakeup git on github:P13:09
https://github.com/git/git13:09
git versioned by git13:09
olle left13:09
jast well... yeah :)13:10
wakeup https://github.com/git/git/blob/master/mergesort.c :D13:11
wonko-the-sane joined13:12
igemnace joined13:13
analoq left13:13
analoq joined13:15
cdown_ joined13:19
wonko-the-sane left13:20
cdown left13:22
cdown_cdown13:22
wonko-the-sane joined13:25
Rashad joined13:31
coot joined13:35
DeFreeZe joined13:43
han-solo left13:44
vdamewood left13:46
mgd joined13:46
bluepenquin_ left13:48
lejocelyn joined13:53
mgd left13:56
iffraff joined13:58
wakeup It seems that rebase can be used to solve similar problems of those solved by merge, but merge doesn't destroy the history and creates an additional commit automatically. It seems that you would want to use rebase only locally, because, locally, you can destroy, in a way, the history, because only you knows it. Now, I am still not grasping the idea14:06
of rebasing. I understand that when we merge we basically pick the changes from one branch and insert them in the current branch. But when we rebase, what exactly happens? I read that commits are somehow rewritten (i.e. the history is rewritten), but I don't understand how this is related to 2 branches. Maybe I have this doubt because I used rebase14:06
(with the interactive option) to squash multiple commits into one, and that's the only time I remember having used rebase14:06
konrados left14:10
konrados joined14:10
wakeup so, in that occasion, I used rebase and only one branch was involved14:10
mackerman Yes, rebase rewrites history. Sometimes rewinding to a point in time, and applying the same patch on top of some other tree.14:11
Rebase is not required, you don't need to use it if you do not want to.14:11
thiago joined14:12
pranshukhandal left14:12
pranshukhandal joined14:13
igemnace wakeup: rebase and rebase -i do quite different things, but both have to do with rewriting commits (immutably, so it's more of an "edit-then-write-as-new-commit" operation)14:17
snake left14:18
igemnace wakeup: rebase, imagine two branches. A has C -> A1 -> A2 -> A3, B has C -> B1 -> B2 -> B3 where C is a common base commit for the two. checked out on A, doing git merge B would get you C -> A1 -> A2 -> A3 -> M where merge has two parents: A3 and B314:19
jast !rebase14:20
gitinfo 'git rebase' takes away your local commits, updates your branch with new stuff from <upstream> (argument), then re-applies your local commits on top. This makes it look like your commits were created "after" the new stuff, and it can look cleaner than doing a !merge. Beware of !rewriting_public_history, though. Not to be confused with !interactive_rebase.14:20
igemnace wakeup: doing git rebase B instead of git merge B would get you C -> B1 -> B2 -> B3 -> A1' -> A2' -> A3'. A1, A2, and A3 are all rewritten into new commits (the primed versions, A1' and so on)14:20
wakeup left14:22
wakeup joined14:23
gurkenglas left14:24
GNUmoon left14:24
GNUmoon joined14:24
feriman left14:29
wakeup igemnace wait, in the example of rebase that you've just given, you do git rebase B after you've checkout A, i.e. you're in branch A, right?14:30
igemnace yes14:30
zebrag joined14:32
faceface hi osse14:33
wakeup but why are the commits of B placed before those of A, if we're in A?14:33
faceface Here is the error and git status: https://gist.github.com/CholoTook/fb881b043049556f1969bbc2fe4cfb7314:34
wakeup anyway, it seems that rebase just inserts the commits that you MANUALLY made in the branch in the other branch, while merge just AUTOMATICALLY creates this merge commit that represents really a merge of all the changes from the other branch14:34
Shentino left14:34
faceface So I don't know what to do ...14:35
Shentino joined14:37
robo-roboirc14:37
faceface OK, hitting git rebase --continue tells me what to do14:37
igemnace wakeup: B's pointing at B3, and so git rebase B says "make B3 the new base of A1, A2, and A3"14:38
XV8 left14:38
DeFreeZe left14:39
XV8 joined14:39
DeFreeZe joined14:39
igemnace wakeup: well, yes, in a loosey-goosey way (manual and automatic won't be the first words i use to describe the difference). merge turns two branches into one by creating one commit with two parents, rebase turns two branches into one by rewriting some commit's parents such that they never branched in the first place14:41
vodkra joined14:41
BlessJah left14:51
BlessJah joined14:52
wakeup alright, I guess that is clearer now14:52
I hope not to forget14:52
anyway, git rebase and git rebase interactive are different14:53
why?14:53
why did u say that14:53
I mean, of course, one is "interactive"14:53
but it seemed that you implied that one is fundamentallly different from the other14:53
mackerman rebase is scripted and does a defined thing. rebase --interactive lets you do arbitrary things.14:57
To understand exactly what you did with -i we would want the entire todo list14:58
rgrinberg joined14:58
_9pfs joined14:59
wakeup I wanted to change the last commit to include a new file15:02
so I did15:02
git add my_file15:02
git commit --amend15:02
didn't change the file that was opened to change the commit message15:02
then git push15:02
madewokherd joined15:03
wakeup but it says : https://pastebin.com/D8JibhAb15:03
but actually before that I did git pull and it was up-todayte15:03
cdown_ joined15:05
igemnace wakeup: git rebase -i is more for rewriting your own local commits in15:05
mackerman Did you push the unmodified commit before it was rebased?15:06
igemnace whoops. pressed ctrl-j accidentally. that was "...in different ways"15:06
wakeup now I did git pull and it says "Pulling without specifying how to reconcile divergent branches is discouraged."15:06
madewokherd` left15:06
wakeup as I said, I did 1. git pull (up-to-date), 2. git add my_file, 3. git commit --amend, 4. git push (gives the error in the pastebin)15:06
igemnace wakeup: that error message usually indicates that you amended a commit that you already pushed previously15:07
wakeup 5. git pull (gives the hint "Pulling without specifying how to reconcile divergent branches is discouraged" and opens a file)15:07
cdown left15:07
cdown_cdown15:07
wakeup yes, I already pushed it indeed15:07
so what I should do it15:07
I want to amend the already pushed commit15:07
igemnace !rewrite15:08
gitinfo Rewriting public history is not recommended. Everyone who has pulled the old history will have to do work (and you'll have to tell them to), so it's infinitely better to just move on. If you must, you can use `git push --force-with-lease <remote> <branch>` to force (and the remote may reject that, anyway). See http://goo.gl/waqum15:08
igemnace how many people work on that repo, and on that branch?15:08
wakeup I don't think anyone pulled anything15:08
this is a personal project15:08
great_taste joined15:08
wakeup there are some forks, but they are old15:08
igemnace alright. just push -f15:08
wakeup but what do I do with the file that opened after that last git pull? just close the file?15:09
the file says "Merge branch 'master' of https://github.com/..."15:09
so it seems that it's going to merge anything15:09
igemnace yeah but you'd want to cancel the pull (that'd likely merge both amends). what editor is it open in, vim?15:09
wakeup I don't want to merge anything15:09
ThiagoCMartins[mTMartins15:10
wakeup visual studio code... I changed the default editor15:10
cuz I am more used to code15:10
igemnace i don't know if there's a way to exit vscode with a non-zero exit code. just exit the editor, and we'll reset the merge commit15:10
wakeup ok15:11
nwoob joined15:11
wakeup so we should undo the merge?15:11
igemnace once the pull and merge resolves, i'd git reset --hard @^ (to reset back to before the merge) then git push -f15:11
verify before and after every command with git log, to make sure15:12
ChmEarl joined15:13
jinsun left15:14
wakeup yeah, that seems to have worked15:15
what does @^ mean?15:15
exactly15:15
in fact, in the past, I think I used git pull -f15:16
igemnace a very terse way of saying "the (first) parent of the current commit". see git help revisions15:16
wakeup so I forgot -f there15:16
and that cuased this15:16
beuys joined15:24
Church joined15:24
beuys The recent git update borked my workflow :/ Investigating why ...15:24
Church Heh same here.15:24
jinsun joined15:25
sgen left15:25
coldmountain left15:26
a1eaiactaest joined15:26
beuys I see why. root cannot do "git status /path/repo" anymore if /path/repo does not have the owner root.15:26
That seems pretty insane. What to do about it?15:27
bremner uh. you'll need to tell us more about your setup.15:27
beuys bremner: Setup is that I create a list of repos with changes.15:27
Jacques joined15:28
beuys The script checks a bunch of repos and outputs a list of those that have changes.15:28
bremner git status /path/repo sounds wrong, for starters.15:28
bindu left15:28
beuys Wow, it does not even work if /path/repo *is* owned by root.15:28
igemnace beuys: the drop-in configuration is https://git-scm.com/docs/git-config/2.35.2#Documentation/git-config.txt-safedirectory15:28
bremner most git commands operate on a "current repo"15:29
igemnace beuys: it was likely this change that borked your setup: https://github.blog/2022-04-12-git-security-vulnerability-announced/15:29
bindu joined15:29
beuys igemnace: YEs15:29
Church Is there a wildcard setting for safe.directory? Trying to fix a half broken phabricator install now.15:29
And I'd rather not manually do that for ever repo...15:29
beuys I don't want to define repos as "safe" at all. I just want to be able to "git status" them.15:30
Oh, the problem seems to be different than I thought.15:31
meator left15:31
wakeup left15:31
beuys Let me dive in deeper ...15:31
Yeah, it is even worse.15:31
_9pfs left15:31
beuys root can not do "git status" if the owner of the dir that holds the repo is not root.15:32
Insane.15:32
Gustavo6046 joined15:33
Gustavo6046 left15:34
Gustavo6046 joined15:34
Thanatermesis joined15:36
pranshukhandalghost199915:37
softirq joined15:37
Jacques left15:38
bertvvvs left15:38
Tobbi_ left15:39
beuys They should have just disabled the "execute code from repos" by default and have a setting for it.15:41
gurkenglas joined15:43
beuys By the logic that is imposed now, many tools would have to disallow input from dirs not owned by root.15:43
"source /some/script" -> Sorry, you have to mark "/some/" as a safe dir globally to do that :/15:43
bertvvvs joined15:44
mat001__ joined15:45
mat001_ left15:46
mat001__ left15:46
mat001_ joined15:47
great_taste left15:48
softirq left15:52
beuys left15:52
arch_angel left15:54
softirq joined15:54
softirq left15:55
Church Yeah I've just taken to downgrading my git binary for now till I find a happy path.15:56
great_taste joined15:56
Murr left15:58
jast Church: good news: https://github.com/git/git/blob/1ac7422e39b0043250b026f9988d0da24cb2cb58/Documentation/RelNotes/2.30.4.txt#L1115:58
Murr joined15:59
FFY00_ joined15:59
jast too bad beuys left, might have been useful for them too15:59
Church Rad16:00
I'll wait for that to make it out and then upgrade16:00
jast I think it's been out for a while16:00
nwoob left16:00
jast hm, no, it was added yesterday on master16:00
unfortunately this will likely not make it into many distro packages because distros like to push only security fixes into updates, excluding quality-of-life improvements like this16:02
FFY00 left16:02
Church Yeah probably, here's hoping Ubuntu pushes this.16:03
jast fingers crossed :)16:03
pretty_dumm_guy left16:03
jast this whole change completely blindsided us at work, our testing machines update nightly and suddenly our rebuilds didn't work anymore16:03
bambanxx joined16:04
bambanxx left16:04
bambanxx joined16:05
pretty_dumm_guy joined16:05
rewt left16:07
kix joined16:14
___nick___ left16:16
___nick___ joined16:17
___nick___ left16:18
gildasio left16:19
___nick___ joined16:20
oncall-pokemon joined16:21
BeatButton joined16:22
pretty_d1 joined16:22
lejocelyn left16:22
pretty_d1 left16:22
ghost1999 left16:22
redoc left16:23
pretty_dumm_guy left16:24
Haohmaru left16:24
nedbat am I misreading this release note? It seems self-referential: https://github.com/git/git/blob/1ac7422e39b0043250b026f9988d0da24cb2cb58/Documentation/RelNotes/2.35.3.txt16:25
rafasc left16:25
rewt joined16:26
rafasc joined16:26
igemnace nedbat: haha. well, it's not false16:26
BeatButton left16:26
bertvvvs left16:27
mat001_ left16:27
rafasc left16:27
rafasc joined16:27
nedbat igemnace: i'm not sure if there's anything I can do to draw attention to it. I can't comment on it.16:27
rgrinberg left16:28
nedbat igemnace: and all the release notes in that commit are like that: https://github.com/git/git/commit/d516b2db0af2221bd6b13e7347abdcb5830b282916:28
nwoob joined16:30
igemnace hmm, good point. perhaps the mailing list?16:30
nedbat I don't read the mailing list. Maybe someone here who is more embedded in git development could do it?16:31
tyson2 left16:32
mat001_ joined16:32
rgrinberg joined16:36
mat001_ left16:36
mat001_ joined16:37
JanC left16:38
JanC joined16:38
redoc joined16:41
orbyt joined16:42
kix left16:44
lionkor joined16:45
Guest8629 joined16:46
phryk how do i add just a single line (NOT a hunk)?16:49
Lcawte left16:51
Lcawte joined16:51
igemnace phryk: i don't remember if you can split it all the way down to single-line hunks, but try that. you *could* also edit the index by hand, that's just error-prone. i tend to rely on editor integration for such a task16:52
mexen left16:52
tyson2 joined16:52
feriman joined16:52
infogulch joined16:54
mexen joined16:55
DeFreeZe left16:56
DeFreeZe joined16:57
bertvvvs joined16:57
James0r joined16:57
vicfred left16:57
phryk mhh, git add -p also offers "e" to edit the patch, but i don't really understand patch files, so that's just as error prone… :/16:58
i just want to be able to do something like `git add foo.code:23` or whatever… :F16:58
redoc left16:58
James0r Never quite ran into this before, i'm on a mac and when i rename a file with different casing i see it treats it as a new file and retains the old file, causing failed builds. is there a git setting to tell git to treat that as the same file and replace/rename it?16:59
i tried git config core.ignorecase false but that didn't seem to do much if anything16:59
phryk James0r: did you use git mv to move the file?17:00
James0r phryk: i did not. i just simply renamed with my editor and expected magical things to happen lol17:00
phryk use git mv for the rename and git'll take care of tracking it right.17:00
redoc joined17:01
James0r so i use git mv instead of renaming with editor or CLI?17:01
HumanG33k joined17:02
mackerman If it has already been renamed outside of git, git rm --cached the old one17:03
tulpa_ joined17:03
Yruama joined17:03
BtbN "git mv" is just a shortcut for deleting and creating a new file. It doesn't set a magic mark ala "this file was moved"17:03
James0r mackerman: ya that's what i did to fix it this time. how the hell have i never run into this before. one of those moments haha17:03
BtbN git determines that itself when building the commit, if a file vanished, and a strikingly similar one appeared elsewhere17:04
James0r i guess cause it's being built on netlify which is linux, still surprised17:04
squirrel joined17:04
saroy left17:04
James0r so should i leave git config core.ignorecase false ?17:05
JanC left17:06
JanC joined17:06
subopt joined17:07
a1eaiactaest left17:07
mackerman core.ignoreCase true may have reasonable workarounds on case-insenstive file systems.17:07
Such as on your Mac.17:07
subopt left17:08
subopt joined17:08
Timvde still doesn't understand how two of the biggest tech companies with some of the smartest engineers in the world came to the conclusion that case insensitive file systems are a good idea17:09
igemnace left17:10
igemnace joined17:11
mackerman Because humans have unreasonable demands to be flexible with their inputs.17:11
Gustavo6046 left17:11
mackerman Non-technical people may have difficulty that File.txt and file.txt are different.17:11
Codaraxis left17:12
bambams joined17:16
hqdruxn08 left17:22
hqdruxn08 joined17:23
analpaper__ joined17:24
pulse_ joined17:24
lllh joined17:24
great_taste left17:24
Shentino_ joined17:25
jclsn6 joined17:25
rhe7 joined17:25
realies7 joined17:25
dansan_ joined17:26
HobGoblin joined17:26
jgn` joined17:26
dskullz joined17:26
lemonsni- joined17:26
MIsAn joined17:26
krushia_ joined17:27
zachel_ joined17:27
Albright_ joined17:27
wacko_ joined17:27
wacko_ left17:27
wacko_ joined17:27
jinsun__ joined17:27
Roy_Mustang joined17:28
tomek_ joined17:28
Anarchic` joined17:28
coot left17:28
h4x0riz3d joined17:28
Novi_ joined17:28
A_Dragon left17:28
Roy_MustangA_Dragon17:28
ferr_ joined17:28
furrymcg1e joined17:28
Rh0nda joined17:28
multi_io_ joined17:28
osse1 joined17:29
mingdao_ joined17:29
constxd joined17:29
jlc_ joined17:29
lamein2 joined17:29
TeXMaster joined17:29
nuala2 joined17:29
coaxing_ joined17:29
mooz_ joined17:29
schoty joined17:29
Henry151_ joined17:30
Yruama left17:31
bkircher_afkbkircher17:31
LuKaRo left17:31
tsdh` joined17:33
great_taste joined17:33
infogulch left17:33
orbyt left17:33
jinsun left17:33
ChmEarl left17:33
Shentino left17:33
zebrag left17:33
wolfdale8 left17:33
pulse left17:33
coaxing left17:33
constxo left17:33
haskl[error] left17:33
dskull left17:33
toulene left17:33
analpaper_ left17:33
Vonter left17:33
jclsn left17:33
furrymcgee left17:33
mns left17:33
jlc left17:33
realies left17:33
mingdao left17:33
llh left17:33
mw_ left17:33
Oblomov left17:33
wolfshappen left17:33
mooz left17:33
multi_io left17:33
wacko left17:33
pcarphin left17:33
antto left17:33
Henry151 left17:33
petaflot left17:33
lemonsnicks left17:33
dslegends left17:33
Eustachy_Kapusta left17:33
fercell left17:33
dansan left17:33
cweiss0765321 left17:33
gumnos left17:33
lamein left17:33
tsdh left17:33
Rhonda left17:33
Church left17:33
RhvsRhys17:33
rhe7rhe17:33
dskullzdskull17:33
realies7realies17:33
iffraff left17:34
LuKaRo_ joined17:34
w0ng joined17:35
Misotauros joined17:35
Rashad left17:35
pulse_pulse17:36
gumnos joined17:37
cweiss07653212 joined17:37
orbyt joined17:37
Church joined17:37
zebrag joined17:37
wolfdale8 joined17:37
haskl[error] joined17:37
Vonter joined17:37
mns joined17:37
mw_ joined17:37
wolfshappen joined17:37
pcarphin joined17:37
petaflot joined17:37
dslegends joined17:37
jb1277976 joined17:37
led_belly joined17:37
deepy joined17:37
avalon joined17:37
majors joined17:37
lechner joined17:37
teear joined17:37
vikonen joined17:37
dansan_dansan17:37
led_belly left17:37
wolfshappen left17:37
wolfshappen joined17:38
dlwomw^ joined17:39
ChmEarl joined17:39
vicfred joined17:40
APic joined17:41
coot joined17:41
led_belly joined17:42
Sulky_ joined17:42
MajorBiscuit joined17:43
moldorcoder7 joined17:43
Sulky left17:45
pyeverything joined17:48
pyeverything hey how can I fix this problem with git pull/push? https://bpa.st/KP2A17:48
vysn left17:48
duxsco left17:49
duxsco joined17:49
JumpinBanana pyeverything: you really need to read about merge conflicts and how to solve them. Also a git status in between commands can help to tell what is going on.17:51
Guest8629 left17:55
Jacques joined18:03
FinnElija left18:03
tyson2 left18:04
FinnElija joined18:06
dlwomw^ left18:07
rsx left18:08
rewt pyeverything, your initial `git merge` command failed... you should resolve that before trying to `git push`18:10
h4x0riz3dantto18:13
orbyt left18:17
xkuru joined18:19
softirq joined18:20
orbyt joined18:22
MajorBiscuit left18:23
Codaraxis joined18:23
great_taste left18:23
softirq left18:23
impermanence joined18:25
great_taste joined18:26
t0mm13b left18:32
bambanxx left18:35
konrados left18:35
vicfred left18:36
bambanxx joined18:38
gh34 left18:38
TeXMasterOblomov18:38
orbyt left18:39
iomari891 left18:39
tulpa_ left18:39
infogulch joined18:42
lllh left18:44
koo5 left18:46
koo5 joined18:47
great_taste left18:51
great_taste joined18:52
furrymcg1efurrymcgee18:56
MajorBiscuit joined18:57
DeFreeZe left18:59
DeFreeZe joined18:59
dionysus69 left19:01
vitali64 left19:01
rgrinberg left19:04
vicfred joined19:04
roadie left19:04
Jacques left19:05
impermanence left19:06
epolanski left19:06
bambanxx left19:09
dsrt^ joined19:12
sobkas joined19:16
t0mm13b joined19:16
roadie joined19:16
arturaz joined19:23
skapata joined19:23
skapata left19:23
skapata joined19:23
squirrel left19:23
Jacques32 joined19:25
bambanxx joined19:26
arturaz Hey. I have a super weird problem. I am using Git on Windows and Git does not seem to see changes to my submodules. I change the commit in the submodule, then run `git status` or `git gui` in the parent git repository and there's... nothing. The thing this is happening to only one submodule. If I run `git submodule` I see a weird thing next to the faulty submodule in the parenthesis (quantum_unity/vendor/fp_csharp_unity (heads/master-14-gfcbcd7b719:27
)), which looks different from other submodules (for example, quantum_unity/Assets/Plugins/modules/code-events (heads/pzd)). Anybody could point me to any direction? Like, what the things in parenthesis are when I run `git submodule`?19:27
dionysus69 joined19:27
Rashad joined19:31
hololeap_ joined19:32
hololeap left19:33
ColdKeyboard left19:36
Jacques78 joined19:37
hololeap_hololeap19:38
Jacques32 left19:39
adhawkins left19:40
impermanence joined19:43
nwoob left19:51
AbleBacon joined19:54
ColdKeyboard joined19:56
tyson2 joined19:56
moldorcoder7_ joined19:58
Murr left19:58
Murr joined19:58
moldorcoder7 left19:59
bambanxx left19:59
zeenk joined20:00
shan joined20:01
___nick___ left20:03
Shentino_Shentino20:05
justsomeguy joined20:07
Guest76 joined20:07
Guest76 left20:07
bambanxx joined20:08
softirq joined20:08
svn2gitDev joined20:08
svn2gitDev Hey What's the best way to convert a Single SVN repo into multiple github projects, is it best to split them into their own repositories while using SVN still, then clone them to GIT?20:09
gh34 joined20:10
gh34 left20:11
duxsco left20:16
hololeap_ joined20:16
hololeap left20:17
hololeap_hololeap20:19
awmv joined20:23
Lord_of_Life_ joined20:25
Lord_of_Life left20:25
arturaz left20:26
Lord_of_Life_Lord_of_Life20:28
Gustavo6046 joined20:28
liefer9 joined20:29
hololeap left20:30
liefer left20:31
liefer9liefer20:31
cdown_ joined20:32
cdown left20:34
cdown joined20:35
hololeap joined20:35
junktext_ joined20:37
cdown_ left20:38
Jacques78 left20:38
softirq left20:39
hololeap left20:39
cdown left20:40
bertvvvs left20:41
hololeap joined20:42
realtime-neil How do I discover if a tag is signed _without_ attempting to verify it?20:42
txtsd left20:44
softirq joined20:45
realtime-neil How do I print the keyid with which a given tag was signed?20:45
txtsd joined20:46
Codaraxis left20:46
Codaraxis joined20:46
jimklimov left20:46
forgotmynick joined20:48
Codaraxis left20:50
jazzy joined20:52
feriman left20:54
softirq left20:56
justsomeguy left20:58
James0r left20:58
arturaz joined20:59
pretty_dumm_guy joined21:00
oncall-pokemon left21:01
Gustavo6046 How do I do a commit amend that at the same time behaves as a separate commit (can be pushed in front of the previous commit)?21:03
svn2gitDev left21:03
Gustavo6046 Instead of doing a dirty git push -f.21:03
coot left21:03
awmv left21:04
Gustavo6046 Or alternatively, is it in bad form to make a commit with the exact same message as the previous one? (git commit -C HEAD~1)21:05
mackerman Gustavo6046: A regular "git commit" will not cause problems with rewriting history21:05
Styles vary, but I would not expect the exact same commit message. Seems confusing.21:05
Gustavo6046 I can rewrite history with commit amend and push -f and it wouldn't really matter, but dunno21:06
mackerman You don't have to amend or rewrite if you do not want to21:06
Gustavo6046 yeah21:08
jimklimov joined21:08
Gustavo6046 I can just make another commit21:08
awmv joined21:11
Guest6935 joined21:12
arturaz left21:13
Gustavo6046 thanks!21:13
mackerman, it's also because it's just a routinely cleanup – like running a formatter tool on code21:14
TheCatBehemoth left21:18
DeFreeZe left21:20
w_lehinsun left21:20
DeFreeZe joined21:21
MajorBiscuit left21:22
MajorBiscuit joined21:23
roadie left21:24
roadie joined21:24
Techcable left21:25
Techcable joined21:26
awmv left21:27
rafasc left21:27
structoha1 joined21:28
dionysus69 left21:29
roadie left21:29
dansan left21:30
dansan joined21:31
krushia_krushia21:34
dionysus69 joined21:36
awmv joined21:38
sudoforge left21:40
a1eaiactaest joined21:42
lemonsni- left21:43
MIsAn left21:43
JoeyeS joined21:43
bambanxx left21:43
JoeyeSGuest374621:44
Guest3746 left21:44
funhouse joined21:47
MajorBiscuit left21:47
lemonsnicks joined21:47
kenanmarasli left21:52
yuljk joined21:54
roadie joined21:55
structoha1 left21:55
EvilDMP left21:56
Murr left21:58
Murr joined21:58
glik22_ left21:59
glik22_ joined22:01
roadie left22:04
Jacques joined22:06
jimklimov left22:11
jimklimov joined22:13
palasso left22:13
Novi_Novi22:14
a1eaiactaest left22:15
iomonad joined22:15
thiago left22:19
bambanxx joined22:21
travisghansen left22:23
travisghansen joined22:23
XV8 left22:24
XV8 joined22:25
roadie joined22:30
sudoforge joined22:31
dionysus69 left22:35
XV8 left22:39
Jacques left22:40
roadie left22:40
roadie joined22:41
shokohsc left22:43
shokohsc joined22:45
roadie left22:46
gast0n joined22:57
softirq joined23:06
roadie joined23:07
rgrinberg joined23:09
Foxboron joined23:09
sa0 left23:09
rgrinberg left23:10
Foxboron Yo, I managed to mudge two sets of changes into a commit. I want to keep the commit message so git rebase -i, select the commit to edit23:10
names23:10
but you never really get the staged/unstaged files. So things like git restore --staged --patch doesn't work.23:10
sa0 joined23:10
Foxboron Is there any easy way to use rebase and still be able to deal with the staged changes?23:10
rgrinberg joined23:11
nyah left23:11
jazzy left23:11
gurkenglas left23:11
bambanxx left23:12
Rashad left23:13
jazzy joined23:15
sa0 left23:15
jimklimov left23:16
Jong left23:17
forgotmynick left23:18
earthToAdam joined23:19
roadie left23:19
earthToAdam Hello git!23:19
very_sneaky left23:21
DeFreeZe left23:23
michele_ joined23:23
DeFreeZe joined23:23
awmv left23:26
thiago joined23:29
bn_work hi, git 1.8.3.1 connecting to repos hosted on github. I am running this in a shared account and don't want to save my credentials permanently so I added something like `helper = cache --timeout 28800` (8 hours) and then `2592000` (~4.3 weeks) in the hope that it would cache it for a short time but no matter what I annoying keep getting prompted for credentials in a much shorter duration, why?23:35
(added to my gitconfig)23:36
under `[credential]`23:36
user gitconfig in ~/.gitconfig23:36
getting prompted like every 20-30 mins?23:37
rgrinberg left23:39
rgrinberg joined23:42
arch_angel joined23:43
bn_work FWIW, I am using my token to authenticate23:44
agrosant left23:44
roadie joined23:45
FinnElija left23:45
DoubleJ joined23:47
FinnElija joined23:48
Wulf left23:50
Wulf joined23:52
lionkor left23:52
BtbN git 1.8 is _really_ damn old, are you sure you want to be doing anything with your credentials on that machine?23:55
roadie left23:56
mitrokov joined23:57
Jong joined23:58
Jong left23:59

Logs Search ←Prev date Next date→ Channels Documentation