Package: git
Version: 1:1.7.4.1-1
Severity: minor

Trying to switch to a branch you are already on leaves useless no-op
entries in the reflog:

$ cd $(mktemp -d)
$ git init
Initialized empty Git repository in /tmp/tmp.bNg1nsyeHL/.git/
$ touch foo
$ git add foo
$ git commit -m 'initial commit'
[master (root-commit) 45d1005] initial commit
 0 files changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 foo
$ git checkout master
Already on 'master'
$ git reflog
45d1005 HEAD@{0}: checkout: moving from master to master
45d1005 HEAD@{1}: commit (initial): initial commit
$

Please do not log ref updates which aren't.


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (400, 'unstable'), (300, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.38-rc7-00099-g25546a7 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages git depends on:
ii  git-man                 1:1.7.4.1-1      fast, scalable, distributed revisi
ii  libc6                   2.11.2-11        Embedded GNU C Library: Shared lib
ii  libcurl3-gnutls         7.21.3-1         Multi-protocol file transfer libra
ii  liberror-perl           0.17-1           Perl module for error/exception ha
ii  libexpat1               2.0.1-7          XML parsing C library - runtime li
ii  perl-modules            5.10.1-17        Core Perl modules
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages git recommends:
ii  less                          436-1      pager program similar to more
ii  openssh-client [ssh-client]   1:5.5p1-6  secure shell (SSH) client, for sec
ii  patch                         2.6.1-1    Apply a diff file to an original
ii  rsync                         3.0.7-2    fast remote file copy program (lik

Versions of packages git suggests:
pn  git-arch                     <none>      (no description available)
ii  git-cvs                      1:1.7.4.1-1 fast, scalable, distributed revisi
pn  git-daemon-run               <none>      (no description available)
ii  git-doc                      1:1.7.4.1-1 fast, scalable, distributed revisi
pn  git-email                    <none>      (no description available)
pn  git-gui                      <none>      (no description available)
ii  git-svn                      1:1.7.4.1-1 fast, scalable, distributed revisi
ii  gitk                         1:1.7.4.1-1 fast, scalable, distributed revisi
pn  gitweb                       <none>      (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to