[Bug 1451161] Re: clarify manpage of gitrevisions

Anders Kaseorg andersk at mit.edu
Sun May 3 11:03:16 UTC 2015


The manpage is very clear already, and I can’t figure out why it leads
you to expect ‘branch1@’ to mean anything.  “@ alone” means the opposite
of “@ along with a branch name”.  And there is only one HEAD (not a HEAD
associated with each branch): just a few sentences before, the same
manpage says “HEAD names the commit on which you based the changes in
the working tree”.

If you think you have a way to improve the wording somehow, read
Documentation/SubmittingPatches in the Git source tree.

** Changed in: git (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to git in Ubuntu.
https://bugs.launchpad.net/bugs/1451161

Title:
  clarify manpage of gitrevisions

Status in git package in Ubuntu:
  Invalid

Bug description:
  The sentence `@ alone is a shortcut for HEAD.` alone  is misleading
  because `git difftool branch1@ branch2@` fails with `fatal: ambiguous
  argument 'master@': unknown revision or path not in the working
  tree.`. After reading the sentence one would expect it to work.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: git 1:2.1.4-2.1
  Uname: Linux 4.0.1-040001-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sun May  3 12:33:08 2015
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2015-04-02 (30 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Beta amd64 (20150326)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: git
  SystemImageInfo:
   current build number: 0
   device name: 
   channel: daily
   last update: Unknown
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/git/+bug/1451161/+subscriptions



More information about the foundations-bugs mailing list