Mention right-clicking

This commit is contained in:
Sebastian Morr 2020-09-18 11:15:09 +02:00
parent cc54f33c78
commit 417d7f405a
4 changed files with 7 additions and 2 deletions

View file

@ -5,3 +5,5 @@ There's another way to add an entry to the index directly:
The first three numbers of the mode describe the type of the entry, "100" is a regular file.
The second three number describe the permissions. Only "644" (non-executable) and "755" (executable) are supported.
You can insert the hash of an object into the terminal by right-clicking on it! :)

View file

@ -2,4 +2,6 @@ As soon as you have some tree objects, you can always read them and set the inde
git read-tree <tree>
For <tree>, you can provide the hash of any tree object - you can right-click one to insert its hash into the terminal!
Try reading some of the trees in this repository into the index!

View file

@ -140,7 +140,7 @@ margin_bottom = 605.0
custom_fonts/normal_font = ExtResource( 5 )
bbcode_enabled = true
bbcode_text = "Level description here!"
text = "Level congrats here!"
text = "Level description here!"
__meta__ = {
"_edit_use_anchors_": false
}

View file

@ -26,13 +26,14 @@ func _input(event):
$Nodes.rect_scale += Vector2(0.05, 0.05)
func update_everything():
$Index.text = ""
if shell.run("test -d .git && echo yes || echo no") == "yes\n":
update_head()
update_refs()
update_index()
update_objects()
remove_gone_stuff()
else:
$Index.text = ""
func set_path(new_path):
path = new_path