git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git commit fails under some circumstances
@ 2011-04-02 15:18 Laszlo Papp
  2011-04-02 19:16 ` Re* " Junio C Hamano
  0 siblings, 1 reply; 8+ messages in thread
From: Laszlo Papp @ 2011-04-02 15:18 UTC (permalink / raw)
  To: git

Hi,

There are 2 bugs and 1 wish in this case:
1) It says "Changes to be committed:", but they are actually not
committed, there cannot even be committed since they were not added
"properly". This output is bogus
2) error: Error building trees
---
3) It would be nice to have one command (with no (git) alias for sure)
to see the difference like "git diff" but also the new files.

Best Regards,
Laszlo Papp

========

root /home/djszapi/Projects/kde/attica/build #  git add -N
../lib/achievement.cpp ../lib/achievement.h
../lib/achievementparser.cpp ../lib/achievementparser.h
root /home/djszapi/Projects/kde/attica/build #  git status
# On branch master
# Changes to be committed:
#   (use "git reset HEAD <file>..." to unstage)
#
#       new file:   ../lib/achievement.cpp
#       new file:   ../lib/achievement.h
#       new file:   ../lib/achievementparser.cpp
#       new file:   ../lib/achievementparser.h
#
# Changes not staged for commit:
#   (use "git add <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#
#       modified:   ../lib/CMakeLists.txt
#       modified:   ../lib/achievement.cpp
#       modified:   ../lib/achievement.h
#       modified:   ../lib/achievementparser.cpp
#       modified:   ../lib/achievementparser.h
#       modified:   ../lib/listjob_inst.cpp
#       modified:   ../lib/provider.cpp
#       modified:   ../lib/provider.h
#       modified:   ../lib/providermanager.cpp
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#       ./
root /home/djszapi/Projects/kde/attica/build #  gc
lib/achievement.cpp: not added yet
lib/achievement.h: not added yet
lib/achievementparser.cpp: not added yet
lib/achievementparser.h: not added yet
error: Error building trees
root /home/djszapi/Projects/kde/attica/build #  alias gc
alias gc='git commit --author="Laszlo Papp <djszapi@archlinux.us>"'
root /home/djszapi/Projects/kde/attica/build

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

end of thread, other threads:[~2011-04-06 17:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-02 15:18 git commit fails under some circumstances Laszlo Papp
2011-04-02 19:16 ` Re* " Junio C Hamano
2011-04-05  8:14   ` Will Palmer
2011-04-05  8:18     ` Junio C Hamano
2011-04-05  8:23       ` Will Palmer
2011-04-05 17:36   ` Jeff King
2011-04-06 17:24     ` Junio C Hamano
2011-04-06 17:57       ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).