git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* (no subject)
@ 2005-06-20  7:08 dierbro
  0 siblings, 0 replies; 7+ messages in thread
From: dierbro @ 2005-06-20  7:08 UTC (permalink / raw)
  To: git

unsubscribe git

^ permalink raw reply	[flat|nested] 7+ messages in thread

* (No Subject)
@ 2024-03-06 12:36 Emilis Kiškis
  0 siblings, 0 replies; 7+ messages in thread
From: Emilis Kiškis @ 2024-03-06 12:36 UTC (permalink / raw)
  To: git

What did you do before the bug happened? (Steps to reproduce your issue)

1. Create a new worktree with `git worktree add new-worktree`
2. Modify files in the new worktree
3. Move new worktree back to main working tree (i.e. master)

What did you expect to happen? (Expected behavior)

I expected uncommited changes from `new-worktree` to merge with changes from `master`

What happened instead? (Actual behavior)

The changes from `new-worktree` were lost

What's different between what you expected and what actually happened?

The uncommited changes were lost instead of preserved

Anything else you want to add:

I lost 4 hours of work :(((

Please review the rest of the bug report below.
You can delete any lines you don't wish to share.


[System Info]
git version:
git version 2.39.3 (Apple Git-145)
cpu: arm64
no commit associated with this build
sizeof-long: 8
sizeof-size_t: 8
shell-path: /bin/sh
feature: fsmonitor--daemon
uname: Darwin 23.3.0 Darwin Kernel Version 23.3.0: Wed Dec 20 21:30:44 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T6000 arm64
compiler info: clang: 15.0.0 (clang-1500.1.0.2.5)
libc info: no libc information available
$SHELL (typically, interactive shell): /bin/zsh


[Enabled Hooks]
pre-push

^ permalink raw reply	[flat|nested] 7+ messages in thread

* (no subject)
@ 2008-07-12 22:31 Kevin Phair
  0 siblings, 0 replies; 7+ messages in thread
From: Kevin Phair @ 2008-07-12 22:31 UTC (permalink / raw)
  To: git

subscribe

^ permalink raw reply	[flat|nested] 7+ messages in thread

* (no subject)
@ 2008-04-21 18:21 George Shammas
  0 siblings, 0 replies; 7+ messages in thread
From: George Shammas @ 2008-04-21 18:21 UTC (permalink / raw)
  To: git

subscribe

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: (no subject)
  2007-11-11 13:08 (unknown) Michael Dressel
@ 2007-11-11 15:22 ` Johannes Schindelin
  0 siblings, 0 replies; 7+ messages in thread
From: Johannes Schindelin @ 2007-11-11 15:22 UTC (permalink / raw)
  To: Michael Dressel; +Cc: git

Hi,

On Sun, 11 Nov 2007, Michael Dressel wrote:

> 
> >Michael Dressel wrote:
> >Ok nice. Another thing is that git-push will push all the tracking 
> >branches in refs/remotes/origin. 
> 
> I learned that I only have to edit the .git/config file to avoid that 
> git-push pushes everything. 

It is documented that you can use "git push origin <branchname>".

> [remote "origin1"]
>         url = /home/repo/src
>         fetch = +refs/heads/master:refs/remotes/origin/master
>         push = +refs/heads/master:refs/heads/master

With "push", it is not necessary to specify the ":<target>".

Also, if "master" is unambiguous, you can write just "master" instead of 
"refs/heads/master".

Furthermore, I suggest not forcing (that's  what "+" does) the push, since 
it is quite possible that you push something old in the wrong direction.  

Hth,
Dscho

^ permalink raw reply	[flat|nested] 7+ messages in thread

* (no subject)
@ 2007-07-17 22:39 Mark Levedahl
  0 siblings, 0 replies; 7+ messages in thread
From: Mark Levedahl @ 2007-07-17 22:39 UTC (permalink / raw)
  To: paulus, Git Mailing List

 From 567906ddb2fbbcf07325acc2808346ad6a472df1 Mon Sep 17 00:00:00 2001
From: Mark Levedahl <mdl123@verizon.net>
Date: Tue, 17 Jul 2007 18:35:46 -0400
Subject: [PATCH] gitk - Ignore ctrl-z as EOF on windows
To:        mlevedahl@verizon.net
-=-=-=-=-=-=-=-=-=# Don't remove this line #=-=-=-=-=-=-=-=-=-
Cygwin's Tcl is configured to honor any occurence of ctrl-z as an
end-of-file marker, while some commits in the git repository and possibly
elsewhere include that character in the commit comment. This causes gitk
ignore commit history following such a comment and incorrect graphs. This
change affects only Windows as Tcl on other platforms already has
eofchar == {}. This fixes problems noted by me and by Ray Lehtiniemi, and
the fix was suggested by Shawn Pierce.

Signed-off-by: Mark Levedahl <mdl123@verizon.net>
---
 gitk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gitk b/gitk
index 39e452a..238607e 100755
--- a/gitk
+++ b/gitk
@@ -101,7 +101,7 @@ proc start_rev_list {view} {
     set commfd($view) $fd
     set leftover($view) {}
     set lookingforhead $showlocalchanges
-    fconfigure $fd -blocking 0 -translation lf
+    fconfigure $fd -blocking 0 -translation lf -eofchar {}
     if {$tclencoding != {}} {
     fconfigure $fd -encoding $tclencoding
     }
--
1.5.3.rc2.5.g66bbd

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* (no subject)
@ 2005-04-18 16:31 Davide Rossetti
  0 siblings, 0 replies; 7+ messages in thread
From: Davide Rossetti @ 2005-04-18 16:31 UTC (permalink / raw)
  To: git

subscribe git


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-03-06 12:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-20  7:08 (no subject) dierbro
  -- strict thread matches above, loose matches on Subject: below --
2024-03-06 12:36 (No Subject) Emilis Kiškis
2008-07-12 22:31 (no subject) Kevin Phair
2008-04-21 18:21 George Shammas
2007-11-11 13:08 (unknown) Michael Dressel
2007-11-11 15:22 ` (no subject) Johannes Schindelin
2007-07-17 22:39 Mark Levedahl
2005-04-18 16:31 Davide Rossetti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).