Package: git-core
Version: 1:1.5.4.3-1
# for big repos or at initial imports this can be very counter-productive
Severity: important
Tags: upstream

--- Please enter the report below this line. ---

There are very frequent scenarios when is desirable to limit the status command just to a directory or a set of files in the repo.

I would have expected that "git status ." to show me only the status for the files under the current directory under any circumstances, not the whole repo with filenames relative to the current directory. What is the purpose of such behaviour?


e.g.:

0 [EMAIL PROTECTED] ~/usr/src/wormux/git-full/po $ git status .
# On branch master
# Changes to be committed:
#   (use "git reset HEAD <file>..." to unstage)
#
#       modified:   Makefile.am
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#       ../.snprj/
#       ../Makefile
#       ../Makefile.in
#       ../aclocal.m4
#       ../autom4te.cache/
#       ../config.log
#       ../config.rpath
#       ../config.status
#       ../configure
#       ../data/Makefile
#       ../data/Makefile.in
#       ../doc/Makefile
#       ../doc/Makefile.in
#       ../en.po
#       Makefile
#       Makefile.in
#       wormux.pot
#       ../sn.proj
#       ../src/.deps/
#       ../src/Makefile
#       ../src/Makefile.in
#       ../src/config.h
#       ../src/config.h.in
#       ../src/stamp-h1
#       ../src/wormux


Thanks a lot for hiding useful information under seas of references to files in others directories than the ones under my current position!

I would have expected an output like:

# On branch master (search limit '.')
# Changes to be committed:
#   (use "git reset HEAD <file>..." to unstage)
#
#       modified:   Makefile.am
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#       Makefile
#       Makefile.in
#       wormux.pot


Which would have been meaningful and useful.


--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.24.2-bounty

Debian Release: lenny/sid
  900 testing         snapshot.debian.net
  900 testing         security.debian.org
  900 testing         ftp.ro.debian.org
   10 unstable        ftp.ro.debian.org

--- Package information. ---
Depends                     (Version) | Installed
=====================================-+-==============
cpio                                  | 2.9-11
libc6                      (>= 2.7-1) | 2.7-6
libcurl3-gnutls         (>= 7.16.2-1) | 7.18.0-1
libdigest-sha1-perl                   | 2.11-2
liberror-perl                         | 0.17-1
libexpat1                 (>= 1.95.8) | 1.95.8-4
perl-modules                          | 5.8.8-12
zlib1g                   (>= 1:1.2.0) | 1:1.2.3.3.dfsg-11


--
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to