git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: bug or a general misunderstanding

From
Aandre_pohlmann@posteo.de <andre_pohlmann@posteo.de>
Date
Nov 15, 2021, 10:56 UTC
Message-ID
<468f30fbff6f1fcf708c484c19c287b7@posteo.de>
In-Reply-To
<YY2MXSZXIRSDLQCu@camp.crustytoothpaste.net>
Hi,
Starting from the relevant branch

git branch TEST_1 git checkout TEST_1 git status

then

git checkout BBV ---- that is the original Branch git branch TEST_2 ff2c8952 ---- the commit to check out from git checkout TEST_2 git status

git branch --contains 48c8756e ---- the commit with the specific code

the result is that only TEST_1 is shown, not TEST_2. It looks to me like the commit is missing. When I look at the code, the lines in question are also missing.

Am 11.11.2021 22:34 schrieb brian m. carlson:
Show 22 quoted lines
> On 2021-11-10 at 18:27:56, andre_pohlmann@posteo.de wrote:
>> Hello Johannes,
>> 
>> Thanks for your ideas.
>> 
>> I have checked out the respective new branch and switched between the
>> original and the new, multiple times.
>> Otherwise I would not have noticed the lack of commits.
>> 
>> I have also set up a virtual machine, free of any IDE or GIT. There I 
>> only
>> installed Git for Windows and repeated the process via cmd. The result 
>> is
>> the same, there are missing commits in the history compared to the 
>> original
>> branch.
> 
> Could you give us a set of commands you've run (in Git Bash) to create 
> a
> new test repository (or clone an existing public repository) and
> reproduce this problem?  Right now, we don't know exactly what you've
> done, so we can only speculate about what you're seeing.
Previous: andre_pohlmann@posteo.deNext: Jeff King
Message 5 of 7 in “bug or a general misunderstanding”
  1. andre_pohlmann@posteo.deNov 10, 2021
  2. Ævar Arnfjörð BjarmasonNov 10, 2021
  3. Johannes SchindelinNov 10, 2021
  4. andre_pohlmann@posteo.deNov 10, 2021
  5. andre_pohlmann@posteo.deNov 15, 2021
  6. Jeff KingNov 15, 2021
  7. andre_pohlmann@posteo.deNov 16, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.