public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Status of a GIT repository
@ 2017-12-20 10:04 Helmut Jarausch
  2017-12-20 10:28 ` Vadim A. Misbakh-Soloviov
  0 siblings, 1 reply; 5+ messages in thread
From: Helmut Jarausch @ 2017-12-20 10:04 UTC (permalink / raw
  To: gentoo-user

Hi,
I have no experience with GIT.

I'd like to determine if a GIT repository in Gentoo is up-to-date.
Normally, a GIT folder has a '.git' subfolder. Using 'git status' in  
such a GIT folder works fine.

But the subfolders in /usr/portage/distfiles/git3-src don't contain a  
'.git' subfolder.
A plain 'git status' in such a subfolder doesn't work - I get "fatal:  
This operation must be run in a work tree".

Is there a means to determine the status of a Gentoo-GIT-folder?

Background: I'd like to check if anything has changed in the GIT  
repository before I run an 'emerge -u' for that.

Many thanks for a hint,
Helmut


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-12-20 16:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-20 10:04 [gentoo-user] Status of a GIT repository Helmut Jarausch
2017-12-20 10:28 ` Vadim A. Misbakh-Soloviov
2017-12-20 10:43   ` Marc Joliet
2017-12-20 11:23   ` Helmut Jarausch
2017-12-20 16:04   ` [gentoo-user] " Ian Zimmerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox