git/list[1] front-page[2] threads[3] people[4] search[5] about
 

RE: [GIT PATCH] Makefile missing git-runstatus in PROGRAMS list

From
BDBhavesh Davda <bhavesh@vmware.com>
Date
Nov 15, 2006, 04:09 UTC
Message-ID
<FE74AC4E0A23124DA52B99F17F44159701A11D6A@PA-EXCH03.vmware.com>
Show 21 quoted lines
> > diff --git a/Makefile b/Makefile
> > index 36ce8cd..24a0dc7 100644
> > --- a/Makefile
> > +++ b/Makefile
> > @@ -202,7 +202,7 @@ PROGRAMS = \
> >  	git-upload-pack$X git-verify-pack$X \
> >  	git-pack-redundant$X git-var$X \
> >  	git-describe$X git-merge-tree$X git-imap-send$X \
> > -	git-merge-recursive$X \
> > +	git-merge-recursive$X git-runstatus$X \
> >  	$(EXTRA_PROGRAMS)
> >  
> >  # Empty...
> 
> This cannot be right.  There is builtin-runstatus.o defined as
> part of BUILTIN_OBJS so you already should have git-runstatus as
> a hardlink to other binaries such as git-add, git-apply
> etc. in the same directory as you have them.
> 
> I seem to have 55 hardlinks to that file under my ~/bin/.
> 

So I just blew away /usr/bin/git*, and removed my Makefile patch, and did another:

make prefix=/usr all (as myself)
and then
sudo make prefix=/usr install
I now *don't* have /usr/bin/git-runstatus.

And none of the files under /usr/bin/git* are hard links. There are in all 79 files beginning with /usr/bin/git*:

git git-am git-applymbox git-applypatch git-archimport git-bisect git-checkout git-cherry-pick git-clean git-clone git-commit git-convert-objects git-cvsexportcommit git-cvsimport git-cvsserver git-daemon git-describe git-fetch git-fetch-pack git-fsck-objects git-hash-object git-http-fetch git-http-push git-imap-send git-index-pack git-instaweb git-local-fetch git-lost-found git-ls-remote git-merge git-merge-base git-merge-index git-merge-octopus git-merge-one-file git-merge-ours git-merge-recur git-merge-recursive git-merge-recursive-old git-merge-resolve git-merge-stupid git-merge-tree git-mktag git-mktree git-pack-redundant git-parse-remote git-patch-id git-peek-remote git-pull git-quiltimport git-rebase git-receive-pack git-relink git-repack git-request-pull git-rerere git-reset git-resolve git-revert git-send-email git-send-pack git-sh-setup git-shell git-shortlog git-show-index git-ssh-fetch git-ssh-pull git-ssh-push git-ssh-upload git-status git-svn git-svnimport git-tag git-unpack-file git-update-server-info git-upload-pack git-var git-verify-pack git-verify-tag gitk

I haven't tried make -p yet, but can do that to see why git-runstatus isn't installed under /usr/bin

Thanks
Next: Junio C Hamano
Message 1 of 2 in “RE: [GIT PATCH] Makefile missing git-runstatus in PROGRAMS list”
  1. Bhavesh DavdaNov 15, 2006
  2. Junio C HamanoNov 15, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.