Re: [Tei-council] git help: 24 behind, but merge says up-to-date
MH> Have you switched to dev and done a pull? PS> your local dev branch is probably out of date. Try to checkout (switch to) dev first and do a `git pull` there. Then switch back to your standoff branch and do the merge. PS> (There is also `git pull -- all` but use with caution) RV> I haven't used -m with git merge, so I'd be tempted to try RV> $ git merge dev RV> And see if that makes a difference. It should prompt you to add a message (usually pregenerated for merges). RV> You could also try to fetch before merging RV> $ git fetch RV> $ git merge dev Thank you, gentlemen. Yes, I had failed to (properly) pull into dev. BTW, I use the -m switch (which allows you to specify the commit message on the commandline) rather than rely on the default behavior because when git tries to prompt for the commit message from within Emacs it fails, kinda spectacularly. (All right, that may be an exaggeration, but certainly annoyingly.)
Hmm. Works fine in vi. 😎 Seriously though, I’d have thought it should work. Are you doing anything other than edit, save, quit? Hugh
On Jul 30, 2020, at 17:42, Bauman, Syd
wrote: MH> Have you switched to dev and done a pull? PS> your local dev branch is probably out of date. Try to checkout (switch to) dev first and do a `git pull` there. Then switch back to your standoff branch and do the merge. PS> (There is also `git pull -- all` but use with caution) RV> I haven't used -m with git merge, so I'd be tempted to try RV> $ git merge dev RV> And see if that makes a difference. It should prompt you to add a message (usually pregenerated for merges). RV> You could also try to fetch before merging RV> $ git fetch RV> $ git merge dev
Thank you, gentlemen. Yes, I had failed to (properly) pull into dev. BTW, I use the -m switch (which allows you to specify the commit message on the commandline) rather than rely on the default behavior because when git tries to prompt for the commit message from within Emacs it fails, kinda spectacularly. (All right, that may be an exaggeration, but certainly annoyingly.)
_______________________________________________ Tei-council mailing list Tei-council@lists.tei-c.org http://lists.lists.tei-c.org/mailman/listinfo/tei-council
It doesn’t get anywhere near edit, let alone save & quit. The problem occurs because git is trying to launch Emacs inside an Emacs buffer: emacs: Terminal type "dumb" is not powerful enough to run Emacs. It lacks the ability to position the cursor. If that is not the actual type of terminal you have, use the Bourne shell command `TERM=... export TERM' (C-shell: `setenv TERM ...') to specify the correct type. It may be necessary to do `unset TERMINFO' (C-shell: `unsetenv TERMINFO') as well. error: There was a problem with the editor 'emacs -nw -q'. Not committing merge; use 'git commit' to complete the merge. (And I do not think changing the terminal type will actually help, as that is not the actual problem, I don’t think. The same thing happens, BTW, if you try to run `crontab -e` from within Emacs) ________________________________ Hmm. Works fine in vi. 😎 Seriously though, I’d have thought it should work. Are you doing anything other than edit, save, quit?
participants (2)
-
Bauman, Syd
-
Hugh Cayless