git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Stian Haklev" <shaklev@gmail.com>
To: "Andy Parkins" <andyparkins@gmail.com>, git@vger.kernel.org
Subject: Re: Fwd: Problem: git doesn't update working dir (always) when checkout'ing other branch
Date: Tue, 22 May 2007 11:05:30 +0700	[thread overview]
Message-ID: <566574ef0705212105k1387cf41n18e076c0bdf47ec6@mail.gmail.com> (raw)
In-Reply-To: <200705211016.58067.andyparkins@gmail.com>

OK, I made the following script:

do.sh:
git --version > ../file1
date >> ../file1
git status >> ../file1
echo checking out works with old >> ../file1
git checkout works-with-old >> ../file1
git status >> ../file1
git checkout master >> ../file1
git status >> ../file1
date >> ../file1

I ran it, and I got the following result:
nurhaliza:~/wiki stian$ less ../file1
git version 1.5.2.14.g45bde
Tue May 22 11:05:19 WIT 2007
# On branch master
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#       do.sh
nothing added to commit but untracked files present (use "git add" to track)
checking out works with old
# On branch works-with-old
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#       do.sh
nothing added to commit but untracked files present (use "git add" to track)
# On branch master
# Changes to be committed:
#   (use "git reset HEAD <file>..." to unstage)
#
#       deleted:    NOTES
#       modified:   display-page.rb
#       deleted:    eee_darwin
#       modified:   gui.rb
#       modified:   htmlshrinker-data.rb
#       modified:   htmlshrinker.rb
#       modified:   mongrel-web-gui.rb
#       modified:   mongrel-web.rb
#       modified:   zarchive.rb
#       new file:   zcompress.rb
#       modified:   zdump-7z.rb
#       modified:   zdump.rb
#       modified:   zipdoc.rb
#       deleted:    zutil.rb
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#       do.sh
Tue May 22 11:05:20 WIT 2007

...

I should add that I am working in OSX 10.4.9.

Thank you,
Stian

  reply	other threads:[~2007-05-22  4:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <566574ef0705210157j14cb7c56h62392c6193472a98@mail.gmail.com>
2007-05-21  8:59 ` Fwd: Problem: git doesn't update working dir (always) when checkout'ing other branch Stian Haklev
2007-05-21  9:16   ` Andy Parkins
2007-05-22  4:05     ` Stian Haklev [this message]
2007-05-22  8:04       ` Andy Parkins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=566574ef0705212105k1387cf41n18e076c0bdf47ec6@mail.gmail.com \
    --to=shaklev@gmail.com \
    --cc=andyparkins@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).