Path differences between git status & git status --porcelain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello;
we have noticed that the results displayed by git status & git status
--porcelain differ
in the path information shown. For instance, in one of our test repos:

"git status" output from a "<gitreporoot>/test" folder:

  Changes not staged for commit:
    (use "git add <file>..." to update what will be committed)
    (use "git checkout -- <file>..." to discard changes in working directory)

  modified:   ../src/api/db.py  <---- Notice the ".." correctly
displaying the relative path
       to the (modified) file

"git status --porcelain"  output from the same location:

    ....cutted stuff to keep things clean...
       M src/api/db.py   <---- Notice the missing ".." in front of the
(modified) file path.

Is this intentional/expected behaviour; and if not, we were wondering
if this is a known issue?

Best,
Tone Kastlunger
Giulietta SW



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux