'git stash push -- {dir}' puts files in stash that are outside of {dir}

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

 



I am in the FreeBSD ports repository.

I run this command:

$ git stash push -m "gh-print-tuple" -- Mk

But then 'git show' shows that the top stash entry also has other files:

$ git stash show -p stash@{0} | grep diff
diff --git a/Mk/Scripts/print-submodule-gh_tuple.awk b/Mk/Scripts/print-submodule-gh_tuple.awk diff --git a/Mk/Scripts/print-submodule-gh_tuple.sh b/Mk/Scripts/print-submodule-gh_tuple.sh
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk
diff --git a/audio/triceratops-lv2/files/patch-synth.cpp b/audio/triceratops-lv2/files/patch-synth.cpp
diff --git a/cad/scotch/distinfo b/cad/scotch/distinfo
diff --git a/cad/scotch/files/patch-Make.inc_Makefile.inc.i686__pc__freebsd b/cad/scotch/files/patch-Make.inc_Makefile.inc.i686__pc__freebsd diff --git a/cad/scotch/files/patch-Make.inc_Makefile.inc.x86-64__pc__freebsd b/cad/scotch/files/patch-Make.inc_Makefile.inc.x86-64__pc__freebsd
diff --git a/x11/darktile/Makefile b/x11/darktile/Makefile
diff --git a/x11/darktile/distinfo b/x11/darktile/distinfo
diff --git a/x11/darktile/files/patch-vendor_github.com_kr_pty_ztypes__freebsd__arm64.go b/x11/darktile/files/patch-vendor_github.com_kr_pty_ztypes__freebsd__arm64.go diff --git a/x11/darktile/files/patch-vendor_github.com_riywo_loginshell_loginshell.go b/x11/darktile/files/patch-vendor_github.com_riywo_loginshell_loginshell.go
diff --git a/x11/darktile/pkg-descr b/x11/darktile/pkg-descr


Why do files that are not under Mk get into stash?



Thanks,

Yuri





[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