git commands that only work correctly at top directory
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Sep 22, 2006, 09:21 UTC
- Message-ID
- <fcaeb9bf0609220221w3a65af24u9db1da4e1be0d1eb@mail.gmail.com>
Here is the list (checks are done in with 1.4.2.rc4): count-objects (always 0 objects, 0 kilobytes) bisect (fatal: Not a git repository: '.git'. Bad HEAD - I need a symbolic ref) describe (fatal: Not a valid object name HEAD) repack (line 42: cd: .git/objects/pack: No such file or directory. And it creates a new .git directory in current directory) git format-patch in subdir generates files in topdir instead of current dir as documented in its man page
BTW, either git blame or git annotate should be available in git help's listing. git format-patch with no argument shows nothing. It should show help usage instead. I might miss some commands because I only tested commands I'm familiar with.
-- Duy